Bug 431879

Summary: Meta+(number) Keybindings change when application is open
Product: [Plasma] plasmashell Reporter: kosantosbik <ahmet.bastug>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: nate, plasma-bugs
Priority: NOR    
Version: 5.20.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Observed result screenshots

Description kosantosbik 2021-01-21 16:15:09 UTC
Created attachment 135033 [details]
Observed result screenshots

SUMMARY

Activate task manager entry keybindings (Meta+<1..0> by default) shift if one of the programs in the task manager entry list is open. Let's say I don't have any open windows and have 3 task manager entries: System Settings, Dolphin and Chromium respectively. When I press Meta+2 Dolphin opens. When I press Meta+2 again Chromium opens instead of creating a new instance of Dolphin or selecting existing Dolphin windows as active.

STEPS TO REPRODUCE
1. Make sure you have at least 3 task manager entries. 
2. Use any of Meta+2 shortcut twice.
3. 

OBSERVED RESULT

2nd and 3rd programs in the task manager entry list are opened.

EXPECTED RESULT

System either should select the existing window of 2nd program as active or create new instance of 2nd program.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux x86_64
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-01-22 17:21:25 UTC
This makes sense because Chromium becomes the second pinned app after Dolphin gets launched. If it didn't do this, there would be no way to activate chromium without remembering which number us *used to* belong to, which would be super confusing. If you want for the apps associated with each number to remain consistent, you'll want to use the Icons-Only Task Manager, which supports this mode of operation.