Indicator shouldn't set volume on pulse/account service if the volume didn't change
Bug #1443005 reported by
Ricardo Salveti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-sound (Ubuntu) |
Fix Released
|
Medium
|
Ricardo Salveti |
Bug Description
current build number: 168
device name: mako
channel: ubuntu-
alias: ubuntu-
last update: 2015-04-12 03:49:09
version version: 168
version ubuntu: 20150411
version device: 20150210
version custom: 20150411
This is a regression from RTM.
The current logic doesn't check for the volume value before calling pulseaudio and account service when updating the volume variable. The consequence is that it will set the volume at least twice after you change it, since it will get a callback from account service, and that will result in another volume set with the exact same volume.
Related branches
lp://qastaging/~rsalveti/indicator-sound/only_set_volume_different_reason_not_As
- Charles Kerr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 46 lines (+20/-17)1 file modifiedsrc/volume-control-pulse.vala (+20/-17)
Changed in indicator-sound (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Ricardo Salveti (rsalveti) |
importance: | Undecided → Medium |
To post a comment you must log in.
This bug was fixed in the package indicator-sound - 12.10.2+ 15.04.20150413- 0ubuntu1
--------------- 2+15.04. 20150413- 0ubuntu1) vivid; urgency=medium
indicator-sound (12.10.
[ CI Train Bot ]
* New rebuild forced.
[ Ricardo Salveti de Araujo ] control- pulse: only set volume if value is indeed different
* volume-
and reason not from AS (LP: #1443005)
[ Ted Gould ]
* Fix stream property lookup to reliably signal multimedia streams
(LP: #1436021)
-- CI Train Bot <email address hidden> Mon, 13 Apr 2015 06:02:32 +0000