Bug 513385 - When disabling a display, the remaining ones keep the same offset
Summary: When disabling a display, the remaining ones keep the same offset
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (other bugs)
Version First Reported In: 6.5.4
Platform: EndeavourOS Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-15 07:02 UTC by yak.aryslan.1999
Modified: 2025-12-18 21:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.6.0
Sentry Crash Report:


Attachments
Output of `kscreen-doctor -o` before reproduction, after (observed), and expected (3.26 KB, text/plain)
2025-12-15 07:02 UTC, yak.aryslan.1999
Details
Display Settings while in bugged state (left) and normal state (right) (79.93 KB, image/png)
2025-12-15 07:08 UTC, yak.aryslan.1999
Details
Screenshot of Spectacle in this bugged state (497.56 KB, image/png)
2025-12-15 07:16 UTC, yak.aryslan.1999
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yak.aryslan.1999 2025-12-15 07:02:21 UTC
Created attachment 187652 [details]
Output of `kscreen-doctor -o` before reproduction, after (observed), and expected

SUMMARY
When disabling desktops under Wayland, the geometry offsets are kept as-is, causing issues with window placement, Spectacle and other screenshotting tools.

(Sorry if this is under the wrong product, I wasn't sure if this should go in KScreen or Plasma)

STEPS TO REPRODUCE
1. Have two displays arranged left-to-right, for example from left to right: eDP-2 and DP-10
2. Disable eDP-2 in Display & Monitor settings

OBSERVED RESULT
The offset for DP-10 is kept the same as if eDP-2 is still enabled (in my case: 1536,0).

EXPECTED RESULT
The offset for DP-10 is 0,0

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
I was able to work around this by using the "Edit Arrangement" button in display settings and just grabbing and releasing the singular active display in there. However, doing this makes it so that when I enable eDP-2 again afterwards, the two displays overlap each other.
Comment 1 yak.aryslan.1999 2025-12-15 07:08:06 UTC
Created attachment 187653 [details]
Display Settings while in bugged state (left) and normal state (right)
Comment 2 yak.aryslan.1999 2025-12-15 07:16:14 UTC
Created attachment 187654 [details]
Screenshot of Spectacle in this bugged state
Comment 3 Nate Graham 2025-12-18 21:19:20 UTC
Cannot reproduce in git master. There were some improvements here that are only making it into the upcoming Plasma 6.6. I'm going to call this fixed, but feel free to re-open the bug report if you find that you can still reproduce the exact same issue after upgrading to Plasma 6.6.

Thanks a lot!