Menu Bar - Playback controls stay active when media players do not have the matching capability

Bug #782060 reported by Mirsal Ennaime
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
The Sound Menu
Triaged
Low
Unassigned
indicator-sound (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Capabilities like CanPlay, CanGoNext, CanGoPrev and CanControl are ignored by the sound menu, while they should be used in order to deactivate the relevant controls when the matching property of the org.mpris.MediaPlayer2.Player interface is set to false.

<https://wiki.ubuntu.com/SoundMenu#Playback_item>: "The playback item should be present if the player can be controlled externally (CanControl) ... The Back button should be sensitive whenever the player can seek (CanSeek) or go to a previous track (CanGoPrevious). And the Forward button should be sensitive whenever the the player can seek or go to a next track (CanGoNext)."

Tags: udp
Conor Curran (cjcurran)
Changed in indicator-sound:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Conor Curran (cjcurran)
Revision history for this message
Conor Curran (cjcurran) wrote :

Thanks Mirsal, agreed. Please consider this design team for any future designs with regards the sound menu.

Changed in ayatana-design:
assignee: nobody → Matthew Paul Thomas (mpt)
Changed in ayatana-design:
importance: Undecided → Medium
John Lea (johnlea)
summary: - Playback controls stay active when media players do not have the
- matching capability
+ Menu Bar - Playback controls stay active when media players do not have
+ the matching capability
tags: added: udp
Changed in ayatana-design:
status: New → Fix Committed
John Lea (johnlea)
Changed in indicator-sound (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in ayatana-design:
importance: Medium → Low
Changed in indicator-sound:
assignee: Conor Curran (cjcurran) → nobody
no longer affects: ayatana-design
Changed in indicator-sound:
status: Triaged → In Progress
assignee: nobody → Matthew Paul Thomas (mpt)
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Specification updated. <https://wiki.ubuntu.com/SoundMenu?action=diff&rev2=71&rev1=69> Unfortunately I can't tell, from the Mpris spec, whether the "CanGoNext" and "CanGoPrevious" properties change based on the current play state, or whether they're general properties of the player.

Changed in indicator-sound:
assignee: Matthew Paul Thomas (mpt) → nobody
status: In Progress → Triaged
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Oh, it's hidden in the collapsed Rationale: "Even when playback can generally be controlled, there may not always be a next track to move to." So, those properties should determine the sensitivity of the Back/Forward buttons, not their presence. Spec updated again. <https://wiki.ubuntu.com/SoundMenu?action=diff&rev2=72&rev1=71>

description: updated
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.