Commit ab4be064 authored by Nate Graham's avatar Nate Graham
Browse files

Use XWayland client scaling by default

We discussed potentially turning this on for Plasma 5.26, but wanted to
do more testing first. I as well as other KDE contributors have been
running with it on for the past month with seemingly no drama. Seems
like it's safe enough to turn on by default now.

This commit slightly re-arranges the KCM's UI so that the radio button
corresponding to the default setting remains on top.
parent 47964155
Pipeline #212916 passed with stage
in 4 minutes and 3 seconds
......@@ -9,7 +9,7 @@
<default>1.0</default>
</entry>
<entry name="xwaylandClientsScale" key="XwaylandClientsScale" type="Bool">
<default>false</default>
<default>true</default>
</entry>
</group>
</kcfg>
......
......@@ -122,13 +122,13 @@ ColumnLayout {
spacing: Kirigami.Units.smallSpacing
Controls.RadioButton {
Kirigami.FormData.label: i18n("Legacy Applications (X11):")
text: i18nc("The system will perform the x11 apps scaling", "Scaled by the system")
checked: !kcm.xwaylandClientsScale
id: x11ScalingApps
text: i18nc("The apps themselves should scale to fit the displays", "Apply scaling themselves")
checked: kcm.xwaylandClientsScale
Controls.ButtonGroup.group: x11AppsScaling
}
KCM.ContextualHelpButton {
toolTipText: i18n("All legacy applications will be scaled by the system to the correct size, however they will always look slightly blurry.")
toolTipText: i18n("Legacy applications that support scaling will use it and look crisp, however those that don't will not be scaled at all.")
}
}
......@@ -138,13 +138,13 @@ ColumnLayout {
spacing: Kirigami.Units.smallSpacing
Controls.RadioButton {
id: x11ScalingApps
text: i18nc("The apps themselves should scale to fit the displays", "Apply scaling themselves")
checked: kcm.xwaylandClientsScale
Kirigami.FormData.label: i18n("Legacy Applications (X11):")
text: i18nc("The system will perform the x11 apps scaling", "Scaled by the system")
checked: !kcm.xwaylandClientsScale
Controls.ButtonGroup.group: x11AppsScaling
}
KCM.ContextualHelpButton {
toolTipText: i18n("Legacy applications that support scaling will use it and look crisp, however those that don't will not be scaled at all.")
toolTipText: i18n("All legacy applications will be scaled by the system to the correct size, however they will always look slightly blurry.")
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment