Draft style: something wong with defaults?

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Draft style: something wong with defaults?

Post by Roy_043 »

If I restart FC after deleting user.cfg the Draft Tray shows a text size of 0.20mm (which is tiny).

I click the style button, the Style settings task panel opens, and the Text size (Tekstgrootte) is 10.0 mm instead of 0.20mm.

I press Cancel.

A Draft_Text created at this point has a Font Size of 0.20mm.

In the Preferences I change the language to from Dutch to English.

Again I click the style button in the Draft Tray. The text size now is 0.20mm. And several other settings have also changed, namely: Text spacing, Arrow size and Text font. Notice that the size settings are not scaled by the same factor.

I do not understand this.

Code: Select all

OS: Windows 8.1 (6.3)
Word size of FreeCAD: 64-bit
Version: 0.20.25220 (Git)
Build type: Release
Branch: master
Hash: 46282db7c8c65d1205a4cd03499d4beadb1573c6
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Dutch/Netherlands (nl_NL)
Attachments
style-settings-default.png
style-settings-default.png (44.13 KiB) Viewed 2278 times
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Draft style: something wong with defaults?

Post by thomas-neemann »

Roy_043 wrote: Fri Jul 23, 2021 1:21 pm
I can confirm these effects. there are still more of them. e.g. the default working level in draft. it is faded in automatically, but is actually at the top.
if you open the settings once, click on apply and restart everything is ok.
At the moment it is probably the case that the freecad only works well after installation, after the settings are changed for the first time and restarted.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Draft style: something wong with defaults?

Post by Roy_043 »

thomas-neemann wrote: Fri Jul 23, 2021 6:19 pm I can confirm these effects
Have you tested the issue in my post, or are you only speaking more generally here?
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Draft style: something wong with defaults?

Post by thomas-neemann »

Roy_043 wrote: Fri Jul 23, 2021 6:50 pm
I can confirm that after clicking the style button and then ok, 10 mm is then active. even after restart.
why do you press cancel?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Draft style: something wong with defaults?

Post by Roy_043 »

thomas-neemann wrote: Fri Jul 23, 2021 7:45 pm why do you press cancel?
To demonstrate that changing the language has an impact on the defaults.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Draft style: something wong with defaults?

Post by Roy_043 »

Side note: The S,S shortcut of the Draft_SetStyle command is already used by Draft_ShapeString.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Draft style: something wong with defaults?

Post by Roy_043 »

Roy_043 wrote: Wed Jul 28, 2021 12:24 pm Side note: The S,S shortcut of the Draft_SetStyle command is already used by Draft_ShapeString.
This has been fixed.
https://github.com/FreeCAD/FreeCAD/pull/5179
Post Reply