Fractional Scaling
Open, Needs TriagePublic

Description

Assuming we still have ints in support in wl_surface we need.

  1. XDGOutput support.

So we can communicate what the logical size is, as it might not match modeSize / output scale.

  1. Qt to support that, so plasmashell knows the correct logical size as it needs it for placement
  1. Kwin changes. Which should be minor.
bruns added a subscriber: bruns.Apr 12 2018, 7:40 PM

Qt to support that, so plasmashell knows the correct logical size as it needs it for placement

To expand: the problem is that with a fractional scaling factor of for example 1.5 the scale factor of a wl_surface would be set to 2 (and then KWin downscales in the end). And QScreen then uses this value of 2 for its size query methods.

  1. XDGOutput landed. What's left to do in 2. and 3.? Can you expand upon the required changes?
  1. QScreen::size needs to be the logical size I tell it it is, not auto calculated from resolution and scale
davidedmundson added a comment.EditedJun 13 2018, 12:07 PM

Hopefully clarifying table of the problem we would need to solve wrt plasmashell positioning.
Which involves modifying QScreen::size to use the logical size we give it.

davidedmundson moved this task from Under Review to Done on the KWin board.Aug 7 2018, 8:02 PM