Hi,
I changed the Font in the Annotation styles and closed the window. Then open it again, the font is always 'MS Shell Dlg 2'.
Regards,
John
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21937 (Git)
Build type: Release
Branch: master
Hash: 0de5a290113800dc5779a76d7e216bd882e0ed1e
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
Draft: Can't remember the Font change of Annotation styles
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Draft: Can't remember the Font change of Annotation styles
Select 'Add new...' from the Style name dropdown list and enter a name for the style first.
Re: Draft: Can't remember the Font change of Annotation styles
When you restart FC, the new style is lost.
And every time you enter that windows, It always choose the unnamed style. Not the one you chose last time.
Re: Draft: Can't remember the Font change of Annotation styles
AFAIK the data is stored in the document. I also notice things that seem strange, but I'll have to study this feature better first.
Re: Draft: Can't remember the Font change of Annotation styles
The message show 'unset', quite strange.
Re: Draft: Can't remember the Font change of Annotation styles
Yes I have noticed that as well.
When you apply an AnnotationStyle to a Draft_Text there is an error:
File "D:\BKG_Tmp\FreeCAD_0.19_Last_Conda\Mod\Draft\draftviewproviders\view_text.py", line 177, in onChanged
super(ViewProviderText, self).onChanged(vobj, prop)
<class 'SystemError'>: <class 'super'> returned a result with an error set
And if you then change the AnnotationStyle there is another (the same?) error and the Draft_Text loses its anno style.
File "D:\BKG_Tmp\FreeCAD_0.19_Last_Conda\Mod\Draft\draftviewproviders\view_text.py", line 177, in onChanged
super(ViewProviderText, self).onChanged(vobj, prop)
<class 'SystemError'>: <class 'super'> returned a result with an error set
When you apply an AnnotationStyle to a Draft_Text there is an error:
File "D:\BKG_Tmp\FreeCAD_0.19_Last_Conda\Mod\Draft\draftviewproviders\view_text.py", line 177, in onChanged
super(ViewProviderText, self).onChanged(vobj, prop)
<class 'SystemError'>: <class 'super'> returned a result with an error set
And if you then change the AnnotationStyle there is another (the same?) error and the Draft_Text loses its anno style.
File "D:\BKG_Tmp\FreeCAD_0.19_Last_Conda\Mod\Draft\draftviewproviders\view_text.py", line 177, in onChanged
super(ViewProviderText, self).onChanged(vobj, prop)
<class 'SystemError'>: <class 'super'> returned a result with an error set
Code: Select all
OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23074 (Git)
Build type: Release
Branch: master
Hash: 74b866ed3022fd1452c534dae31a721bcc668f2f
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Dutch/Netherlands (nl_NL)
Re: Draft: Can't remember the Font change of Annotation styles
Indeed Annotation styles are saved by document. We should actually offer a kind of "save/restore" mechanism...
Will check on the error above too
Will check on the error above too