Peter Wu <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #16 from Peter Wu <> ---
I found one remaining edge case where the fullscreen picture is displayed at
the wrong location.

Consider a laptop screen on the left (primary) with an external, larger screen
on the right with resolutions 1920x1080 and 2560x1440 respectively and
QT_SCALE_FACTOR=2. The bottom sides are aligned such that you can move a
pointer between the bottoms without a jumping cursor. This means that the
origin of the laptop screen is no longer at (0, 0), but (0,360).

When the image is scaled by 2, the translated origin of the laptop screen
becomes (0,180). But Qt expects screen coordinates in native pixels and is
still painting from the (0,360), resulting in an upward shift of the image and
loss of the bottom half!

Adding a margin should work, but maybe you can think of other edge cases? (Two
different resolutions below each other? Others?)

(I have also reported the lack of documentation on the origin at

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

Reply via email to