SUMMARY Intermittently, after a soft reboot, the keyboard shortcut assigned for "Window to Screen 1" moves the window to the display originally identified as Screen 2, and the keyboard shortcut assigned for "Window to Screen 2" moves the window to the display originally identified as Screen 1. DETAILED DESCRIPTION I have four displays: Screen 0 is my bottom display (primary). Screen 1 is my right display. Screen 2 is my top display. Screen 3 is my left display. I use the following KWin shortcuts: Window to Screen 0: Meta+Shift+Down Window to Screen 1: Meta+Shift+Right Window to Screen 2: Meta+Shift+Up Window to Screen 3: Meta+Shift+Left Intermittently, after a soft reboot the following occurs: 1. The shortcut for "Window to Screen 1", which should move windows to my right display (Screen 1), instead moves the windows to my top display (Screen 2); and 2. The shortcut for "Window to Screen 2", which should move windows to my top display (Screen 2), instead moves the windows to my right display (Screen 1). If I reboot again the shortcuts typically work properly. The display configuration is not affected, however - the displays maintain the orientations and spatial relationships set in Display Settings, each display has the correct wallpaper, and dragging of windows between the displays with the mouse/cursor continues to work properly. STEPS TO REPRODUCE 1. Assign a shortcut for "Window to Screen 0" 2. Assign a shortcut for "Window to Screen 1" 3. Assign a shortcut for "Window to Screen 3" 4. Assign a shortcut for "Window to Screen 4" 5. Test shortcuts to ensure they are working properly. 6. Soft reboot and test the shortcuts again. The problem is intermittent, so a number of reboots may be required to reproduce the issue. OBSERVED RESULT Intermittently, the shortcut assigned for "Window to Screen 1" moves windows to the display originally assigned as Screen 2, and the shortcut assigned for "Window to Screen 2" moves windows to the display originally assigned as Screen 1. EXPECTED RESULT The shortcut assigned for "Window to Screen 1" will always move windows to the display originally assigned as Screen 1, and the shortcut assigned for "Window to Screen 2" will always move windows to the display originally assigned as Screen 2. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.2.5-arch1-1 (64-bit) KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Display Server: Xorg Video card: AMD Radeon RX 580 ADDITIONAL INFORMATION I have only noticed the issue intermittently after a soft reboot, but I do not cold reboot my system frequently. So the issue may or may not be limited to soft reboots. Since the display configuration is not affected (the displays maintain the orientations and spatial relationships set in Display Settings, etc.), I hypothesize that the issue is in the way the identifiers "Screen 1" and "Screen 2" are assigned to the displays after a reboot.
Output of xrandr: Screen 0: minimum 320 x 200, current 8160 x 4410, maximum 16384 x 16384 DisplayPort-0 connected primary 3840x2160+2160+2160 (normal left inverted right x axis y axis) 698mm x 393mm 3840x2160 60.00*+ 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 29.98 2560x1600 59.94 2560x1440 59.95 1920x1200 60.00 1920x1080 60.00 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 1600x1200 60.00 1680x1050 59.95 1600x900 60.00 1280x1024 75.02 60.02 1440x900 60.00 1280x800 59.81 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 DisplayPort-1 connected 2160x3840+6000+570 left (normal left inverted right x axis y axis) 698mm x 393mm 3840x2160 60.00*+ 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 2560x1600 59.94 2560x1440 59.95 1920x1200 60.00 1920x1080 60.00 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 1600x1200 60.00 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1440x900 60.00 1280x800 59.91 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 DisplayPort-2 connected 3840x2160+2159+0 (normal left inverted right x axis y axis) 698mm x 393mm 3840x2160 60.00*+ 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 29.98 2560x1600 59.94 2560x1440 59.95 1920x1200 60.00 1920x1080 60.00 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 1600x1200 60.00 1680x1050 59.95 1600x900 60.00 1280x1024 75.02 60.02 1440x900 60.00 1280x800 59.81 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 HDMI-A-0 connected 2160x3840+0+570 right (normal left inverted right x axis y axis) 698mm x 393mm 3840x2160 60.00*+ 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 2560x1600 59.94 2560x1440 59.95 1920x1200 60.00 1920x1080 60.00 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 1600x1200 60.00 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1440x900 60.00 1280x800 59.91 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 DVI-D-0 disconnected (normal left inverted right x axis y axis) HDMI-A-1-1 disconnected (normal left inverted right x axis y axis) DisplayPort-1-3 disconnected (normal left inverted right x axis y axis)
Issue happened again today after I woke the computer from sleep mode and logged in. I logged out and logged back in and the issue went away.