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

            Bug ID: 451193
           Summary: HiDPI: wrong sizes for several UI element
           Product: plasmashell
           Version: 5.24.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: eric.bru...@lps.ens.fr
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

Created attachment 147321
  --> https://bugs.kde.org/attachment.cgi?id=147321&action=edit
With Intel driver and PLASMA_USE_QT_SCALING=1

I have a XPS 13 Dell laptop with 3840x2160 resolution, and its hidpi screen
brings some issues: UI elements such as icons in front of menu items and
checkboxes in dialog boxes are sometimes too small, and there does not seem any
easy way to fix it.

I am running an uptodate fedora 35 linux, with XOrg (not wayland!) and plasma
kde, but the problem has been present for several revision.
The global scale on the display configuration box is set to 250%, and I am
forcing 240dpi in the fonts settings.

* When I set  PLASMA_USE_QT_SCALING=1 and run the intel driver for XOrg, sizes
are pretty good both for contextual menu icons and checkboxes.

* When I don't set PLASMA_USE_QT_SCALING and run the intel driver, sizes are
wrong for contextual menu icons, but good for checkboxes.

* When I run the modesetting driver for Xorg, PLASMA_USE_QT_SCALING seems to
have no effect, and sizes for contextual menu icons and checkboxes are wrong.

Please see the attached screenshots. Notice the icons in front of the menu
items in the bottom right contextual menu. Notice the checkboxes in the dialog
box.

Notice also that the small icons (battery, volume, etc...) in the taskbar:
depending on the display driver, they fit in one or two columns. Notice also
the size of the configuration windows: in each time, I made it as small as
possible. This minimal size is nice and fit for the Modesetting driver, and way
too large for the Intel driver.

I believe that the behaviour of plasma should not depend on the low level
hardware driver of Xorg
I believe that I shouldn't have to set (or not) environment variables such as
PLASMA_USE_QT_SCALING to get things right or not.
I suspect that there is a bug around PLASMA_USE_QT_SCALING, since it has an
effect for one Xorg driver and not for the other.
I believe there should be an easy way to change the size of UI elements such as
contextual menu icons and checkboxes, in case the automatic scaling fails.

Nota: I used to live happily using th eIntel driver, but I am now experiencing
an independant bug with Intel which forces me back to modesetting...

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

Reply via email to