https://bugs.kde.org/show_bug.cgi?id=450068

--- Comment #27 from Kai Krakow <k...@kaishome.de> ---
We probably need a system which stores a containment layout per number of
monitors connecting. If an additional monitor gets connected, clone the next
"lower count" layout. Then, sort the primary monitor to the beginning.

That means, it would have a mapping `monitor counts -> layout` and then just
counts the connectors in a predictive order instead of tracking EDIDs or
connector names. At least for my use case, I don't care which monitor is
connected to which connector, as long as my primary monitor is tracked
correctly and all additional monitors are ordered after it.

Predictive order could mean: primary first, then order by EDID, model or
connector name.

But I think there is at least one underlying severe problem here, and it seems
to be a race condition:

Plasma-shell, kscreen, the desktop background, and nvidia-settings do not seem
to always agree about the order of screens. So sometimes, after a screen gets
disconnected and reconnected, plasma-shell may end up with panels and
backgrounds not matching my previous setup, or it ends up with no background at
all (essentially making it impossible to right click) but the panels are still
on that monitor. The components need to be synced somehow, it looks like each
one gets its own view of the situation while Xorg still messes around with the
detection. The setup should be transactional and only the new layout only
reflected to the components if the detection phase is complete.

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

Reply via email to