| Summary: | Honor system font scaling setting | ||
|---|---|---|---|
| Product: | [Developer tools] Qt/KDE Flatpak Runtime | Reporter: | Iiro Laiho <ilaiho> |
| Component: | general | Assignee: | Aleix Pol <aleixpol> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | jgrulich, kde |
| Priority: | NOR | Keywords: | accessibility |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Iiro Laiho
2019-05-03 20:09:53 UTC
This will need some investigation because for me it works fine on Plasma+Wayland. What does tweak tool actually set? Can you make sure you have org.kde.PlatformTheme.QGnomePlatform installed? It could make sense to have this issue tracked in there https://github.com/flathub/org.kde.PlatformTheme.QGnomePlatform (In reply to Aleix Pol from comment #3) > Can you make sure you have org.kde.PlatformTheme.QGnomePlatform installed? > > It could make sense to have this issue tracked in there > https://github.com/flathub/org.kde.PlatformTheme.QGnomePlatform $ flatpak list | grep QGnomePlatform org.kde.PlatformTheme.QGnomePlatform/x86_64/5.12 system,runtime I installed it manually when investigating this issue, but it didn't have any visible effect. (In reply to David Edmundson from comment #2) > What does tweak tool actually set? Gnome internally stores it as "org.gnome.desktop.interface text-scaling-factor" in gsettings. It also influences the Xft.dpi Xresource. $ gsettings get org.gnome.desktop.interface text-scaling-factor 1.3999999999999999 $ xrdb -query | grep dpi Xft.dpi: 134.3994140625 It looks it depends on the value you set to font-scaling, if I use 1.4, then it doesn't work, but if I use 1.5 then it scales. There is some logic apparently in Qt doing this work based on DPI. We used to do scaling in QGnomePlatform, but it was removed because of this Qt behavior. It looks it wasn't a good decision to drop it completely and we will need to just implement it properly. See: https://github.com/FedoraQt/QGnomePlatform/commit/687c74e175d1acc84de075f8f13180d78ef8391e Please open a bug for QGnomePlatform as this has nothing to do with KDE. Just for the record, I have same behavior for non-flatpak Qt/KDE apps. |