realthunder / FreeCAD

Link branch FreeCAD
Other
763 stars 45 forks source link

"Size of toolbar icons" setting doesn't work #947

Closed ftdt10 closed 6 months ago

ftdt10 commented 7 months ago

Is there an existing issue for this?

Version

0.21 (Development)

Full version info

OS: Ubuntu Core 22 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 2024.124.0.38947 (Git) Snap 127
Build type: Release
Branch: tag: 20240123stable
Hash: 0c0f69ad4806682096b51f7669d5f1cb83f9c7d7
Python 3.10.12, Qt 5.15.10, Coin 4.0.1rt, Vtk 7.1.1, OCC 7.7.1
Locale: English/United States (en_US)

Subproject(s) affected?

None

Problem description

The "Size of toolbar icons" setting at Preferences-general doesn't work properly in the following case.

Steps to reproduce

  1. Change icons size value by menu-Tools-EditParameter-BaseApp-Preferences-General-ToolbarIconSize
  2. Switch between workbenches, then the Icons size is not same as the setting value.

Anything else?

No response

Code of Conduct

realthunder commented 6 months ago

2. Switch between workbenches, then the Icons size is not same as the setting value.

Could you please provide a screencast for this behavior? I can't reproduce it.

ftdt10 commented 6 months ago

Other steps to reproduce it.

  1. run the FreeCAD
  2. change workbench to Assembly3, for example
  3. set "Size of toolbar icons" to 'Small(16px)' by menu-Edit-Preferences-General, then click OK button
  4. set ToolbarIconSize to 11 by menu-Tools-EditParameter-BaseApp-Preferences-General, then Close the dialog
  5. go to again Menu-Edit-Preferences-General-"Size of toolbar icons", and change between 'Small(16px)' and 'Custom(11px)' several times then, see the icons at top toolbars. The size of icons in each toolbar section is irregular.