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

Noah Davis <noaha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |---
             Status|NEEDSINFO                   |REPORTED

--- Comment #3 from Noah Davis <noaha...@gmail.com> ---
(In reply to David Edmundson from comment #2)
> 1.0 is expected. 
> Logical and device pixels are the same.
> 
> Can you expand on 
> 
> >to return an incorrect image

The image is smaller than it should be and doesn't actually contain the whole
workspace.

For example, let's say you have two 1920x1080 screens horizontally next to each
other with 1.25x scale. The unscaled virtual desktop size is 3840x1080. If you
get an image of the whole workspace, you get a 3072x864 image with the right
and bottom parts of the workspace cut off. This is different from the behavior
on Wayland where the image dimensions match the unscaled virtual desktop size
and the image contains the entire workspace. I looked at the code and the
reason why is because WaylandOutput gives a correct device pixel ratio, but the
X11Output does not, even though QScreen gives a correct device pixel ratio on
X11. I think QScreen has different results from X11Output because
plasma-workspace/startkde/startplasma-x11.cpp sets QT_SCREEN_SCALE_FACTORS
using the settings defined using the Display Configuration KCM.

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

Reply via email to