Bug 433493

Summary: Cannot move windows across desktops using KWin shortcuts while the window is being dragged
Product: [Plasma] kwin Reporter: user151516 <kdeuser151516>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, nate
Priority: NOR Keywords: regression
Version: 5.21.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description user151516 2021-02-23 15:20:05 UTC
SUMMARY

In wayland on 5.21, you cannot drag a window to another desktop using KWin shortcuts to switch the desktop. The shortcuts don't work while holding a window, but function fine if you aren't.

Shortcut located at:
Settings -> Workspace -> Shortcuts -> System Services -> KWin -> "Switch One Desktop to the Right"

STEPS TO REPRODUCE
1. Bind Switch One Desktop to the Right to any key, I use Meta+Tab.

2. Next, try to "drag" a window to a different desktop by holding a window and then hitting the next-desktop key.

3. When you press your "Switch One Desktop to the Right" key, nothing will happen if you are holding a window. If you are not holding a window, then the desktop will switch as expected.

OBSERVED RESULT
Switch-Desktop shortcut keys do not work while holding/dragging a window in Wayland. The key functions as expected otherwise.

EXPECTED RESULT
Switch Desktop shortcut keys should switch to your next desktop while dragging a window, allowing you to drag a window to a different desktop.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
GPU: Radeon RX 590
Two monitors: {1920x1080@60hz-Left, 2560x1440@144hz-Right}
Comment 1 Nate Graham 2021-02-23 19:05:33 UTC
But it works if you don't drag the window while hitting the relevant keyboard shortcut right?
Comment 2 user151516 2021-02-23 19:09:39 UTC
Yes, if you are NOT holding/dragging a window, then the desktop will switch as expected.
Comment 3 Nate Graham 2021-02-23 19:19:30 UTC
Thanks.
Comment 4 David Redondo 2022-04-19 13:52:32 UTC

*** This bug has been marked as a duplicate of bug 444696 ***