View Issue Details

IDProjectCategoryView StatusLast Update
0003999FreeCADBugpublic2021-02-06 06:50
Reporterifohancroft Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSFedoraOS Version29
Product Version0.18 
Target Version0.20 
Summary0003999: Toolbars get disabled on file open if 'Close & switch on opening file' is enabled
DescriptionSummary:

If you set FreeCAD's option 'Switch workbench after loading' to 'Part Design' and enable the option 'Close & switch on opening file', when you open a FreeCAD project file by double clicking on the file, when FreeCAD starts, the toolbars 'File, 'Workbench', 'Macro', 'View', 'Structure' and 'Navigation' wil be disabled.

You can see the toolbars for a second when FreeCAD starts and then dissapear (the whole second row of toolbars and those that are on the first row, dissapear as well. Tested with more than one FreeCAD project file.

System info:
Fedora 29 64 bit with XFCE as a desktop environment
uname -a output: Linux localhost.localdomain 5.0.17-200.fc29.x86_64 #1 SMP Mon May 20 15:39:10 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Steps To Reproduce0. Backup your FreeCAD config files to not lose your current configuration
1. Open FreeCAD
2. Go to Edit -> Preferences -> Start
3. Change 'Switch workbench after loading' from 'Start' to 'Part Design' (haven't tested if selecting a workbench different than 'Part Design' makes a difference
4. Enable the option 'Close & switch on opening file' (this is irregardless of whether the option 'Close start page after loading' is enabled or not)
5. Hit ok (or apply and ok, it doesn't matter)
6. Close FreeCAD
7. Find a FreeCAD project file in your files using your file manager and double click it (or I guess single click if you have set your file manager to use single click for file opening)
8. You will see the toolbars in question for a second and then you will see them dissapear. (Now, since the Navigation toolbar isn't usually present/enabled in Part Design anyway, you can verify that it also dissapears as well as you first check the Start workbench and see it is enabled there, if after you reproduce the bug you go to Start again, you will see it is also one of the disabled toolbars)
9. To reproduce the bug again or to reset FreeCAD's enabled toolbars, delete everything in both $HOME/.FreeCAD and $HOME/.config/FreeCAD (haven't tested which config files keeps the toolbars options and the Start options) Keep in mind that deleting those files will reset every FreeCAD setting for your user.
Additional InformationOS: "Fedora release 29 (Twenty Nine)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.Unknown (0.18.2 according to the Fedora repo package info)
Build type: Unknown
Python version: 3.7.3
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1.oce-0.18
Locale: English/UnitedStates (en_US)
(It was installed from the Fedora repo via DNF)
Tagsfile, options, preferences, start, toolbar, UI, workbench
FreeCAD Information

Activities

Kunda1

2019-06-02 12:33

administrator   ~0013136

Thank you for the ticket. Some orientation on how to use our bugtracker: read the giant yellow banner at the top of the page. We ask you to open a forum thread first to discuss your issue on the forum before opening a ticket. Many issues are solved this way. Also please do not create tags if they don't exist.

Now please create a forum thread and cross link ticket<->thread so we can track this issue's progress. Thank you for your comprehension.

FYI, you are using an out of date version of 0.18 that isn't py3/qt5 and has obsolete dependencies.

ifohancroft

2019-06-03 01:18

reporter   ~0013141

Last edited: 2019-06-03 07:03

I am sorry. I did read the How to submit bugs but thought making a post is only required for feature requests.
I had a checkmark on 'Existing tags' so I thought that it wouldn't let me set a tag if it doesn't exist. I will create a thread as soon as I get on my pc.
The version is the latest from the Fedora repo and it was in-fact updated the other day but I am after all one Fedora version behind. I will look into building FreeCAD from source.
Forum post
P.S. Bug still present in FreeCAD 0.19 compiled from git following the out of source build compile guide in CompileOnUnix

OS: "Fedora release 29 (Twenty Nine)" (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16886 (Git)
Build type: Unknown
Branch: master
Hash: ed47e962d2c821bf1792889f6d7bdf457dcf6c9e
Python version: 2.7.15
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1.oce-0.18
Locale: English/UnitedStates (en_US)

P.P.S. In the ticket description, where I've written 'Test with more than one FreeCAD project file.' it should be 'Tested with more than one FreeCAD project file.'

Kunda1

2019-06-17 06:12

administrator   ~0013227

@ifohancroft so is this still an issue because you were using python2 instead of py3 ?

ifohancroft

2019-06-18 17:05

reporter   ~0013256

@Kunda1 Yes. It is still a problem, even with the Appimage:

OS: Fedora 29 (Twenty Nine)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.18.2)
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

yorik

2022-03-03 13:55

administrator   ~0016775

This ticket has been migrated to GitHub as issue 5941.

Issue History

Date Modified Username Field Change
2019-06-02 03:23 ifohancroft New Issue
2019-06-02 03:23 ifohancroft Tag Attached: UI
2019-06-02 03:23 ifohancroft Tag Attached: toolbar
2019-06-02 03:23 ifohancroft Tag Attached: toolbars
2019-06-02 03:23 ifohancroft Tag Attached: start
2019-06-02 03:23 ifohancroft Tag Attached: workbench
2019-06-02 03:23 ifohancroft Tag Attached: workbenches
2019-06-02 03:24 ifohancroft Tag Attached: file
2019-06-02 03:35 ifohancroft Tag Attached: options
2019-06-02 03:35 ifohancroft Tag Attached: preferences
2019-06-02 12:27 Kunda1 Tag Detached: workbenches
2019-06-02 12:28 Kunda1 Tag Detached: toolbars
2019-06-02 12:33 Kunda1 Note Added: 0013136
2019-06-02 12:33 Kunda1 Assigned To => Kunda1
2019-06-02 12:33 Kunda1 Status new => feedback
2019-06-02 12:33 Kunda1 Additional Information Updated
2019-06-02 12:34 Kunda1 Additional Information Updated
2019-06-02 12:35 Kunda1 Additional Information Updated
2019-06-03 01:18 ifohancroft Note Added: 0013141
2019-06-03 01:18 ifohancroft Status feedback => assigned
2019-06-03 06:49 ifohancroft Note Edited: 0013141
2019-06-03 07:03 ifohancroft Note Edited: 0013141
2019-06-03 12:00 wmayer Status assigned => confirmed
2019-06-17 06:11 Kunda1 Description Updated
2019-06-17 06:12 Kunda1 Assigned To Kunda1 =>
2019-06-17 06:12 Kunda1 Status confirmed => feedback
2019-06-17 06:12 Kunda1 Note Added: 0013227
2019-06-17 08:02 ifohancroft Status feedback => new
2019-06-18 17:05 ifohancroft Note Added: 0013256
2021-02-06 06:50 abdullah Target Version => 0.20