-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something strange in [fonts] section in config #1895
Comments
have you manually edited config.cfg or only via the preferences dialog? If you close cherrytree, remove the line |
Ok! I've catched it! I have opened a large base in CherryTree by several hours, while playing with a RAM-eating software (VirtualBox). The fun thing is the name of the font that I set last (Fira Sans), and name of the font that CherryTree appends (default - Sans). So, for now:
|
Looks like an issue with the library but still I could sanitise/double check the fonts strings either at writing time or at reading time. |
Yes, it always append to setted-up font (like Fira Sans or other) value of default font ", Sans " several times. And yes, it could append this even than default font is setted. I think there is a memory leak in CherryTree, that manifest itself after hours of opened large base. Because it starts noticeably to lag in interface and edit. And can crash with this error screen. And after that CherryTree doesn't have time to write some log. Only this window, and crash&close. |
I'm confused, if you are on Windows, how could Ubuntu Mono come out in the font list? |
Because Windows has ability to add external fonts (ttf/otf) in system too. |
Catched this in logs, while problem persist. And after CherryTree crashes on closing.
Also I noticed, that font resets in GUI settings. And after I change it to "Fira Sans Normal" in GUI, it's resets to "nothing" again. Windows 10, LTSB 2016. |
And this bug:
|
fixed in upcoming 0.99.55 |
Windows, v.0.99.44 (but bug starts earlier)
There is something wrong in [fonts] section in config.cfg. A rt_font parameter starts dupping by adding "Sans, Sans, Sans, Sans, Sans, Sans," values in it.
Here is screenshot:
Also, if you set another font, like "Fira Sans", it dupes like "Fira Sans, Sans, Sans, Sans, Sans, Sans, 14".
This behavior may explain some lags when opening branch, if you're using non-default fonts in Windows version of CherryTree.
The text was updated successfully, but these errors were encountered: