Bug 498735 - Icons-and-Text Task Manager doesn't keep order of the pinned items
Summary: Icons-and-Text Task Manager doesn't keep order of the pinned items
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-16 12:10 UTC by fpohtmeh
Modified: 2025-08-01 22:12 UTC (History)
3 users (show)

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


Attachments
Demo how Super+number shortcut works for Icons-and-Text Task Manager (1.61 MB, video/webm)
2025-01-17 18:45 UTC, fpohtmeh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fpohtmeh 2025-01-16 12:10:08 UTC
SUMMARY
Icons-and-Text Task Manager shows a launched pinned item to the right of the taskbar.
However, the Icons Task Manager does it as expected and keeps the position of the pinned item. 

STEPS TO REPRODUCE
1. Add Icons-and-Task Manager to the panel
2. Pin five items. 1st item is Firefox
3. Use shortcut <Win+1> to switch to Firefox
4. Switch to another application
5. Use <Win+1> again

OBSERVED RESULT
Firefox has a different position in the panel and can't be triggered with <Win+1> anymore.

EXPECTED RESULT
<Win+1> always trigger the Firefox. The number should correspond to the index of the pinned item

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavoursOS
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version:  6.8.1

ADDITIONAL INFORMATION
I'm using a vertical panel. But it works in the same way for the horizontal.
Comment 1 Nate Graham 2025-01-16 17:18:24 UTC
I cannot reproduce this issue in current git master, which is soon to become Plasma 6.3.0. Can you attach a screen recording that shows the issue happening? Thanks!
Comment 2 fpohtmeh 2025-01-17 18:45:44 UTC
Created attachment 177467 [details]
Demo how Super+number shortcut works for Icons-and-Text Task Manager

This is a demo. I have five pinned apps. Super+1 should launch the first and keep its position.
In the middle of the video, I change the widget to Icons-only Task Manager, and Super+1 works.
Comment 3 Nate Graham 2025-01-21 19:53:16 UTC
Ah, this. It's actually intentional behavior. If you don't like it, you can disable it by unchecking the checkbox marked "Keep launchers separate" in the settings window. You'll need to click on the OK button and then launch a new app afterwards.
Comment 4 v.n.suadicani 2025-07-30 07:21:55 UTC
(In reply to Nate Graham from comment #3)
> Ah, this. It's actually intentional behavior. If you don't like it, you can
> disable it by unchecking the checkbox marked "Keep launchers separate" in
> the settings window. You'll need to click on the OK button and then launch a
> new app afterwards.

Could you explain the rationale behind this intentional behavior? Why would you want the task bar to behave like this? It seems pointless and ultimately confusing to me.

I would like to propose that the default should at least be changed to match the Icon-only task manager, i.e. default of "Keep launchers separate" as unchecked. The current behavior seemed like a bug to me too and searching lead me to this bug. While the behavior may be intentional, it is confusing to the point that I think this being the default behavior should be considered a bug.
Comment 5 Nate Graham 2025-07-31 02:02:48 UTC
The idea is to keep app launchers grouped together and separate from windows. The behavior makes a bit more sense on a horizontal panel where there's a clear visual difference between app launchers and windows. On a vertical panel, they look very similar, so using the "Icons-Only Task Manager" widget instead will give you a nearly identical visual experience, but a probably more appropriate functional experience.
Comment 6 v.n.suadicani 2025-08-01 22:07:40 UTC
(In reply to Nate Graham from comment #5)
> The behavior makes a bit more sense on a horizontal panel where
> there's a clear visual difference between app launchers and windows.

I use a horizontal panel and I found it just as confusing. I think it's just confusing that when you've pinned something to be at a certain order in the task bar, that order changes as you launch things. Again, really think the default should be unchecked "Keep launchers separate"
Comment 7 Nate Graham 2025-08-01 22:12:11 UTC
Could be. I don't use this Task Manager type myself, and I'm not as familiar with what its users expect.