Bug 361062 - New Multi-Media Tray Icon Doesn't Open KRadio4
Summary: New Multi-Media Tray Icon Doesn't Open KRadio4
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player widget (show other bugs)
Version: 5.5.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-27 22:05 UTC by PGillespie
Modified: 2016-12-24 16:38 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PGillespie 2016-03-27 22:05:25 UTC
My update to 16.04, from 15.10, broke RadioTray. I uploaded and am trying KRadio4. 

Am noticing that when I close all windows and depend on the Kradio4 Panel Icon, clicking on "Open Kradio4" doesn't work. This means that if I want to change a station (I listen to Internet Radio), I have to killall, then restart KRadio4. I haven't found any other way, yet, to "re-invoke" the KRadio4 dialog window. 

Reproducible: Always

Steps to Reproduce:
1. Start KRadio4
2. Pick a station. Close all Windows.
3. Try to "open" KRadio4 from the tray Icon.

Actual Results:  
Nothing happens.

Expected Results:  
Opens the KRadio4 dialog window.
Comment 1 PGillespie 2016-03-28 12:05:52 UTC
Update: After rebooting, the KRadio4 Icon showed up in the icon tray. However, the <Open KRadio4> button on the separate Play/Pause Icon(?) still doesn't actually open KRadio4. This would appear to be a minor bug (if a bug at all?).
Comment 2 David Rosca 2016-04-02 11:28:07 UTC
I assume you mean Media Player applet with the "Open KRadio4" button?
Comment 3 PGillespie 2016-04-02 12:18:56 UTC
Yes. In the meantime, I've noticed that the "Open..." button also doesn't work for other apps.

As an aesthetic matter, the Media Player applet displays three "blank/generic" music icons on the left (one larger with two superimposed at the bottom) when streaming radio on KRadio. Strikes me as rather pointless, ugly and inelegant (also makes less room for song information). Wouldn't it be more elegant to simply omit icons if none are available?
Comment 4 Kai Uwe Broulik 2016-12-24 16:38:49 UTC
All that the media player applet does is ask the application to raise itself. It it doesn't, that's a bug in the application. It does work with Nuvola player, for instance. The application can also announce that it doesn't support raising itself (for example VLC player) at which point the media player will not offer this option.

Try calling the method directly to see whether the bug is on our side or the player's:
qdbus org.mpris.MediaPlayer2.PLAYERNAME /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Raise 

The "CanRaise" property tells you whether the application claims to be able to honor such requests.