Merge lp:~unity-api-team/indicator-sound/lp-1481913-revised-ui-volume-warnings into lp:indicator-sound/15.10
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Ted Gould | ||||||||
Approved revision: | 506 | ||||||||
Merged at revision: | 499 | ||||||||
Proposed branch: | lp:~unity-api-team/indicator-sound/lp-1481913-revised-ui-volume-warnings | ||||||||
Merge into: | lp:indicator-sound/15.10 | ||||||||
Diff against target: |
421 lines (+175/-85) 6 files modified
data/com.canonical.indicator.sound.gschema.xml (+39/-0) src/service.vala (+117/-80) src/volume-control-pulse.vala (+9/-1) tests/CMakeLists.txt (+3/-1) tests/media-player-user.cc (+2/-2) tests/volume-control-test.cc (+5/-1) |
||||||||
To merge this branch: | bzr merge lp:~unity-api-team/indicator-sound/lp-1481913-revised-ui-volume-warnings | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Ted Gould (community) | Approve | ||
Review via email: mp+267393@code.launchpad.net |
Commit message
Revised UI volume warnings to comply with EU requirements.
Description of the change
Revised UI volume warnings to comply with EU requirements.
This is a partial landing of a work in progress, primarily to ensure that the string changes are landed in time to be of use to translators.
Even though some work remains, this MR is usable and get us the main user-visible features for bug #1481913.
== What's New
Add the new confirmation notification and have it work nicely with the current info notification so they don't both show on the screen at the same time.
If running on a system where the notify service doesn't support actions (eg unity7 desktop), fall back to the current information bubble instead of trying to prompt for confirmation.
Honor the new 'high-volume-
Honor the new 'high-volume-level' gsetting, triggering the confirmation iff the volume is increased to that level.
Honor the new 'high-volume-
== What's Left for the Next MR
Pressing the 'down volume' key doesn't dismiss the confirmation notification
Users are allowed to keep increasing the volume while the confirmation notification is visible. The volume should be capped at high-volume-level until the user has given affirmation.
The notification tests need to be refreshed to match the updated spec.
The high-volume-level gsettting uses the same [0.0...1.0] range as the rest of the indicator-sound internals. It would be better to use decibels.
FAILED: Continuous integration, rev:500 jenkins. qa.ubuntu. com/job/ indicator- sound-ci/ 229/ jenkins. qa.ubuntu. com/job/ indicator- sound-wily- amd64-ci/ 5/console jenkins. qa.ubuntu. com/job/ indicator- sound-wily- armhf-ci/ 5/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/indicator- sound-ci/ 229/rebuild
http://