We have moved to a new Sailfish OS Forum. Please start new discussions there.
37

Bug: Changing volume turns on display

asked 2014-03-03 02:34:30 +0200

sjn gravatar image

updated 2014-09-18 20:15:14 +0200

chemist gravatar image

If one changes the volume while the display is off and something is playing sounds, this action turns on the display.

To reproduce this error:

  1. Start playing some music.
  2. Turn off screen.
  3. Change (increase/decrease) the volume
  4. The screen is now turned on, in order to give visual feedback of volume level.

There's no need to give a visual feedback about volume level when auditory feedback is both available and sufficient.

This also happens with locked (device lock) screen and no playback, with or without covered proximity sensor you may change the volume and turn on the screen (or trigger a 2 sec timer for showing the change in volume).

edit retag flag offensive close delete

Comments

https://together.jolla.com/question/27089/bug-screen-turns-on-after-volume-rocker-was-pressed-and-proximity-sensor-is-opened/ interesting that this had no personal bug-report yet, it was mentioned together with several other issues like pocket-calling (which actually does not unlock the display while the proximity-sensor is covered.

chemist ( 2014-03-03 10:13:44 +0200 )edit

Yeah, seems the proximity sensor affects this bug too. If you place the phone screen-down on a surface (while playing music), changing volume doesn't turn on the screen.

sjn ( 2014-03-03 12:00:37 +0200 )edit
2

Even if the player is turned off later, it still keeps doing this by the way

Bulder ( 2014-03-03 12:12:48 +0200 )edit
3

So it it not necessarily a bug, it may be intention. (Actually, I like it to have a feed back about the actual setting of the volume control: It could be that not knowing you have a very low sound source at the moment, turn it up and then louder sources unexpectedly blow out your ears.)

jgr ( 2014-03-03 12:28:10 +0200 )edit
3

Volume control unlocks the display regardless if any media is played. ie. pressing volume control while phone is locked means after the visual feedback of the volume changing the screen is no longer locked (Although if there is no interaction with the screen, the display returns to locked mode after 2 seconds.)

Sawyer ( 2014-03-03 17:20:14 +0200 )edit

2 Answers

Sort by » oldest newest most voted
4

answered 2014-09-18 08:43:18 +0200

spiiroin gravatar image

The volume key policy is roughly: Volume keys do nothing, unless

  • display is on and ui is not locked (=not showing locksreen)
  • audio playback ongoing (=latest audio policy decision from ohm)
  • there is a call

When volume key is pressed while they are enabled, a 2 second "exceptional display on" state is started. If proximity sensor is not covered or is uncovered during that period, the display can be turned on to provide visual feedback about the change.

Note that the behavior has changed over the time

  • initially (at sales start) volume keys went through, without any feedback if display happened to be off
  • early 2014 display turns on if proximity etc (part of major refactoring of all display state controls)
  • spring 2014 volume keys are only enabled when policy allows it (input control backend for Jolla hw too)
  • summer 2014 volume keys are disabled when audio playback stops (sailfish apps release audio resources)
  • there still are problems with android apps that do sound -> volume keys can stay active
edit flag offensive delete publish link more

Comments

This is not true - My device is locked (lock code required) and no playback at all, volume changes and display gets turned on. Same with covered proximity sensor, I can change the volume and even use the pwrbutton to turn on the display, if I release the proximity sensor within that given 2sec timeframe the display gets lid for the remaining time.

chemist ( 2014-09-18 20:11:32 +0200 )edit

@chemist: If you try it after reboot, does it work right after boot up / when using sailfish apps for audio? As said, there are known problems with android apps and audio. But identifying sailfish apps that cause problems might be useful. Power button is completely different thing and by default pays no attention to proximity sensor. And "for the remaining time" part is what "If proximity sensor is not covered or is uncovered during that period" meant.

spiiroin ( 2014-09-18 21:20:40 +0200 )edit

right after boot it is behaving like you said, so it is actually an aliendalvik bug... thanks

chemist ( 2014-09-18 22:06:34 +0200 )edit
0

answered 2014-03-06 09:50:56 +0200

updated 2014-03-07 10:03:32 +0200

Actually it seems like a bug in the stock media player app. When audio is played using QML's MediaPlayer element, the screen does not turn on while changing the volume. I can absolutely reproduce this with my own app, I am currently developing (internet radio player).

Update 1:

I think, the following would be the best behavior:

  • When media is playing, while phone is locked, the screen should not be turned on*
  • When no media is playing, the screen should be turned on, so that we know, which volume-level is set
  • On the latter, the proximity sensor should disable the volume-rocker, because we can't notice the volume-change at all

* This is the current behavior, except for the stock media player / custom player backends

Update 2: Now I am confused... This morning I tested this again and the screen turned on when I changed the volume, even with my app. Yesterday I was absolutely able to reproduce this behavior... I don't get it :D

edit flag offensive delete publish link more

Comments

The screen turns on even without anything playing...

chemist ( 2014-03-06 11:09:44 +0200 )edit

I think, that is the correct behavior. When nothing is playing and you change the volume while the device is locked, how would you know, which volume is set? In my opinion, either the volume rocker should be disabled while the phone is locked and nothing is playing - or the current behavior should remain.

ejjoman ( 2014-03-06 11:16:34 +0200 )edit

And that is in another question already, proximity sensor does not disable volume-rocker when idle... It could be "if screen is off and nothing is playing don't change the volume"

chemist ( 2014-03-06 11:49:25 +0200 )edit

Yes, that is another question and should maybe discussed in another topic? I've updated my answer.

ejjoman ( 2014-03-06 12:08:52 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2014-03-03 02:34:30 +0200

Seen: 996 times

Last updated: Sep 18 '14