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

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

fc_tofu
Posts: 482
Joined: Sun Jan 05, 2020 4:56 pm

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

Postby fc_tofu » Mon Jan 27, 2020 10:27 am

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: 482
Joined: Sun Jan 05, 2020 4:56 pm

Re: 0.19pre grouped buttons conflict in customized toolbar

Postby fc_tofu » Mon Jan 27, 2020 10:29 am

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
Posts: 24284
Joined: Tue Mar 17, 2015 9:14 am

Re: 0.19pre grouped buttons conflict in customized toolbar

Postby chrisb » 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.
fc_tofu
Posts: 482
Joined: Sun Jan 05, 2020 4:56 pm

Re: 0.19pre grouped buttons conflict in customized toolbar

Postby fc_tofu » Mon Jan 27, 2020 1:22 pm

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
Posts: 7600
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: 0.19pre grouped buttons conflict in customized toolbar

Postby DeepSOIC » Mon Jan 27, 2020 1:38 pm

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

Re: 0.19pre grouped buttons conflict in customized toolbar

Postby fc_tofu » Wed May 13, 2020 5:19 pm

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: 482
Joined: Sun Jan 05, 2020 4:56 pm

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

Postby fc_tofu » Fri May 22, 2020 2:52 pm

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 1 time