[Bug 1203792] New: chessx QT app scaling is wrong on Gnome + X11 + hidpi (4k) (fix to upstream included)
http://bugzilla.opensuse.org/show_bug.cgi?id=1203792 Bug ID: 1203792 Summary: chessx QT app scaling is wrong on Gnome + X11 + hidpi (4k) (fix to upstream included) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: c.j@tuta.io QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- THEPROBLEM: With Gnome font scaling at 150% on X11, the chessx fonts are too big. THE FIX: 1.Use env variable:
QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough
At the app level, the PassThrough option may be set using `setHighDpiScaleFactorRoundingPolicy()`, see <https://doc.qt.io/qt-5/qguiapplication.html#setHighDpiScaleFactorRoundingPolicy>. This should be upstreamed. As explained here by Atri Bhattacharya : https://bugzilla.opensuse.org/show_bug.cgi?id=1202837#c12 and: https://bugzilla.opensuse.org/show_bug.cgi?id=1202837#c14 Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1203792 http://bugzilla.opensuse.org/show_bug.cgi?id=1203792#c10 Atri Bhattacharya <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from Atri Bhattacharya <badshah400@gmail.com> --- (In reply to C J from comment #9)
(In reply to Atri Bhattacharya from comment #8)
Thanks !
But I see VLC has the same problem. And I'm pretty sure clementine, strawberry, etc... (every qt5 app that isn't built with something special like lazarus/pascal).
Instead of patching every qt5 app one by one, don't you think it would be better to make qt5 use the same defaults as qt6?
So why not :
1. Ask qt5 upstream to set the same default as qt6.
2. If they don't, then patch qt5 in opensuse ?
This would be much less work that fixing all the apps, and then the patches break with updates so they need to be edited again everytime, etc...
You are free to try any or all of the above. I rarely, if at all, use Qt apps myself, and am already, as it were, hard pressed for time. At this point, I consider this bug closed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com