Bug 491540 - KDE Plasma Window Thumbnails
Summary: KDE Plasma Window Thumbnails
Status: CLOSED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player (show other bugs)
Version: 6.1.3
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-10 15:06 UTC by hsnnsnc
Modified: 2024-08-12 20:06 UTC (History)
2 users (show)

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


Attachments
Chrome browser (161.25 KB, image/jpeg)
2024-08-10 15:06 UTC, hsnnsnc
Details
Firefox browser (166.16 KB, image/jpeg)
2024-08-10 15:07 UTC, hsnnsnc
Details
Chrome browser multimedia plauer (119.39 KB, image/jpeg)
2024-08-10 15:10 UTC, hsnnsnc
Details
Chrome browser private windows (157.82 KB, image/jpeg)
2024-08-10 15:10 UTC, hsnnsnc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hsnnsnc 2024-08-10 15:06:49 UTC
Created attachment 172469 [details]
Chrome browser

SUMMARY
When playing videos in Chrome browser, KDE Plasma panel does not show videos played in small windows (Window Thumbnails). This is not the case in Firefox.

I think this problem is caused by Media Player. Trying to remove this add-on disrupts the system stability.

Also, when I open Chrome browser as Secret Window, it shows in Window Thumbnails without any problem.

STEPS TO REPRODUCE
1.  Open a video from YouTube in your Chrome browser.
2. The playing video does not appear in the Window Thumbnails that open when hovering over the Chrome browser icon in the panel.
3. When you do the same things in the Firefox browser, everything is as it should be.


OBSERVED RESULT
The playing video does not appear in the Window Thumbnails that open when hovering over the Chrome browser icon in the panel.

EXPECTED RESULT
The playing video appears in the Window Thumbnails that appear when hovering over the Chrome browser icon in the panel.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.5.0-45-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 15.5 GB of RAM
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION
Comment 1 hsnnsnc 2024-08-10 15:07:33 UTC
Created attachment 172470 [details]
Firefox browser
Comment 2 hsnnsnc 2024-08-10 15:10:13 UTC
Created attachment 172471 [details]
Chrome browser multimedia plauer
Comment 3 hsnnsnc 2024-08-10 15:10:45 UTC
Created attachment 172472 [details]
Chrome browser private windows
Comment 4 Nate Graham 2024-08-12 16:59:12 UTC
What exactly do you mean by "Trying to remove this add-on disrupts the system stability"? It's actually not removable. Are you saying you've got it set up be disabled in the System Tray settings window or something?

Regardless, everything seems to be working as intended here. Chrome's thumbnails show the media cover art, as sent by the browser. In Firefox this doesn't happen because the browser doesn't send any cover art, so you get the standard window thumbnails. If you want cover art in Firefox, you'll need to either use Plasma Browser Integration, or Tell Firefox to turn on its own MPRIS media player exporting functionality. IIRC there's something for that in about:config.

See also:
- https://winaero.com/enable-or-disable-media-controls-in-mozilla-firefox/
- https://support.mozilla.org/en-US/kb/control-audio-or-video-playback-your-keyboard?redirectslug=firefox-media-controls&redirectlocale=en-US
Comment 5 hsnnsnc 2024-08-12 19:41:39 UTC
(In reply to Nate Graham from comment #4)
> What exactly do you mean by "Trying to remove this add-on disrupts the
> system stability"? It's actually not removable. Are you saying you've got it
> set up be disabled in the System Tray settings window or something?
> 

When I try to uninstall it, it wants to uninstall all the other KDE Plasma components due to dependencies, which means the system becomes inoperable. That's what I mean...

> Regardless, everything seems to be working as intended here. Chrome's
> thumbnails show the media cover art, as sent by the browser. In Firefox this
> doesn't happen because the browser doesn't send any cover art, so you get
> the standard window thumbnails. If you want cover art in Firefox, you'll
> need to either use Plasma Browser Integration, or Tell Firefox to turn on
> its own MPRIS media player exporting functionality. IIRC there's something
> for that in about:config.

I guess I'm not expressing myself well (because I'm not a native English speaker)

When playing a video in Chrome, I prefer to see the video content as Window Thumbnails instead of the media cover art. Firefox does the right thing here. The bad ones are Chrome and Plasma Integration...

Without further ado, I think Plasma Integration and similar add-ons should be optional. We should be able to delete them or at least disable them whenever we want.

Note: I think the confusion is caused by having both browsers (Chrome and Firefox) open at the same time.

Note 2: Is this a fatal problem? Of course not. But it's annoying for someone as obsessive as me.
Comment 6 Nate Graham 2024-08-12 20:06:18 UTC
(In reply to hsnnsnc from comment #5)
> When I try to uninstall it, it wants to uninstall all the other KDE Plasma
> components due to dependencies, which means the system becomes inoperable.
> That's what I mean...
Yeah, exactly. And that's what I meant by "It's actually not removable." :)


> When playing a video in Chrome, I prefer to see the video content as Window
> Thumbnails instead of the media cover art. Firefox does the right thing
> here. The bad ones are Chrome and Plasma Integration...
Then you need to disable MPRIS/media player integration in Chrome. There's gotta be a way to do it in the app.


> Without further ado, I think Plasma Integration and similar add-ons should
> be optional. We should be able to delete them or at least disable them
> whenever we want.
Plasma Integration is optional. You can remove it at any time. The aforementioned Media Player widget is not, but it's not the cause of this, it's simply one other place where media player stuff does get shown.

Basically what I'm saying is that if you don't like the fact that Chrome exports its media player data to Plasma, you should just turn it off.