Bug 509420 - Duplicated icons shows in taskbar when open chrome live caption and in picture in picture mode
Summary: Duplicated icons shows in taskbar when open chrome live caption and in pictur...
Status: CLOSED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 6.4.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://issues.chromium.org/issues/44...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-12 14:51 UTC by Gary Wang
Modified: 2025-09-19 17:14 UTC (History)
4 users (show)

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


Attachments
Screenshot on Wayland (196.63 KB, image/png)
2025-09-17 07:48 UTC, Gary Wang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Wang 2025-09-12 14:51:44 UTC
SUMMARY

When "Group by program name" enabled, multiple chrome icons shows in the icon-only taskbar when open chrome with live caption and in picture in picture mode.

STEPS TO REPRODUCE

0. Ensure currently using "icon-only task manager" with "Group by program name" option selected
1. Install Chrome, open it
2. Open YouTube to play a video that have people speaking English, don't pause it when doing following steps
3. Enable "Live Caption" and ensure the live caption window is visible (i.e. after the related language model is downloaded)
4. Right click the video twice (to make the chrome context menu shows up) and click "Picture-in-Picture".
5. See result.

OBSERVED RESULT

- If user is in plasma x11 session, there will be 3 chrome icons on taskbar
- If user is in plasma wayland session, there will be 2 chrome icons on taskbar

EXPECTED RESULT

Only one single chrome icon on taskbar.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.4.5
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION

Let me know if you need any additional information.
Comment 1 Nate Graham 2025-09-16 22:38:09 UTC
I can't reproduce this. On Wayland, which window is the one that doesn't get grouped?
Comment 2 Gary Wang 2025-09-17 07:48:30 UTC
Created attachment 185001 [details]
Screenshot on Wayland

> On Wayland, which window is the one that doesn't get grouped?

The Chrome main window which shows the web pages is not grouped. The Picture-in-Picture window and the live caption floating window are grouped. See the attachment for my screenshot on Wayland.

Also note that the live caption floating window is not always on top on Wayland, which is also pretty annoying, but I believe it's not related to this bug report.
Comment 3 Gary Wang 2025-09-17 07:50:42 UTC
Additionally, I am using the `google-chrome` AUR package (https://aur.archlinux.org/google-chrome.git). Not sure if it's related.
Comment 4 Nate Graham 2025-09-17 14:24:58 UTC
Thanks. How do I make this "Live Caption" window appear? I'm not finding an option for it.
Comment 5 Gary Wang 2025-09-18 03:34:46 UTC
> How do I make this "Live Caption" window appear? I'm not finding an option for it.

See:

- https://support.google.com/chrome/answer/10538231?hl=en
- https://teacherscollege.screenstepslive.com/a/1382629-enable-live-caption-in-google-chrome

An easier method that I use is, when there is a video is playing, a playback control button will appear at the top-right corner of the chrome window, next to the button that allows you show/manage chrome extension, also next to your avatar/icon if you already logged in. Simply click that playback control button, you will be able to see the playback control popup, and in the bottom of the popup, you can see the live caption toggle there.
Comment 6 Nate Graham 2025-09-18 20:11:42 UTC
I can't seem to figure out how to turn it on. I'll leave this for someone else.
Comment 7 TraceyC 2025-09-18 23:53:53 UTC
I can reproduce this on Plasma 6.4.5. on Wayland I see three Chrome icons. When hovering over them:
- Google Chrome (with the video thumbnail and title)
- Live caption
- Picture in picture
Comment 8 David Redondo 2025-09-19 07:54:25 UTC
Chrome is setting app_id "google-chrome" on the main window and an empty one on the picture in picture window => chrome bug
Comment 9 Gary Wang 2025-09-19 14:41:40 UTC
Kinda surprise this was marked as resolved. Anyway I attempted to report this issue to upstream so people who also facing this issue could track the follow-up status: https://issues.chromium.org/issues/446124896
Comment 10 TraceyC 2025-09-19 17:14:17 UTC
(In reply to Gary Wang from comment #9)
> Kinda surprise this was marked as resolved.

The reason this was done is because the problem isn't in KDE code, so it isn't actionable by us. There isn't value in keeping a report open if there isn't anything we can do.

> Anyway I attempted to report
> this issue to upstream so people who also facing this issue could track the
> follow-up status: https://issues.chromium.org/issues/446124896

Thanks! Hopefully the Chromium folks can fix this.