I have added some applications to my taskbar (using the “Pin to Task Manager” button).
For some reason, when I open chrome, the icon is shown twice in the panel. (see screenshot below)
The strange thing is, that this, for now, only happens with Chrome. Any other application I tried so far (including Konsole, Steam, Discord and Firefox) just opens and shows that it’s open in the taskbar with only one icon as expected.
I already tried unpinning chrome and pinning it again, as recommended on a post I found on the internet, but sadly, this didn’t change anything.
Does anyone have an idea why this happens? It’s just a small issue, but it’s still a bit annoying.
Here is some system information, that I think, might be helpful:
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-10-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-8600K CPU @ 3.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NV136
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7B98
System Version: 1.0
Chrome Version: 114.0.5735.198 (installed from Flathub, using Discover)
Seems like I accidentally fixed this issue by trying to fix another issue…
I just installed some nvidia drivers and switched to x-org, because I couldn’t log in to a wayland session and now, chrome just behaves like it should.
How does the desktop file look like?
Sorry, what desktop file do you mean?
Well, it looks like this now…
It somehow got fixed either by switching to X11 or by installing the nvidia driver. I don’t remember doing anything else back then.
I have just tested it on another computer as well.
It only happens on Wayland.
I’ve switched between X11 and Wayland a few times and opened Chrome. It only appeared twice on Wayland and works as expected on X11.
Is there a justification for the difference in behavior between Wayland and X11?
The only thing preventing me from switching to Wayland at the moment is that I rely on the position of the icons in the Task Manager to be consistent so I can open apps with their corresponding shortcut (Win+[position]). I would prefer to avoid hacking my way out of the problem, but it would be useful to know if this difference is intended or merely a bug.
Sorry, I forgot to mention this here earlier:
It seems like I used to add applications to the panel as widgets, instead of adding them to the Task Manager.
When adding them to the Task Manager, it works like it should. (although I’m still on X11 right now, because I just can’t get Flameshot to work correctly on Wayland with multiple screens, and I haven’t looked into that any further yet.)
I am also on X11 and it works as expected. The problem remains on Wayland though.
OK, it seems this maybe related to me using the Flatpak distribution of Chrome. Running Chromium as a native package does not have this issue.