Bug 435764 - Super+number shortcuts for pinned tasks get incremented when any pinned tasks are grouped
Summary: Super+number shortcuts for pinned tasks get incremented when any pinned tasks...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.21.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-15 10:55 UTC by Dan Dascalescu
Modified: 2021-10-05 09:16 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2021-04-15 10:55:08 UTC
SUMMARY
I use Super+numbers as a time-saving keyboard shortcut to switch among pinned applications[1]. I've developed the muscle memory that "Super + 1 = browser", "2 = IDE" etc.

The problem is that when an application creates a new window (e.g. the browser), that shifts all subsequent keyboard assignments by one. Thus Super+2 will no longer activate my IDE, and I'd have to press Super+3 for that.

I think there should be an option to "pin" these shortcuts as well, since the applications are pinned; in other words, to force grouping windows of the same (pinned) program. I only see under More Actions "allow this program to be grouped" (which BTW has a slightly misleading name, "program" vs. "window").


STEPS TO REPRODUCE
1. Pin Firefox to the Task Manager. Verify that Super+1 will bring it into focus.
2. Pin Konsole and verify that Super+2 switches to it.
3. Open a new Firefox window.
3. Press Super+2

OBSERVED RESULT
The second Firefox window becomes active.


EXPECTED RESULT
Konsole becomes active, as before creating the second Firefox window.

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
[1]: https://askubuntu.com/questions/813262/which-desktop-environments-allow-switching-among-windows-with-supernumbers
Comment 1 Nate Graham 2021-04-15 15:02:47 UTC
Perhaps activating a grouped task using the super_Number shortcut should simply do the exact same thing that clicking on the group normally would; it would just go through the exact same codepath. This would fix the bug and also improve predictability.
Comment 2 Nate Graham 2021-04-15 15:03:53 UTC
I would work on this, but unfortunately the super+number shortcuts are all broken for me right now, and I don't know why. Even adding a new custom one doesn't work.
Comment 3 Bharadwaj Raju 2021-10-05 09:16:45 UTC
This seems to be fixed in Plasma 5.23. Pressing Super+1 with multiple Firefox windows switches between them, and pressing Super+2 correctly activates the next item in the task manager.

Please reopen if you still see the bug in 5.23.