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

            Bug ID: 480828
           Summary: kwin: poor experience with Gtk apps and 175% display
                    scaling
    Classification: Plasma
           Product: kwin
           Version: 5.27.10
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: anars...@gmail.com
  Target Milestone: ---

Created attachment 165522
  --> https://bugs.kde.org/attachment.cgi?id=165522&action=edit
kwin_175percent_scaling_1_dpi_172032.png

SUMMARY

When display scaling is set to 175%, kwin communicates scaling factor of 1 to
Gtk apps and sets Gdk/UnscaledDPI in xsettingsd config to 172032. That results
in properly sized text, but small widgets, as a result text doesn't fit into
buttons, menus, dropdown selections, etc.

It works much better I force scaling factor to 2 and set Gdk/UnscaledDpi to
86016

I believe that kwin should properly round fractional scaling factors instead of
flooring it.

See attached screenshots as example.


STEPS TO REPRODUCE
1. Set display scaling to 175%
2. Open any Gtk3 app (e.g. Orca Slicer)

OBSERVED RESULT

Text doesn't fit widgets, since text is scaled, but widgets are not

EXPECTED RESULT

Text should fit widgets

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Archlinux, plasma 5.27.10
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12

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

Reply via email to