Indicator sound menu always showing media player in "running" state

Bug #1373319 reported by Nick Dedekind
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Fix Released
Medium
Nick Dedekind

Bug Description

Even if nothing is playing or loaded into a music player, the player still shows in running state.

Unity8 should be using the state in conjunction with the running flag to determine if it should display track info.

Partial output of actions shows "running=true"
dbus-send --print-reply --session --dest=com.canonical.indicator.sound /com/canonical/indicator/sound org.gtk.Actions.DescribeAll

      dict entry(
         string "mediaplayer-app.desktop"
         struct {
            boolean false
            signature ""
            array [
               variant array [
                     dict entry(
                        string "running"
                        variant boolean true
                     )
                     dict entry(
                        string "state"
                        variant string "Stopped"
                     )
                  ]
            ]
         }
      )

Related branches

summary: - "running" flag in sound menu action state is always set to true
+ "running" flag in indicator sound menu action state is always set to
+ true
Revision history for this message
Lars Karlitski (larsu) wrote : Re: "running" flag in indicator sound menu action state is always set to true

"running" means that the application process is running and exposing the MPRIS interface. It has nothing to do with the play status (that's "state") or whether something's loaded into the player (that's "title" / "artist" / "album").

Changed in indicator-sound:
status: New → Invalid
summary: - "running" flag in indicator sound menu action state is always set to
- true
+ Indicator sound menu always showing media player in "running" state
description: updated
Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

Unity8 should be using the state in conjunction with the running flag to determine if it should display track info.
Play/Paused + running = show tracks
Anything else = show player placeholder.

Changed in unity8 (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Nick Dedekind (nick-dedekind)
importance: High → Medium
status: Confirmed → In Progress
no longer affects: indicator-sound
description: updated
Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Jim Hodapp (jhodapp)
no longer affects: media-hub
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.