Skip to content
  • Marco Martin's avatar
    Base containments upon screen order · 8c521e52
    Marco Martin authored
    Base containment/view screen assignment uniquely on an ordered list of screens which will be decided by KScreen, removing the concept of primary screen and the whole load and save of screen connector/id association.
    A protocol based on Atoms on X11 and as a native protocol on Wayland tells plasma the complete order of the screens, allowing the user to set not only primary screen but the whole order from the KSCreen KCM.
    
    Note that this is still very early work, as the protocol doesn't exists yet and is purely based upon primary screen followed by the other screens based upon alphabetical order of connector names. As many multiscreen scenarios as possible will be tested within screenpooltest and shelltest
    
    BUG:450068
    BUG:385135
    BUG:427861
    
    Testing done:
    - [x] X11 absolutely no config whatsoever - plasma should match kscreen kcm when finally open
    - [x] Wayland absolutely no config whatsoever - plasma should match kscreen kcm when finally open 
    - [x] X11 had a single monitor config - things should look exactly as before
    - [x] Wayland had a single monitor config - things should look exactly as before
    - [x] X11 had a multi-monitor config, one screen was Primary - things should look exactly as before
    - [x] Wayland had a multi-monitor config, one screen was Primary - things should look exactly as before
    - [x] X11 Xaver's mental setup with matching EDID
    - [x] Wayland Xaver's mental setup with matching EDID
    - [x] X11 have laptop lid and close it then open with two screens
    - [x] Wayland have laptop lid and close it then open with two screens
    - [x] X11 no kscreen enabled. Something remains sane, and somewhat consistent
    - [x] wayland no kscreen enabled. Something remains setup, and somewhat consistent
    - [x] close/reopen laptop lid with external screen attached
    - [x] enable/disable outputs without reordering
    - [x] connecting disconnecting to go from 1 to 2 to 3, to 2 again etc
    - [x] watch behavior of panels, do they move to the expected screen?
    8c521e52