Bug 449045 - Task Manager fails to recognize Google Chrome launcher as identical if it has flags enabled
Summary: Task Manager fails to recognize Google Chrome launcher as identical if it has...
Status: RESOLVED DUPLICATE of bug 358277
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.23.4
Platform: Manjaro Linux
: NOR minor
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-24 05:44 UTC by spamless.9v5xj
Modified: 2023-10-17 18:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Two icons for Chrome can be seen (10.98 KB, image/png)
2022-01-24 05:44 UTC, spamless.9v5xj
Details
Place this in ~/.config (122 bytes, text/plain)
2022-01-24 05:46 UTC, spamless.9v5xj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spamless.9v5xj 2022-01-24 05:44:59 UTC
Created attachment 145832 [details]
Two icons for Chrome can be seen

SUMMARY
If Google Chrome has flags enabled, the Icons-Only Task Manager will sometimes not properly group the application, as the flags cause Plasma to believe it is a separate program

STEPS TO REPRODUCE
Unfortunately the exact trigger for the bug is unknown, though I have noticed it arising from running Google Chrome with various flags enabled using an auxiliary chrome-flags.conf placed at ~/.config .

OBSERVED RESULT
Two copies of Google Chrome are created in the taskbar

EXPECTED RESULT
The Google Chrome icon combines properly

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.8.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Relevant line in the file plasma-org.kde.plasma.desktop--appletsrc :

launchers=applications:google-chrome.desktop,applications:google-chrome --enable-features=VaapiVideoDecoder --use-gl=desktop.desktop,applications:steam.desktop,applications:signal-desktop.desktop,preferred://filemanager,applications:org.kde.konsole.desktop

(Normally the second icon appears unpinned and will not be in this file; in order to investigate this bug I manually pinned the duplicate which led me to discover this anomaly)

Contents of ~/.config/chrome-flags.conf :

--ignore-gpu-blocklist
--enable-gpu-rasterization
--enable-zero-copy
--enable-features=VaapiVideoDecoder
--use-gl=desktop
Comment 1 spamless.9v5xj 2022-01-24 05:46:52 UTC
Created attachment 145833 [details]
Place this in ~/.config
Comment 2 Nicolas Fella 2022-01-25 00:12:11 UTC
Is that on X11 or Wayland?
Comment 3 Nicolas Fella 2022-01-25 00:43:39 UTC
Can you please hover over the second entry and make a screenshot of the popup?
Comment 4 spamless.9v5xj 2022-01-25 07:33:34 UTC
(In reply to Nicolas Fella from comment #2)
> Is that on X11 or Wayland?

X11.
Comment 5 spamless.9v5xj 2022-01-25 07:36:13 UTC
(In reply to Nicolas Fella from comment #3)
> Can you please hover over the second entry and make a screenshot of the
> popup?

As noted before the bug happens randomly, but I'll grab a screenshot once it occurs.

Although for the record, visually on the end user side there was nothing out of the ordinary; the popup simply showed thumbnails just like any other icon.
Comment 6 Nate Graham 2023-10-17 18:36:55 UTC

*** This bug has been marked as a duplicate of bug 358277 ***