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
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.
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.
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.