ScreenScaleFactors is a list of scales per output. We want to read the ScaleFactor number for GTK instead.
Also, floor the number so that when you use e.g. 2.5x scaling you still get some scaling out of GTK apps still.
Details
Details
- Reviewers
apol - Group Reviewers
Plasma - Commits
- R120:1337ae5e0dbb: [startplamsa-x11] Fix GTK scaling
Logged in, my GTK apps were scaled properly again.
Changed scale factor to 2.4. Qt apps were bigger and GTK apps were still large. Since the font DPI is also scaled fractionally, GTK apps still looks virtually the same size despite only scaling 2x.
Changed scale factor to 1.9. Qt apps were big, GTK apps were smaller as they didn't scale.
(I can revert/split out that flooring change if you want but the rest is a genuine bugfix)
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.