Bug 470181

Summary: Keyboard shortcuts to move windows don't behave as expected in multi-monitor setup with a mirrored monitor
Product: [Plasma] kwin Reporter: Paul Schweigert <paul>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: aleixpol, nate, notmart, paul
Priority: NOR Keywords: multiscreen
Version First Reported In: 5.27.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paul Schweigert 2023-05-23 21:25:33 UTC
SUMMARY

After upgrading to v5.27, using keyboard shortcuts to move windows between monitors is broken in some instances

STEPS TO REPRODUCE

I have three monitors arranged horizontally:

A B C

The built-in screen of my laptop is set as a replica of monitor B, while A and C rotated 90d clockwise (in case that matters). All monitors have the same resolution and refresh rate.

Meta+Left / Meta+Right are set to Quick Tile Window to the Left / Right.

After the upgrade to KDE 5.27, moving a window from Monitor B to Monitor C using Meta+Right no longer works (the window alternates between the left and right side of Monitor B). I _can_ drag the window from B to C using the mouse. Prior to the 5.27 upgrade, Meta+Right was able to move a window from Monitor B to Monitor C.

It appears the issue may be related to the fact that the built-in screen is set as a replica of Monitor B; if I make the built-in a replica of None, then I am able to move a window from B to C as before. 


OBSERVED RESULT

(covered in previous section)

EXPECTED RESULT

The Meta+Right keyboard shortcut would move a window across all monitors.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 37
KDE Plasma Version:  5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION