Bug 435634 - Gwenview causes media player icon to hide while music is playing
Summary: Gwenview causes media player icon to hide while music is playing
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player widget (show other bugs)
Version: 5.21.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-11 23:59 UTC by medin
Modified: 2021-04-13 15:35 UTC (History)
2 users (show)

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


Attachments
Gwenview causes media player icon to hide while music is playing (2.00 MB, video/mp4)
2021-04-11 23:59 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2021-04-11 23:59:59 UTC
Created attachment 137518 [details]
Gwenview causes media player icon to hide while music is playing

If Firefox (or Elisa) is playing music, after launching Gwenview and selecting its tab in media player, the media player icon is hidden even if music is still playing and the media player tray widget is configured to be "Shown when when relevant". See attached video for more info.
Comment 1 Nate Graham 2021-04-13 15:02:24 UTC
The applet is configured to hide when nothing is playing. When you click on Gwenview's icon in the tab bar of the applet, you're telling the applet to monitor a source with noting playing. Ergo, the applet hides itself.

Gwenview exposes playback information to the applet because you can use it to control a slideshow using standard MPRIS input sources (e.g. the applet, global shortcuts, KDE connect). You can safely ignore that functionality unless you're actually playing a slideshow.
Comment 2 medin 2021-04-13 15:35:01 UTC
(In reply to Nate Graham from comment #1)
> The applet is configured to hide when nothing is playing. When you click on
> Gwenview's icon in the tab bar of the applet, you're telling the applet to
> monitor a source with noting playing. Ergo, the applet hides itself.
> 
> Gwenview exposes playback information to the applet because you can use it
> to control a slideshow using standard MPRIS input sources (e.g. the applet,
> global shortcuts, KDE connect). You can safely ignore that functionality
> unless you're actually playing a slideshow.

I think redirecting the monitored source based on selected tab in Media Player is not intuitive at all, what an average user would expect is to control the appearance of the widget icon based on all playing sources which means that the widget icon should be visible if at least one source is still playing sound.