Summary: | Icons-Only Task Manager Can Mis-Report Currently Running Applications | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | nekonexus |
Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | kdebugzillamail, kdedev, nate, niccolo.venerandi, qydwhotmail |
Priority: | NOR | Flags: | nekonexus:
Wayland?
nekonexus: X11+ |
Version First Reported In: | 6.1.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=475736 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
nekonexus
2022-04-27 19:23:40 UTC
I can confirm this problem to exist. PROBLEM: I have two Flatpak installations of Discord. 'com.discordapp.Discord,' and 'com.discordapp.DiscordCanary'. The Canary version is from the Flathub beta repository. There's a lot of weird behavior when similar applications are launched. I will write some problems out in the Steps to Reproduce section. STEPS TO REPRODUCE: 1. Launch 'Discord' while having 'Discord Canary' installed. - Expected Result: 'Discord' will launch and show under the blue 'Discord' logo. - Observed Result: 'Discord' launches and shows under the yellow 'Discord Canary' logo. 2. Pin 'Discord' to the default panel. 3. Launch 'Discord Canary'. - Expected Result: 'Discord Canary' will launch under a new, unique taskbar icon, as it is a different app. - Observed Result: 'Discord Canary' groups up with the other 'Discord' icon. 4. Hover over Discord apps on task bar. - Expected Result: They're labeled by their app name. - Observed Result: 'Discord' is labeled 'Discord Canary'. 'Discord Canary' has an empty label. NOTE These two apps contain different icons and different desktop files referring to different Flatpak commands. The .sh and exectuable files that are ran also have different names. The only similarity I could find between them, is that their .desktop files both set 'discord' as their 'StartupWMClass'. However, it didn't seem to help when I made them unique. I can confirm this behavior on Plasma-dev, both Wayland and X11 sessions Steps to reproduce: - Installed Discord via repo package - Installed DiscordCanary via flathub-beta 1. Launched Discord, checked icon in Icons-Only-Task-Manager Icon is correct - the blue Discord icon 2. Pinned the Discord icon 3. Launched Discord Canary Initially it showed a separate, yellow icon as expected. The blue icon was highlighted, I clicked on it. This brought up the Discord Canary window. The yellow icon disappeared. Both windows were grouped under the blue icon now. 4. Closed both versions of Discord and started up Canary During launch, the yellow icon was shown in the task bar. After it completed loading, the icon changed to the blue icon. **Notes** I can also reproduce this behavior with Firefox, on 6.1.5, using two different profiles with different .desktop files. This issue has persisted since 6.0 at least. I have a pinned icon on the taskbar per profile. Personal - regular Firefox icon Work - all white Firefox icon After launching Firefox with the Personal profile, it correctly shows the windows when interacting with its icon in the taskbar After launching a new Firefox window with the Work profile: - The icon for the Work profile is still correctly pinned to the task manager - All windows from both profiles are grouped under the icon for the Personal profile |