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

            Bug ID: 446627
           Summary: Pager does not show correct size when
                    PLASMA_USE_QT_SCALING=1 is set on X11
           Product: plasmashell
           Version: 5.23.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Pager
          Assignee: h...@kde.org
          Reporter: c...@horwell.me
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Created attachment 144305
  --> https://bugs.kde.org/attachment.cgi?id=144305&action=edit
X11 desktop at 100%, 200% and with variable set

SUMMARY

On X11 desktops, when the environment variable `PLASMA_USE_QT_SCALING=1` is
set, the Pager widget only shows the first quarter of the desktop (in the case
of 200% scaling).

When the variable is not present, the pager works correctly when Plasma's
global scale set to 100% and 200%.

Wayland is not affected and works as expected, even with the variable set.

Perhaps there needs to be a condition to divide the global scale (e.g. 200% =
2) when X11 is in use and the environment variable is present?

STEPS TO REPRODUCE
A HiDPI display is useful, but not required.

1. Set the global scale to 200%.
2. echo "PLASMA_USE_QT_SCALING=1" >> .bash_profile
3. Log out and back in
4. Observe the Pager widget on the panel and open some windows in the top-left
and bottom-right regions.

OBSERVED RESULT
On X11 desktops, the window outlines on the widget are not accurately shown
when PLASMA_USE_QT_SCALING is set.

EXPECTED RESULT
The pager shows the correct position/size of windows for a virtual desktop.

SOFTWARE/OS VERSIONS
OS: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
See attachments for screenshots.

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

Reply via email to