https://bugs.kde.org/show_bug.cgi?id=455394
Harald Sitter <sit...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kscreen/commit/fab815b05 |ma/kscreen/commit/fb0c1657b |64ea08202b5bd3429f580c6c5a7 |531225b0cf18b719eee4dee952d |42d3 |6bf1 --- Comment #24 from Harald Sitter <sit...@kde.org> --- Git commit fb0c1657b531225b0cf18b719eee4dee952d6bf1 by Harald Sitter. Committed on 24/04/2023 at 21:59. Pushed by sitter into branch 'master'. yet more QRect right() fixes QRect::right and topRight are off by one for historical reasons. This caused incorrect default positioning when a (new) screen gets enabled and automatically positioned. To solve this entire source of problems let's stop using the faulty API and instead calculate the offsets manually. More code but no trap doors. The original code was written as though things were not off by one anyway. M +17 -12 kcm/output_model.cpp https://invent.kde.org/plasma/kscreen/commit/fb0c1657b531225b0cf18b719eee4dee952d6bf1 -- You are receiving this mail because: You are watching all bug changes.