[Bug#4342] 0.19pre grouped buttons conflict in customized toolbar

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

[Bug#4342] 0.19pre grouped buttons conflict in customized toolbar

Post by fc_tofu »

version: FreeCAD_0.19.19358_x64_Conda_Py3QT5-WinVS2015
OS: Win10 x64

My first time to use toolbar customize funtion. I dupliated PartWB toolbars into DraftWB.
Before restarting FreeCAD, everything works ok.
But after restarting FreeCAD, grouped buttons dont display name and dont work when pressed, on both DraftWB and PartWB sides.

Reproduce:
1. Restart FreeCAD, and switch to DraftWB.
2. menu >Tools >Customize >Toolbars.
3. on right pane, add a toolbar named "Draft Custom" (for example).
4. on left pane, find "Part >Compound Tools" (this is a tool group).
5. add "Compound Tools" to "Draft Custom".
6. Close "Customize" and restart FreeCAD.
7. Obsever "Compound Tools" on DraftWB and PartWB toolbars.

Before customize:
Image

Customize:
Image

After customize:
Image
Image

Tracker (20200515 submitted)
issue #4342
Last edited by fc_tofu on Thu May 14, 2020 8:02 pm, edited 9 times in total.
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

Re: 0.19pre grouped buttons conflict in customized toolbar

Post by fc_tofu »

It seems Pasteboard doesnot support external ref. And I turn to Imgur.
Last edited by fc_tofu on Mon Jan 27, 2020 1:56 pm, edited 2 times in total.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: 0.19pre grouped buttons conflict in customized toolbar

Post by chrisb »

You can attach images directly to a post. That makes it much easier to compare the before/after states.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

Re: 0.19pre grouped buttons conflict in customized toolbar

Post by fc_tofu »

chrisb wrote: Mon Jan 27, 2020 12:38 pm You can attach images directly to a post. That makes it much easier to compare the before/after states.
Thanks, I got it.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: 0.19pre grouped buttons conflict in customized toolbar

Post by DeepSOIC »

hmm, that's odd...
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

Re: 0.19pre grouped buttons conflict in customized toolbar

Post by fc_tofu »

Bug still in latest build.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20943 (Git)
Build type: Release
Branch: master
Hash: ceb23799c76df3ebfa7be4b9fe83bb62de60bc6c
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Chinese/China (zh_CN)
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

Re: [Bug#4342] 0.19pre grouped buttons conflict in customized toolbar

Post by fc_tofu »

Furter tests.
3 button-groups is related to this bug, all from PartWB. They are:
Compound tools, Join objects, Split objects.

Other button-groups are not affected, such as:
DraftWB >Arch tools/Bezier tools/Array tools
PartWB >Offset
PartDesignWB >Create additive/Create subtractive

When related button-group is customized to DraftWB and TechDraw, button conflict issue appear.
This bug happen to latest 0.19pre build and 0.18.4/Win10x64.
Some workbenches seem not affected by this bug. But here need more tests to prove that.
To see the behavior of button confilct, restart of FC is must.

Attachment is my "user.cfg", made in a newly installed 0.19pre. Only changes are above mentioned button-groups customized to DraftWB/PartWB/PartDesign/TechDraw.

Code: Select all

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21097 (Git)
Build type: Release
Branch: master
Hash: a5ab09aa0941cc945e59848897b160f8cbfc0831
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Chinese/China (zh_CN)
Attachments
user.zip
(6.19 KiB) Downloaded 86 times
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Bug#4342] 0.19pre grouped buttons conflict in customized toolbar

Post by Kunda1 »

Bumping for testers (See issue #6062)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply