Bug 501242

Summary: Temporary disconnecting non-primary screen makes screen index fall out of sync with xrandr on X11
Product: [Plasma] KScreen Reporter: Dominik Kummer <admin>
Component: commonAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR Keywords: multiscreen, X11-only
Version First Reported In: 6.3.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=468432
https://bugs.kde.org/show_bug.cgi?id=466149
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dominik Kummer 2025-03-08 22:25:26 UTC
The display priority settings in display configuration does not correlate to `randr --listmonitors` indices. Is that intentional?
I just experienced a situation where the second of three screens had to be disconnected temporarly. After reconnecting it, its index became 3. This wrong order persisted across reboot.
To restore the original indexing I had to connect primary and second screen. Then reboot. Afterwards I had to connect the 3rd screen, and reboot again. Now the original order was restored.