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

Reported by Mirsal Ennaime on 2011-05-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Sound Menu
Low
Unassigned
indicator-sound (Ubuntu)
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 Edit Tag help
Conor Curran (cjcurran) on 2011-05-16
Changed in indicator-sound:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Conor Curran (cjcurran)
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) on 2012-09-19
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) on 2012-10-15
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)
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
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  Edit
Everyone can see this information.

Other bug subscribers