Bug 487955 - Pinned programs in Plasma 6 taskbar are behaving like in dock mode
Summary: Pinned programs in Plasma 6 taskbar are behaving like in dock mode
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 6.0.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-03 11:26 UTC by Maximilian Böhm
Modified: 2024-06-06 14:26 UTC (History)
4 users (show)

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


Attachments
Taskbar in Plasma 6, mixing unstarted and started programs horizontally (220.12 KB, image/png)
2024-06-03 11:26 UTC, Maximilian Böhm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Böhm 2024-06-03 11:26:29 UTC
Created attachment 170086 [details]
Taskbar in Plasma 6, mixing unstarted and started programs horizontally

Pinned programs in Plasma 6 taskbar are behaving like in dock mode

After upgrading to Plasma 6, my pinned programs in my taskbar are behaving mind-boggling wrong: In Plasma 5, pinned programs were on the left side until you opened then, then they would wander to the right side, with their window titles, until closed.
Now, with Plasma 6, the task bar entries are appearing right at the position the pinned icon was, making the taskbar an convoluted mess. Regular task entries with window titles sit next beneath several icon-only, unstarted programs. It’s how the Windows 7+ dock works, but that’s not what I’m expecting of a regular taskbar. See my screenshot for illustration.

I could create classical starter icons instead of pinned programs, but then it wouldn’t work to save screen estate in the panel, the icon would always be on the left and taking up much needed space for titles in the taskbar.

EXPECTED RESULT
Started programs off pinned starters should move to the right, like it was with Plasma 5. The taskbar shouldn’t be a mix of task entries and unstarted programs.

SOFTWARE/OS VERSIONS
Linux: Arch
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Comment 1 Maximilian Böhm 2024-06-03 12:07:21 UTC
Found out that the option "Do not sort" in the taskbar settings restores the old behavior from Plasma 5: Taskbar entries started off pinned icons wander to the right.
But now I cannot sort them manually anymore.

In Plasma 5, my settings were "Sort: Manually", "Keep launchers separate: on".

But on Plasma 6, "Keep launchers separate: on" now makes them fixed like manual starter icons, they don’t move at all anymore when started. This way, when I start Konsole off its pinned icon, a separate taskbar entry appears on the right but the pinned icon on the left doesn’t disappear while Konsole is running. This isn’t the expected behavior.
Comment 2 Marco Martin 2024-06-06 13:31:07 UTC
in 6.1 the "keep launcher separate" option is back
Comment 3 Maximilian Böhm 2024-06-06 14:17:09 UTC
(In reply to Marco Martin from comment #2)
> in 6.1 the "keep launcher separate" option is back

Okay, nice! Hope it’s the same behavior like on Plasma 5.
Comment 4 Maximilian Böhm 2024-06-06 14:26:21 UTC
(In reply to Maximilian Böhm from comment #3)
> (In reply to Marco Martin from comment #2)
> > in 6.1 the "keep launcher separate" option is back
> 
> Okay, nice! Hope it’s the same behavior like on Plasma 5.

Wait, what do you mean exactly by that? Because I still have "keep launcher separate" in Plasma 6.0. But it’s like explained above: When I enable "Sort: Manually" + "Keep launchers separate: on" I get always separate launchers: So to say, I open Firefox via its pinned icon, the pinned icon stays on the left side but now I also get a task entry on the right.
When I deselect "Keep launchers separate", there are no more double entries, so a pinned icon becomes a task entry when started. BUT this way, the task entry opens exactly at the position of the pinned icon, not in the regular task bar. That’s what this bug was about, see my screenshot.

My current remedy is to use "Do not sort", which restores the Plasma 5 behavior, but with this option, I cannot sort my task entries manually.