Bug 431879 - Meta+(number) Keybindings change when application is open
Summary: Meta+(number) Keybindings change when application is open
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.20.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-21 16:15 UTC by kosantosbik
Modified: 2021-01-22 17:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Observed result screenshots (46.65 KB, image/png)
2021-01-21 16:15 UTC, kosantosbik
Details

Note You need to log in before you can comment on or make changes to this bug.
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.