Bug 444575

Summary: Undefined behavior of meta+{1..9} when use two Task Manager widgets
Product: [Plasma] plasmashell Reporter: wbqq
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: CONFIRMED ---    
Severity: normal CC: nate, plasma-bugs-null, qydwhotmail, rabin, wbqq
Priority: NOR Keywords: usability
Version First Reported In: 5.22.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description wbqq 2021-10-29 03:15:37 UTC
SUMMARY
looks like noone uses two task switchers simultaneously, but here is a problem about that. if they show different orders (different sort methods selected, filter by desktop, etc) which of them would be taken for meta+{1..9} keys?

STEPS TO REPRODUCE
1. log into your plasma session
2. add a new default panel of a new empty panel and add any of task switchers on it
3. set some different settings to them, i e one of them shows all windows from all desktops, and another one - from current desktop only. or just a different way of sorting windows.
4. try to switch between windows with meta+{1..9} keys. 

OBSERVED RESULT
You will see that it uses one of those task switcher's order of windows, but which one? well, the random one. reboot your machine, restart plasmashell, logout or even just suspend it, and the task switcher would take another panel's order.

EXPECTED RESULT
best way to solve it is to add some setting like "do not use this task switcher for meta+{1..9} switching" or whatever. maybe set some niceness order or just use only the latest switcher that have been added to desktop. 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Opensuse 15.2 
KDE Plasma Version: 5.18 from opensuse repos

Linux/KDE Plasma: Opensuse 15.2 
KDE Plasma Version: 5.21 from KDE repos for zypper

Linux/KDE Plasma: debian stretch (9) 
KDE Plasma Version: 5.12

Linux/KDE Plasma: gentoo 
KDE Plasma Version: 5.22.5 built with -march=native -O2, tried both clang and gcc

so it looks like this behavior was here at least from 5.12 until now.

ADDITIONAL INFORMATION
sorry for my english, let me know if something is not clear
Comment 1 Nate Graham 2025-10-23 16:55:07 UTC
*** Bug 479349 has been marked as a duplicate of this bug. ***