Regression in Ubuntu 16.04: Pause button is not shown when CanPause is true and CanPlay is false

Bug #1576970 reported by Jiří Janoušek
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
indicator-sound (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Sound Indicator stopped working correctly with my app Nuvola Player in Ubuntu 16.04 (this issue hasn't happened in previous Ubuntu releases). When I start playback via the Sound Indicator play button, the play button doesn't change to a pause button although all required MPRIS metadata are set correctly by Nuvola Player: CanPause is true, CanPlay is false and PlaybackStatus is Playing.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Ubuntu releases and corresponding indicator-sound packages I have tested:

- Ubuntu 16.04 indicator-sound 12.10.2+16.04.20160406-0ubuntu1 doesn't work properly.
- Ubuntu 15.10 indicator-sound 12.10.2+15.10.20150915-0ubuntu1 does work properly.
- Ubuntu 14.04 indicator-sound 12.10.2+14.04.20140401-0ubuntu1 does work properly.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

The issue is probably caused by wrong implementation of MPRIS CanPlay and CanPause flags in Nuvola Player. They are supposed be almost always true independently of playback state.

Changed in indicator-sound (Ubuntu):
status: New → Invalid
Revision history for this message
Xavi Garcia (xavi-garcia-mena) wrote :

I've been testing this with the following players:

rhythmbox
banshee
spotify

All 3 work fine, so it makes me think the problem is in Nuvola.

We haven't change anything about MPRIS in the sound indicator recently.

I'm moving this as invalid, if you still think it is a problem in the sound indicator, please re-open.

andzep (andzep)
Changed in indicator-sound (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
andzep (andzep) wrote :

I have exactly the same problem with cantata. After the upgrade to 16.04 today, the play button stays on 'play state' and also the media play key on the keyboard doesn't work anymore for cantata. On rhythmbox everything still works as expected.

Both things were working perfectly well on 14.04 before the upgrade.

Revision history for this message
andzep (andzep) wrote :

Ok, seems like the bug with the sound indicator was indeed a cantata issue:

https://github.com/CDrummond/cantata/issues/863

The problem with the media 'play/pause'-key on the keyboard is something else.

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.