org.mpris.MediaPlayer2.MediaHub player is exposed at startup, making the indicator show a player that it's not fully functional
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
High
|
John McAleely | ||
Ubuntu UX |
New
|
Undecided
|
Unassigned | ||
media-hub (Ubuntu) |
In Progress
|
High
|
Jim Hodapp | ||
media-hub (Ubuntu RTM) |
In Progress
|
High
|
Jim Hodapp |
Bug Description
At boot the indicator-sound is showing a player that we cannot launch and with all playback controls disabled.
It shows the "Media Player", not the music app.
After some investigation I saw that the following player is appearing on the dbus:
(process:7236): indicator-
(process:7236): indicator-
I'm not sure the desktop entry is valid and, in fact, the user cannot do anything with this player.
I also noticed that, when starting the music-app, it does not make any new player to appear on the dbus. (we only have the media-hub).
I'm not sure how to proceed with this, because some people has asked why we are showing that player at the beginning.
I understand the media-hub is a bridge for sound on the phone, but I'm not sure what we do now is correct.
I was thinking on ignoring the media-hub player at startup, but if then we don't get any other player when we start a music app the indicator won't have any player at all.
Maybe the media-hub should publish the information of the actual player when it starts playing music.
Changed in media-hub (Ubuntu): | |
importance: | Undecided → Medium |
importance: | Medium → High |
Changed in media-hub (Ubuntu RTM): | |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
assignee: | nobody → John McAleely (john.mcaleely) |
Changed in media-hub (Ubuntu): | |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in media-hub (Ubuntu RTM): | |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in media-hub (Ubuntu): | |
status: | New → In Progress |
Changed in media-hub (Ubuntu RTM): | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
milestone: | ww08-2016 → 11 |
Changed in canonical-devices-system-image: | |
milestone: | 11 → 12 |
Changed in canonical-devices-system-image: | |
milestone: | 12 → 13 |
Changed in canonical-devices-system-image: | |
milestone: | 13 → backlog |
After having a discussion with the indicator team, the proposal is to make sure that media-hub exports a generic default string for the case when there is no current player. This happens directly after a fresh bootup. In this case, indicator-sound can simply hide itself until a player is loaded.
Also, once the functionality that sets the current player is changed from a UI focus-based approach to a last-played approach, media-hub will more accurately export the correct current player over MPRIS to indicator-sound. This is a separate bug: https:/ /bugs.launchpad .net/ubuntu/ +source/ indicator- sound/+ bug/1538703