Bug 482156 - Icons-Only Task Manager will stop respecting the window class after a while
Summary: Icons-Only Task Manager will stop respecting the window class after a while
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 6.0.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-01 14:07 UTC by Danilo Luvizotto
Modified: 2024-03-08 18:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo Luvizotto 2024-03-01 14:07:28 UTC
SUMMARY
2 instance of an app with different window classes will be grouped together after some time

Note: this is about released KDE and Plasma 6.0.0, but that version is not available to be selected on the bug tracker.


STEPS TO REPRODUCE
Among others, I have the following applications pinned to my icons-only task manager:
- Firefox
- Whatsapp, which is a Firefox with a different profile and "firefox-whatsapp" window class:
  - Exec=firefox --class "firefox-whatsapp" --name "firefox-whatsapp" --profile "/home/user/.mozilla/firefox/profile.whatsapp" %u

OBSERVED RESULT
When I launch Firefox and Whatsapp, the task manager will correctly differentiate them, highlighting their respective launchers on the task bar.

But after a while, they will be both grouped on the Firefox launcher, and clicking the Whatsapp one will launch another instance.

EXPECTED RESULT
Whatsapp would be always assigned to the correct icon on the task manager.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Running on wayland
Comment 1 Nate Graham 2024-03-01 21:20:17 UTC
I suspect this is related to Bug 475736 or Bug 358277.
Comment 2 Danilo Luvizotto 2024-03-04 22:06:30 UTC
It's been days since it last happened. When I observed it, I was editing color schemes and Plasma themes, and I restarted plasmashell several times. If I can't reproduce it in the next fews days, I'll just close this.
Comment 3 Danilo Luvizotto 2024-03-08 18:58:28 UTC
ok, I figured out how to reproduce it:

1. Close plasmashell with `kquitapp6 plasmashell`
2. Run plasmashell again

Both Firefox and Whatsapp will be grouped together as Firefox in the Icons-only task manager.