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

Here maps locks the screen

Tracked by Jolla (In release)

asked 2019-03-10 22:31:24 +0300

Jolla fan 007 gravatar image

updated 2019-03-11 09:12:37 +0300

jiit gravatar image

Hello Jolla people,

I have Sailfish 3.0.1.14 running on Xperia XA2 -Dual SIM. When I run here maps app after some time my screen locks. What is quite problem when you using it for car navigation. I cannot stop car every time my phone locks the screen. It is possible to setup it somehow ?

Thanks in advance.

edit retag flag offensive close delete

Comments

2

Workaround #1: Connect phone to charger and set it to keep display on when connected to charger in Display Settings.

Workaround #2: Try PureMaps.

Pohli ( 2019-03-10 23:05:12 +0300 )edit

Workaround #3:

pkcon install mce-tools

mcetool -j enabled

Allow screen go off again with

mcetool -j disabled

Manatus ( 2019-03-11 07:39:14 +0300 )edit
1

Side note: "-j enabled" is the same as using "--set-never-blank=enabled".

@Manatus - That feels a bit like shooting mosquitoes with shotgun. The intended use for never-blank is to "deny all attempts to blank display in early stages of porting sfos to a new device where we might not be able to bring it back up" i.e. powerkey, swipe to lock, ... nothing will be allowed to power down the display.

In all likelihood toggling demo-mode is better option than never-blank. It just disables all timer based display dimming and/or blanking but explicit user actions such as power key still function as expected.

mcetool --set-demo-mode=on

Back to normal with:

mcetool --set-demo-mode=off

Or you can allow display to get dimmed after inactivity, but still remain indefinitely on with:

mcetool --set-demo-mode=dim

The caveat is that it disables (almost) all automatic blanking, also from lockscreen - not a biggie, but in case of p-sensor problems / like it makes it somewhat more likely that device accidentally keeps the display powered on. If you wish to disable blanking only when application ui is on top, then tweaking blanking-inhibit-mode should suffice. This is actually what the display settings toggle mentioned by @Pohli controls, but the ui exposes only a subset of options supported at lower levels.

So, to disable automatic display blanking, but only while some application is in front you can use:

mcetool --set-inhibit-mode=stay-on

Back to normal with:

mcetool --set-inhibit-mode=disabled

(Or just go to the display settings and toggle the switch at least once)

spiiroin ( 2019-03-11 09:37:51 +0300 )edit
1

@spiiroin Ah, thanks! :) [Uncocks the hammer]

Manatus ( 2019-03-11 10:03:41 +0300 )edit

1 Answer

Sort by » oldest newest most voted
6

answered 2019-03-11 10:31:36 +0300

spiiroin gravatar image

updated 2019-05-29 13:44:38 +0300

Reason: Blank prevention is not yet supported by Alien Dalvik version available for XA2.

Internal ticket about this already exists.

EDIT 2019-05-29:

This should be fixed in SFOS >= 3.0.3.9

edit flag offensive delete publish link more

Comments

Thanks for answer. Is there any place where I can check what was already fixed and what is going to be fixed ? Is possibility to track what is status of this ticket ? br

Jolla fan 007 ( 2019-03-11 22:41:37 +0300 )edit

That "Tracked by Jolla" text under the question main title -> This tjc page is bound to a ticket in our internal bugzilla. When the bugzilla task/bug gets picked up by someone, the changes in bug status (e.g. assigned, fixed, released) are reflected here in tjc too i.e. text something "(being worked on)", ..., "(released)" should appear next to the "Tracked ..." part.

The intent is also that all resolved tjc tickets are listed in release notes / change log.

But as the issue deals with a closed component, closer details on progress/changes made are not going to be available - at least not automatically.

spiiroin ( 2019-03-12 07:32:56 +0300 )edit

I can confirm that. It is really working. You are awesome guys ! Thanks a lot !

Jolla fan 007 ( 2019-06-07 22:47:46 +0300 )edit
Login/Signup to Answer

Question tools

Follow
6 followers

Stats

Asked: 2019-03-10 22:31:24 +0300

Seen: 498 times

Last updated: May 29 '19