Summary: | Xft.dpi should not be overridden when XWayland applications are configured to scale by themselves and forceFontDPIWayland is not set | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | einbert-xeride |
Component: | Startup process | Assignee: | Nate Graham <nate> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | kde, luca.bacci, nate |
Priority: | NOR | Keywords: | wayland |
Version: | 5.26.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kde-gtk-config/commit/d2a84a92ca563b94fdfbea9d8edb8eb5955bccf0 | Version Fixed In: | 5.27.4 |
Description
einbert-xeride
2022-10-28 10:06:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2299 Luca, is this fixed now? Hi Nate! Yes, should be fixed by https://invent.kde.org/plasma/kde-gtk-config/-/merge_requests/63. Would be great to get it in for KDE 5.27.3 ;) Cool, will review today. Thanks a lot for your work on this stuff! It's much appreciated. Git commit 1b66b4b5fd6ccc8b5b938fcaaed78639360dfc47 by Fushan Wen, on behalf of Luca Bacci. Committed on 17/03/2023 at 16:51. Pushed by fusionfuture into branch 'master'. Beside monitor scaling factors, a user may specify a preferred text DPI size from the system configuration utility (KCM fonts) That setting is stored inside the kcmfonts configuration file; one entry is kept for Plasma/X11 sessions, "forceFontDPI", and another for Plasma/Wayland sessions, "forceFontDPIWayland". Here we make kde-gtk-config read such entries (depending on the Plasma session type) and then set the GTK text scaling settings accordingly. Fixes #3 Related: bug 466463 FIXED-IN: 5.27.4 M +2 -0 kded/config_editor/gsettings.cpp M +9 -1 kded/config_editor/xsettings.cpp M +1 -0 kded/config_editor/xsettings.h M +23 -0 kded/configvalueprovider.cpp M +5 -0 kded/configvalueprovider.h M +37 -12 kded/gtkconfig.cpp M +2 -0 kded/gtkconfig.h https://invent.kde.org/plasma/kde-gtk-config/commit/1b66b4b5fd6ccc8b5b938fcaaed78639360dfc47 Git commit d2a84a92ca563b94fdfbea9d8edb8eb5955bccf0 by Fushan Wen, on behalf of Luca Bacci. Committed on 17/03/2023 at 17:04. Pushed by fusionfuture into branch 'Plasma/5.27'. Beside monitor scaling factors, a user may specify a preferred text DPI size from the system configuration utility (KCM fonts) That setting is stored inside the kcmfonts configuration file; one entry is kept for Plasma/X11 sessions, "forceFontDPI", and another for Plasma/Wayland sessions, "forceFontDPIWayland". Here we make kde-gtk-config read such entries (depending on the Plasma session type) and then set the GTK text scaling settings accordingly. Fixes #3 Related: bug 466463 FIXED-IN: 5.27.4 (cherry picked from commit 1b66b4b5fd6ccc8b5b938fcaaed78639360dfc47) M +2 -0 kded/config_editor/gsettings.cpp M +9 -1 kded/config_editor/xsettings.cpp M +1 -0 kded/config_editor/xsettings.h M +23 -0 kded/configvalueprovider.cpp M +5 -0 kded/configvalueprovider.h M +37 -12 kded/gtkconfig.cpp M +2 -0 kded/gtkconfig.h https://invent.kde.org/plasma/kde-gtk-config/commit/d2a84a92ca563b94fdfbea9d8edb8eb5955bccf0 |