https://bugs.kde.org/show_bug.cgi?id=392288

            Bug ID: 392288
           Summary: GTK3 does not follow HiDPI scaling by default -- and
                    quick fix
           Product: plasmashell
           Version: 5.12.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: battagli...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Created attachment 111623
  --> https://bugs.kde.org/attachment.cgi?id=111623&action=edit
Incorrect default scaling behavior for GTK3 apps - ex: manjaro-hello and
Lollypop

In GTK3 apps, the DPI scaling option picked in KDE's system display settings is
dropped erroneously for GTK3. The attached pictures demonstrate the behavior,
as well as the behavior when changing the environment variables.

In the first attached picture, I have KDE's scale variable set at 2.0. You can
see that none of the widgets, window decorations, etc are not scaled and that
everything is tiny.

In the second attached picture, I set the environment variables GDK_SCALE=2 and
GDK_DPI_SCALE=0.5. You can see that the scaling now works properly.

Setting GDK_SCALE=2 scales all of the components, but also double-scales the
fonts, so that they end up being scaled 4x. Setting GDK_DPI_SCALE=0.5 then
"un-scales" the fonts, so that they end up being scaled only 2x.

I'm not sure if this is the best fix, but at least it shows it's possible to
get the right GTK scaling working in Plasma.

I've seen this behavior on both Plasma 5.11 and 5.12.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to