Bug 444944 - Keyboard shortcut to move window to other *numbered* desktop does not let the view follow the window.
Summary: Keyboard shortcut to move window to other *numbered* desktop does not let the...
Status: REOPENED
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.27.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Natalie Clarius
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-11-04 12:56 UTC by Johannes
Modified: 2023-10-11 03:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
example of keyboard shortcuts (276.30 KB, image/png)
2021-11-04 12:56 UTC, Johannes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes 2021-11-04 12:56:21 UTC
Created attachment 143198 [details]
example of keyboard shortcuts

SUMMARY
I have several virtual desktops. When I set a keyboard shortcut to move the focussed window to an adjacent virtual desktop, the window moves and the view follows (meaning that I end up on the target desktop). However, when I set a keyboard shortcut to send the focussed window to a numbered desktop, the window is sent there, but the view remains on the original desktop and does not follow the window.


STEPS TO REPRODUCE
0. Provided you have several virtual desktops (otherwise create some first).
1. Open systemsettings5, navigate to Keybindings > KWin
2. Set some keybindings to Move Window to Desktop 2 (or any other numbered desktop) (the English translation may differ).
3. Go to desktop 1, focus a window and perform the keybinding.

OBSERVED RESULT
The window is sent successfully to the given numbered desktop (e.g. desktop 2), but the view remains on the original desktop (e.g. desktop 1).

EXPECTED RESULT
The view should follow the window. 
Hence the current implementation is not consistent with the behaviour of sending windows to adjacent virtual desktops, where the view does indeed follow the window in its journey towards another desktop.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 21.10 with enabled official KDE backports ppa (hence newest stable plasma).
KDE Plasma Version: plasmashell 5.23.2

SCREENSHOT
But I set Meta+Shift+Right to move the window to the next (adjacent) desktop, and Alt+" (i.e. Alt+Shift+2) to move to the numbered desktop. They behave differently, and that's annoying. 
PS: The screenshot is in French (I sadly don't know how to launch the whole menu to English).
Comment 1 Johannes 2022-03-10 22:06:30 UTC
Dear all,
Can something be done about this bug?  That would be appreciated!
Thank you so much!
Comment 2 David Edmundson 2023-09-06 10:38:19 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.
Comment 3 Johannes 2023-09-23 11:29:11 UTC
The bug persists, I therefore reopen the case.

--

Operating System: Ubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-32-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-10210U CPU @ 1.60GHz
Memory: 15.3 Gio of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 20U9008FMZ
System Version: ThinkPad X1 Carbon Gen 8
Comment 4 Nate Graham 2023-09-25 20:24:10 UTC
CCing Natalie, who I recall did a lot of work with these shortcuts a year or two ago.
Comment 5 Natalie Clarius 2023-10-11 03:34:13 UTC
In progress with https://invent.kde.org/plasma/kwin/-/merge_requests/3349