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

--- Comment #7 from Harald Sitter <sit...@kde.org> ---
Yes. That is entirely consistent with what we see in the two bug reports.

What goes on in your screenshot is that the KCM thinks you are at a scale >1 so
it takes the the actual resolution of your left hand screen and divides it by
the scale. This then is the "logical" resolution that is smaller than your
actual resolution. Say your left screen is 15x15 and has 1.5 scale. The logical
size is 10x10. And that is the basis for the layout in the KCM preview. That is
why it looks smart there (it behaves as though you were still in wayland).
Kscreen then has the config

first screen at point 0,0 with width=10 and height=10. second screen at point
11,11 width=5 and height=5 (random example values).

Plasmashell (or KWin, unsure about responsibilities) on the other hand knows
that you are on x11 and so wayland scale has no impact. The first desktop
consequently gets rendered at 0,0 with width=15 and height=15 (these are the
unscaled values!). Then it renders the second screen. KScreen says the second
screen is at position 11,11. Plasma draws the desktop at that location with a
width=5 and height=5.

The second screen is now drawn on your first screen because the KScreen
position was wrong.

Hope that makes some sense. Essentially the KCM pretends you have wayland
scaling, but you really don't so the positioning between KCM (scaled) and real
world (not scaled) are out of sync and that results in things getting placed
and incorrect locations.

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

Reply via email to