Bug 411688

Summary: Global shortcut to assign window/app to another activity
Product: [Plasma] kwin Reporter: Dimitrios T Tanis <dimitrios.tanis>
Component: activitiesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: f4tmike, g.guerin, gudvinr+kde, joelson.ejr, nate, plasma-bugs
Priority: NOR    
Version: 5.12.8   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=434621
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dimitrios T Tanis 2019-09-07 20:12:07 UTC
SUMMARY
In a multi activities setup it would make sense to be able to use hotkeys to switch to another activity as well as move a window to another activity, much like Switch to Desktop.. , Switch to Screen .., Window to Desktop .. and Window to Screen ..

STEPS TO REPRODUCE
1. Open Global Keyboard Shortcuts
2. Search for shortcut to switch to activity
3. Search for shortcut to move window to activity

OBSERVED RESULT
No Actions exist to either switch to or move window to activity.

EXPECTED RESULT
There should be actions to allow switching and moving window to another activity.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSuse Leap 15.1
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.55.0
Qt Version: 5.9.7

ADDITIONAL INFORMATION
There exists org.kde.ActivityManager/ActivityManager/Activities DBUS message which allows switching to another activity via SetCurrentActivity but 
dbus-monitor does not record any dbus message when moving window, so I guess there is not a DBUS message to use a custom shortcut.

PS. Maybe for a home user, saving 2-3sec when switching/moving around windows doesn't make any difference but in a business environment with 10 activities x 4 desktops each, used all day long, it would be a notable timesaver.
Comment 1 Nate Graham 2021-03-19 13:40:38 UTC
We have global shortcuts to switch to another activity now, so all that remains to do it to add keyboard shortcuts to assign a window or app to a specific activity. Moving to Plasma since that's what provides the existing shortcuts.
Comment 2 Gauthier 2021-10-16 07:26:08 UTC
That would be a good add indeed for Plasma 5.24! 

Especially as the new menu: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/231 is not yet working for kwin.
Comment 3 joelsonejr 2023-08-21 19:17:59 UTC

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