Media Buttons should trigger action only on button release
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
- David Barth: Approve
- Diff: 0 lines
- Cody Russell (community): Approve
-
Diff: 99 lines (+46/-2)2 files modifiedsrc/play-button.c (+3/-0)
src/transport-widget.c (+43/-2)
Changed in indicator-sound (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
summary: |
- Sound Indicator Buttons should fire on MouseUp + Media Buttons should trigger action only on button release |
description: | updated |
Changed in indicator-sound: | |
assignee: | nobody → Conor Curran (cjcurran) |
milestone: | none → 0.4.2 |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in indicator-sound: | |
status: | Confirmed → Fix Committed |
Changed in indicator-sound (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in indicator-sound: | |
status: | Fix Committed → Fix Released |
Changed in indicator-sound: | |
milestone: | 0.4.2 → 0.4.7 |
Changed in indicator-sound (Ubuntu): | |
status: | New → Triaged |
Changed in indicator-sound: | |
status: | Fix Committed → Fix Released |
Changed in indicator-sound (Ubuntu): | |
status: | Triaged → Fix Released |
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.