Volume buttons change ringtone volume when screen is off

Bug #1291458 reported by Michał Sawicz
84
This bug affects 17 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
High
John McAleely
unity8 (Ubuntu)
Confirmed
High
Unassigned

Bug Description

This is a rather bigger topic for user experience design, but one thing that should at least happen asap is volume buttons should be disabled when screen is off, otherwise your you-thought-silenced-phone suddenly blares a ring tone.

Steps to repro:
* suspend your phone
* press volume buttons

Expected result:
* nothing happens

Current result:
* volume changes

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity8 7.84+14.04.20140306-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.13.3-0ubuntu1
Architecture: armhf
Date: Wed Mar 12 13:14:37 2014
InstallationDate: Installed on 2014-03-12 (0 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20140312)
SourcePackage: unity8
UpgradeStatus: No upgrade log present (probably fresh install)

-----------------------------------------------------------------------------

<https://wiki.ubuntu.com/SessionHandling#Sleep>: "When the screen is off, to minimize accidental volume changes, the keys should have effect only if any audio is currently playing, and they should not turn on the screen."

Tags: volume
Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Michał Sawicz (saviq) wrote :

For the longer-term plan, I believe MeeGo solved this pretty nicely:

- when music is played, volume buttons will change that volume, when screen is off as well
- when an app producing sound is in focus (i.e. navigation), that app's volume is changed
- otherwise sound profile is changed between silent, quiet and ~three levels of ringtone volume

Anders (eddiedog988)
Changed in ubuntu-ux:
status: New → Confirmed
Changed in unity8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It's estimated to have a moderate impact on a large portion of Ubuntu users.

Changed in unity8 (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Changed in unity8:
status: New → Confirmed
John Lea (johnlea)
summary: - Volume buttons change ringtone volume when suspended
+ [platform design] Volume buttons change ringtone volume when suspended
Changed in ubuntu-ux:
assignee: nobody → Daniela Ferrai (dferrai)
status: Confirmed → Triaged
description: updated
Changed in ubuntu-ux:
status: Triaged → Fix Committed
Revision history for this message
Michał Sawicz (saviq) wrote : Re: [platform design] Volume buttons change ringtone volume when suspended

What if you're playing music? You'd need to wake/unlock the phone to change the music volume.

For sound profile / ringtone volume you'd have to unlock the phone (potentially with an elaborate password).

Please reconsider the proposal with those use cases in mind.

Michał Sawicz (saviq)
no longer affects: unity8
Changed in ubuntu-ux:
assignee: Daniela Ferrai (dferrai) → Matthew Paul Thomas (mpt)
Changed in ubuntu-ux:
status: Fix Committed → Confirmed
importance: Undecided → Medium
Changed in ubuntu-ux:
status: Confirmed → Triaged
John Lea (johnlea)
summary: - [platform design] Volume buttons change ringtone volume when suspended
+ [System Settings] Volume buttons change ringtone volume when suspended
Revision history for this message
Albert Astals Cid (aacid) wrote : Re: [System Settings] Volume buttons change ringtone volume when suspended

unity8 waiting for design -> Incomplete

Changed in unity8 (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Michał Sawicz (saviq) wrote :

I think we should make this bug more broad, to think through the volume (buttons and indicator) behaviour for ringtone, music, alarm, apps etc.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

I'm surprised that I have to specify that volume buttons should be ignored when the device is asleep; I wouldn't have thought responding to them was even possible. But anyway, spec updated. <https://wiki.ubuntu.com/SessionHandling?action=diff&rev2=26&rev1=25>

Michal, your comments about what the buttons should change the volume of seem to be unrelated to the bug as reported. For example, when the phone is playing music obviously it is not suspended. Please report those separately.

Changed in ubuntu-ux:
status: Triaged → Fix Committed
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

(I see now that Michal had already reported them as bug 1478075.)

Changed in ubuntu-ux:
importance: Medium → Critical
tags: added: hardware-related
Changed in unity8 (Ubuntu):
status: Incomplete → New
status: New → Incomplete
description: updated
Changed in unity8 (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity8 (Ubuntu):
status: New → Confirmed
Paty Davila (dizzypaty)
Changed in ubuntu-ux:
status: Fix Committed → In Progress
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

I misunderstood this bug report because it referred to the phone being "suspended". But as far as I know, the phone is never suspended. If I'm wrong, please tell me how to suspend it.

As for when the screen is off, preliminary discussion in the design team is that the volume buttons should still work when audio is playing, but not at other times.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

The phone suspends when there is no activity to keep it awake. Music playback would not allow it to suspend. The volume buttons seems to be causing the phone to resume and change levels. These buttons should not be a wakeup source if that is what is happening.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

For the specific description this is a low level hardware config issue it seems to me, nothing to do with unity or system settigs.

Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
importance: Undecided → High
milestone: none → backlog
status: New → Confirmed
tags: added: volume
tags: removed: apport-bug armhf hardware-related trusty
Changed in canonical-devices-system-image:
milestone: backlog → ww08-2016
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

I've moved this detail to the sound specification, since that's where the volume button behavior is defined already. <https://wiki.ubuntu.com/Sound?action=diff&rev2=167&rev1=166>

Changed in ubuntu-ux:
status: In Progress → Fix Committed
summary: - [System Settings] Volume buttons change ringtone volume when suspended
+ Volume buttons change ringtone volume when suspended
Changed in canonical-devices-system-image:
milestone: ww08-2016 → 11
Changed in canonical-devices-system-image:
milestone: 11 → backlog
Revision history for this message
Julia Palandri (julia-palandri) wrote : Re: Volume buttons change ringtone volume when suspended

Furthermore, there's no visual feedback than the volume is being changed (since the screen is off).
With latest image on turbo (r98), with the screen off I press volume down or up. I immediately after turn the screen on and I see the notification of the volume having changed.

no longer affects: band-aids-uphone
description: updated
summary: - Volume buttons change ringtone volume when suspended
+ Volume buttons change ringtone volume when screen is off
Revision history for this message
John McAleely (john.mcaleely) wrote :

I assume this behaviour may tie to the very lowest levels of the software - those keys do double duty as watchdog/reboot triggers, so even in very deep sleep, they probably do need to actually wake up the device in some cases.

Of course, either the lower levels or 'unity' should filter them in this case, and not trigger a volume change.

no longer affects: ubuntu-ux
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.