Bug 465704 - [neon unstable] Media Player systray icon widget attempts to show title of media being played
Summary: [neon unstable] Media Player systray icon widget attempts to show title of me...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player widget (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-14 10:59 UTC by Oded Arbel
Modified: 2023-02-14 21:02 UTC (History)
3 users (show)

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


Attachments
Screenshot showing the problem (127.76 KB, image/png)
2023-02-14 10:59 UTC, Oded Arbel
Details
Screenshot showing the media player visible in the collapsed system tray (7.29 KB, image/png)
2023-02-14 11:03 UTC, Oded Arbel
Details
really bad video capture showing the issue (3.22 MB, video/mp4)
2023-02-14 19:18 UTC, Oded Arbel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oded Arbel 2023-02-14 10:59:58 UTC
Created attachment 156223 [details]
Screenshot showing the problem

SUMMARY
The system tray icon for the media player widget is trying to show the title of the media being played, even though there's no room for it.

See screenshot.

STEPS TO REPRODUCE
1. Play a media in a supported application (I use KDEConnect and play something on Youtube on the phone)

OBSERVED RESULT
The media player icon is followed by partial text of the title of the media being played, and it is rendered behind the next icon (or visually cropped, if it is the last icon on a row)

EXPECTED RESULT
The media title should not be shown when only the media player icon is visible.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon unstable package 4:5.27.0+p22.04+tunstable+git20230214.0127-0
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Oded Arbel 2023-02-14 11:03:23 UTC
Created attachment 156224 [details]
Screenshot showing the media player visible in the collapsed system tray

The first screenshot shows the setup when the media player's system tray entry is set to "always hide". When set to the default of "Shown when relevant", the media player icon is always shown in the collapsed system tray when it has media to play - for which it also tries to render the title, behind other elements.
Comment 2 Nate Graham 2023-02-14 17:00:13 UTC
Well that's extremely odd. I can't reproduce it in my current git master though.

Are you sure it's the Media Player widget doing this? It kind of looks like KDE Connect is at fault.
Comment 3 Fushan Wen 2023-02-14 17:26:58 UTC
Cannot reproduce with Always Hidden either. If possible can you check if you are using an outdated systemtray?
Comment 4 Oded Arbel 2023-02-14 19:18:28 UTC
Created attachment 156242 [details]
really bad video capture showing the issue

Here's a screencast (actually - video capture from my phone because pipewire video capture is really broken on my system now, for some reason) showing the media player controlling Firefox playback. This also shows the weird strobing effect it does: its not bad, just surprising, and we also see that the text under the systray icons strobes with it - showing clear ownership.

Regarding updates - I'm using Neon unstable packages updated this evening, and plasmashell restarted. This is a new behavior that I didn't notice until a couple of days ago.
Comment 5 Oded Arbel 2023-02-14 19:41:00 UTC
Ok, apologies for the bug spam - this was apparently a mess up with my installation.

See this comment if you are interested in the details: https://bugs.kde.org/show_bug.cgi?id=465225#c21
Comment 6 Nate Graham 2023-02-14 21:02:41 UTC
Glad to hear it!