Annotation styles do not apply some settings

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
zecoj
Posts: 1
Joined: Sun Nov 06, 2022 2:34 am
Contact:

Annotation styles do not apply some settings

Post by zecoj »

Hi, hoping to check if this is happening to me only...

When apply the saved Annotation Style, some settings are not correctly applied. I have tried creating new style, deleting, renaming but does not seem to affect.

- Dimension Overshoot
- Extension Lines
- Extension Overshoot
annotation.png
annotation.png (154.87 KiB) Viewed 990 times
chrisb
Veteran
Posts: 54280
Joined: Tue Mar 17, 2015 9:14 am

Re: Annotation styles do not apply some settings

Post by chrisb »

Hi and welcome to the forum!

For such GUI posts it is always sensible to attach your full FreeCAD info as described in the IMPORTANT forum rules linked above.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Roy_043
Veteran
Posts: 8576
Joined: Thu Dec 27, 2018 12:28 pm

Re: Annotation styles do not apply some settings

Post by Roy_043 »

Confirmed. It is a long-standing bug. There are (at least) two issues with the code AFAICT. Some properties are simply misspelled (e.g. "DimensionOvershoot" in the code should be "DimOvershoot") and the color value is not stored in the correct format.

I'll see if I can fix this.

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.21.30858 (Git)
Build type: Release
Branch: master
Hash: 7a5019b2625a148acb23fb915df48ffa69636fe9
Python 3.8.13, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: Dutch/Netherlands (nl_NL)
Installed mods: 
User avatar
Roy_043
Veteran
Posts: 8576
Joined: Thu Dec 27, 2018 12:28 pm

Re: Annotation styles do not apply some settings

Post by Roy_043 »

@zecoj Another issue I encounter:
  1. Open the Draft_AnnotationStyleEditor.
  2. Select an existing style.
  3. Change the Font name.
  4. Press OK.
  5. Reopen the Draft_AnnotationStyleEditor.
  6. Result: the selected Font Name has not been saved.
Do you experience the same?
User avatar
Roy_043
Veteran
Posts: 8576
Joined: Thu Dec 27, 2018 12:28 pm

Re: Annotation styles do not apply some settings

Post by Roy_043 »

Post Reply