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

bug screen turns on after volume-rocker was pressed and proximity sensor is opened [answered]

asked 2014-02-12 14:09:26 +0200

chemist gravatar image

updated 2014-10-15 11:35:58 +0200

Cover proximity sensor - > change volume -> release on proximity sensor -> screen flashes to show volume change

This is probably related to (power-)buttons being active with proximity sensor being covered.


I did not try what happens with device-lock.

EDIT: This was initially fixed in apr14 but some alien-dalvik soundpipe may leave it active - adding alien-dalvik to tags

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by dsilveira
close date 2014-10-16 16:55:59.793615


Also screen turns on when device gets charged fully on charger. This might be related.

Macilaci457 ( 2014-02-12 14:27:31 +0200 )edit

Not a bug to me: If the proximity sensor is covered, you don't get the visual feedback.

If you uncover the sensor while the visual feedback is still supposed to happen, it displays the remaining part of the feedback, that's why it just flashes, because only few ms remaining to display. If you uncover the sensor later, you won't have any visual feedback because it is already finished.

Sthocs ( 2014-03-03 17:33:33 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-04-22 10:56:51 +0200

spiiroin gravatar image

You can think these "volume key presses turns display on" events as kind of "mini alarms with timeout". I.e. if proximity is not covered initially - or it comes uncovered before the timeout -> display will turn on so that user can see the level adjustment that is being made.

Note that now the display should no longer turn on unless there is some process doing music playback.

Still needs further tuning as stopping/pausing playback is not detected unless it causes audio routing changes, i.e. things like selecting ring tone from settings can leave volume keys active until the settings app is closed.

edit flag offensive delete publish link more

Question tools



Asked: 2014-02-12 14:09:26 +0200

Seen: 229 times

Last updated: Oct 15 '14