Multi monitor on Wayland
With some WIP code changes in KWin I temporarily changed the order of how outputs are added and noticed how hard plasma fails to handle multiple monitors on Wayland properly... The problems are:
- screen configurations can go on the wrong displays without a good option to change it; one is forced to move panels and change the configuration manually
- the configuration apparently also swaps displays on suspend for some people
- sometimes screens get a new configuration. On my setup for example two of three displays have a different configuration than on X... This is a separate problem but related
- because of the first two the Meta shortcut opens the menu on the wrong screen or not at all on some setups. Setting the shortcut again is of course possible but it is annoying (esp if you sometimes temporarily switch between X and Wayland for testing) and not obvious for a lot of users
- notifications go onto the wrong screen, this can't be worked around at all by the user
The possible solutions I see are
- introduce a primary display setting that works like on X but only for plasmashell; something like that should ideally only be temporary
- add a primary display setting for Wayland in the Plasma protocols (I don't think this is a good idea)
- always show notifications on all displays
- add a setting to change the order of layouts in a specific display configuration. This could for example be implemented as a button "switch configuration with display X" in the edit mode
- create a more flexible configuration setup that allows users to assign layouts to physical instead of numbered displays. This would probably need a proper solution for the third problem but could be massively expanded with saving layouts, cloning them etc to improve the experience on X as well
While the first is probably rather easy to implement (ignoring the question of where to put that setting) I don't know a lot about Plasmas code, so a few comments regarding the feasability of these options, if someone's already working towards fixing the problems and if you see alternative solutions would be nice.
Edited by Xaver Hugl