-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Changing “Application font size” causes “Document font size” to be ignored #1862
Comments
I cannot reproduce this from source. I'm guessing it is font-related maybe? What font are you using? |
On a fresh install (aka no |
Tested again with 2.4.1 on both Ubuntu 22.04 and 24.04, and still can't reproduce the problem. I noticed that the heading font doesn't rescale when changing size (until the app is restarted), so I'll fix that at least. Edit: Added issue #1865 |
Ok, so ...
So, it could very well be an issue with Qt 5.15.6 maybe. I did make a change in 2.4.1 to only set the document default font for the editor and viewer, instead of the whole panel's font (see #1842) so maybe that triggered a bug in 5.15.6. On which OS version did you encounter 5.15.6? |
This is Linux Mint Cinnamon 21.3, based on Ubuntu jammy, here is the pyqt package information. Edit: To be clear, the actual Qt5 package is 5.15.3 as you mentioned. But the PyQT version is 5.15.6. |
It's the Qt5 version that generally matters. PyQt5 is just a Python wrapper. But since I cannot reproduce the problem, it's really hard to debug. I'm guessing it's a Qt issue since none of this is actually handled by novelWriter. The setting is just forwarded to Qt. I guess the only thing I can try is to spin up a new VM ... |
I've set up a Mint 21.3 VM, and can reproduce the error there, as well as #1875. I'm pretty sure what change it's related to, and I'm also pretty sure there is a Qt bug behind it, but I'll figure out a workaround. |
Not claiming cause and effect here, but I have reproduced this behaviour, on v2.4.1 fresh configuration and running from source:
This does NOT reproduce when running the v2.4.1 AppImage. Font sizes are displayed as expected.
Is this maybe another old uncool PyQt version thing? I'm on 5.15.6
The text was updated successfully, but these errors were encountered: