Media Buttons should trigger action only on button release

Bug #624610 reported by Xhacker Liu
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
The Sound Menu
Fix Released
Low
Conor Curran
indicator-sound (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: indicator-sound

- Open the Sound Indicator
- Press the button Play/skip back/skip forward and Hold the Button [do not release button press]
- Actions occur, either song is played or skipped, *immediately*

This is a deviation from system wide behavior of the buttons.

Try the same on Rhythmbox:

- Open Rhythmbox
- Press the button Play/skip back/skip forward and Hold the Button [do not release button press]
- Actions will not happen ! [neither song is played or skipped]

- Now release the button press.
- Action occurs, song is played or skipped only after the button is released

System-wide,
- Button press + button release within button boundary == Action occurs.
- After a button press, Even if the button is released outside the button boundary Action wont occur.

While the media buttons in the indicator-sound are the only deviant ones, they react immediately to button press.

Related branches

Revision history for this message
Jorge Suárez de Lis (ys) wrote :

I've also noticed the strange behaviour. The buttons react to mousedown, not mouserelease as all the other items. Also, if you try to drag the buttons they will stay looking as they were being pushed.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what version of Ubuntu do you use?

Changed in indicator-sound (Ubuntu):
importance: Undecided → Low
Revision history for this message
cldx (cldx3000) wrote :

Hi everybody,

FYI: my Current Ubuntu Version is 10.10, last updated 31.08.2010 approx. 2 p.m. and this Bug does affect me too.

I would suggest to rename this bug to something more specific like "Sound Indicator Buttons should fire on MouseUp" since "behaves strangely" could mean pretty much anything.

I second the opinion that the Buttons should fire on MouseUp as i think most people would expect a behavior like this:

-Open the Sound Indicator
-Click and Hold the Button
->leading to
a) release the Mouse Button and call the Button Action
OR
b)release the Mouse Button outside the Clickable Area and therefore dismiss the Action

Revision history for this message
Xhacker Liu (xhacker) wrote :

@cldx Thanks!

summary: - Buttons' behavior are strange
+ Sound Indicator Buttons should fire on MouseUp
description: updated
Vish (vish)
Changed in indicator-sound (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: Sound Indicator Buttons should fire on MouseUp

the description is unclear, what happens and should not?

Vish (vish)
description: updated
summary: - Sound Indicator Buttons should fire on MouseUp
+ Media Buttons should trigger action only on button release
Vish (vish)
description: updated
Conor Curran (cjcurran)
Changed in indicator-sound:
assignee: nobody → Conor Curran (cjcurran)
milestone: none → 0.4.2
importance: Undecided → Low
status: New → Confirmed
Conor Curran (cjcurran)
Changed in indicator-sound:
status: Confirmed → Fix Committed
Changed in indicator-sound (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-sound - 0.4.2-0ubuntu1

---------------
indicator-sound (0.4.2-0ubuntu1) maverick; urgency=low

  * New upstream release fixing those issues
    - Media Buttons should trigger action only on button release (lp: #624610)
    - Mouse wheel no longer works to change volume (lp: #620858)
    - Crashes if Rhythmbox is playing from Last.FM (lp: #627505)
 -- Sebastien Bacher <email address hidden> Wed, 08 Sep 2010 12:32:24 +0200

Changed in indicator-sound (Ubuntu):
status: Fix Committed → Fix Released
Conor Curran (cjcurran)
Changed in indicator-sound:
status: Fix Committed → Fix Released
Revision history for this message
Xhacker Liu (xhacker) wrote :

I think this issue seems not fully fixed.

"After a button press, Even if the button is released outside the button boundary Action wont occur."

When I press it and release the button outside, it keeps pressed.

Changed in indicator-sound (Ubuntu):
status: Fix Released → New
Changed in indicator-sound:
status: Fix Released → New
Conor Curran (cjcurran)
Changed in indicator-sound:
milestone: 0.4.2 → 0.4.7
Vish (vish)
Changed in indicator-sound (Ubuntu):
status: New → Triaged
Revision history for this message
Conor Curran (cjcurran) wrote :

On menu close the button state will be reset with the new branch. Ideally I would like to have the effect whereby after button press if the cursor leaves the specified boundary then the button should release properly without any action.

Changed in indicator-sound:
status: New → Fix Committed
Conor Curran (cjcurran)
Changed in indicator-sound:
status: Fix Committed → Fix Released
Changed in indicator-sound (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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