SUMMARY Window rules that want to keep specific windows on primary screen are impossible to define on changing-display setups (eg notebook with multiple screens at the office, but single screen outdoors)
PS: especially if additional displays are positioned lefthand from primary display.
How does changing the starting index help?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
(In reply to David Edmundson from comment #2) > How does changing the starting index help? Sorry for my late answer! I missed the mail notification. Probably the issue is fixed with the latest update, I'll watch it. I experienced the issue as follows: My simple Setup: [monitor] -- [primary notebook display] Some window rules place application windows depending if monitor is connected or not. Most applications I want to place on my primary display, which are by default on screen index 0. As additional screens are connected, I consider them secondary and tertiary for example (index 1 and 2) Once I had to disconnect and reconnect the monitor for some reason. So it happened that suddenly my primary applications where placed on my secondary monitor. I did reconnect the monitor several times, and the window rule indices where interpreted randomly. I think it has something to do with the new taskbar display configuration feature (unify, extend left, extend right) because as I played arround with its settings, the display indices changed back as expected. So I assume that primary display should be guaranteed to be index 0. Index 1, 2, n should extend to right or left depending on the taskbar display configuration, right? Maybe you can reproduce the bug, I'll keep an eye on it and report. thanks!
Unfortunately after the latest update to Plasma 6 my window rules are broken again regarding Screen Indices. My main display is marked as primary display, but window rules do not refer to it by index 0. For example I take my notebook with me without additional displays, thats where I expect my primary display to be indexed 0. As I come home and connect additional displays I still expect my window rules to work.