Bug 444279 - Please add keyboard shortcuts to open new instances of applications in the task manager
Summary: Please add keyboard shortcuts to open new instances of applications in the ta...
Status: ASSIGNED
Alias: None
Product: plasmashell
Classification: Unclassified
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: master
Platform: Other Other
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: accessibility, usability
Depends on:
Blocks:
 
Reported: 2021-10-23 16:27 UTC by Loucura
Modified: 2022-01-15 13:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasma-desktop patch (767 bytes, patch)
2022-01-11 18:57 UTC, Loucura
Details
plasma-workspace patch (3.45 KB, patch)
2022-01-11 18:57 UTC, Loucura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Loucura 2021-10-23 16:27:25 UTC
SUMMARY
KDE has Meta+1, Meta+2, etc. keyboard shortcuts to open the 1st, 2nd, etc. applications in the task manager.
However, it doesn't have Meta+Shift+1, Meta+Shift+2, etc. shortcuts to open new instances of this applications if they already have a window open. Or at least I couldn't find them.

Other desktops have this (Windows, GNOME, Cinnamon, others?), so it would be nice if KDE had this too.


STEPS TO REPRODUCE
1. Press Meta+1 to open the 1st application in the task manager.
2. Press Meta+Shift+1.


OBSERVED RESULT
A new instance of the 1st application in the task manager is not launched.
Instead, Shift+1 is sent to the focused window.


EXPECTED RESULT
A new instance of the 1st application in the task manager is launched.
Comment 1 Loucura 2022-01-11 18:57:21 UTC
Created attachment 145335 [details]
plasma-desktop patch
Comment 2 Loucura 2022-01-11 18:57:55 UTC
Created attachment 145336 [details]
plasma-workspace patch
Comment 3 Loucura 2022-01-11 19:15:59 UTC
I tried to implement this, and I almost got it working, but not completely.
I attached the respective patches for it anyway, as they may serve as a starting point for whoever gets to implement this (no need to mention me if they are used).
One is for plasma-desktop, the other is for plasma-workspace.

With these changes, the Meta+Shift+1..9 shortcuts actually appear in the Keyboard Shortcuts settings, but the default shortcuts are not working.
If i then manually assign the combination Meta+Shift+1 in the Keyboard Shortcuts settings, it actually shows as Meta+! (for my keyboard), and then the shortcut works.
I'm not knowledgeable enough in Qt/KDE to fix that.
Comment 4 Nate Graham 2022-01-13 18:24:26 UTC
Nice! If you submit your patches, developers are much more likely to stop by and help you there, than if they sit here in this Bugzilla ticket. :)