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

** Changed in: unity8 (Ubuntu)
   Importance: Undecided => High

** Changed in: unity8 (Ubuntu)
     Assignee: (unassigned) => Nick Dedekind (nick-dedekind)

** Changed in: unity8 (Ubuntu)
   Importance: High => Medium

** Changed in: unity8 (Ubuntu)
       Status: Confirmed => In Progress

** Branch linked: lp:~nick-dedekind/unity8/indicator-polishing

** Branch linked: lp:~nick-dedekind/ubuntu-settings-components
/indicator-polishing

** No longer affects: indicator-sound

** Description changed:

  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"
                       )
                    ]
              ]
           }
        )

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1373319

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

Status in Media Hub:
  New
Status in “unity8” package in Ubuntu:
  In Progress

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"
                       )
                    ]
              ]
           }
        )

To manage notifications about this bug go to:
https://bugs.launchpad.net/media-hub/+bug/1373319/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to