https://bugs.kde.org/show_bug.cgi?id=455394
Harald Sitter <sit...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kscreen/commit/fb0c1657b |ma/kscreen/commit/fee471e09 |531225b0cf18b719eee4dee952d |bcbfcbd6f6cab05b605a0916162 |6bf1 |fa43 --- Comment #25 from Harald Sitter <sit...@kde.org> --- Git commit fee471e09bcbfcbd6f6cab05b605a0916162fa43 by Harald Sitter. Committed on 24/04/2023 at 21:59. Pushed by sitter into branch 'Plasma/5.27'. 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. (cherry picked from commit fb0c1657b531225b0cf18b719eee4dee952d6bf1) M +17 -12 kcm/output_model.cpp https://invent.kde.org/plasma/kscreen/commit/fee471e09bcbfcbd6f6cab05b605a0916162fa43 -- You are receiving this mail because: You are watching all bug changes.