Locus Map - forum

Support => Troubles & Questions => Topic started by: GusGF on September 06, 2021, 22:41:16

Title: Gesture control confusion
Post by: GusGF on September 06, 2021, 22:41:16
Why in Locus when gesture control is engaged, a password lock screen pops up if you try to access other functionality on your phone. Makes no sense to me. I want to be able to control my phone easily using gesture control and get to other functionality outside of Locus without having to type in my password. It's maddening!!

Secondly, auto screen on/off functionality when approaching a turn or nav point seems to be tied in with gesture control and in my settings it doesn't look like you can have one without the other?? Am I wrong if so how do I have screen on nav without gesture control (esp if the above problem persists and there is no easy solution)
Title: Re: Gesture control confusion
Post by: 0709 on September 07, 2021, 08:39:34
https://forum.locusmap.eu/index.php?topic=7053.msg61056#msg61056
Title: Re: Gesture control confusion
Post by: GusGF on September 08, 2021, 00:19:26
Yes I've read the thread but it's of no help to me. First of all gesture control turns off my screen but it does not turn it back on  :-\  And faffing about having to follow the process below is a PITA!

turning on by power button OR finger print sensor
pressing down button
then pressing back button
then finally access to LM nav screen

When you are cycling it's a dangerous distraction esp when you are trying to navigate.

Also I cannot get my Samsung to turn on the display when a turning is coming up. I have Screen on/off control ENABLED and all 3 tick boxes for Guidance/Navigation are ticked!


Incidentally tried out Komoot and it worked like a dream but I prefer LM as it's cheaper looks better BUT I can't get the damn thing to work on my phone  :-\

If I can get Komoot to alert me of variations in my route why can't LM?
Title: Re: Gesture control confusion
Post by: GusGF on September 09, 2021, 16:32:15
Just to say this morning I tried Osmand after installing it and half an hour later had it up and running more or less the way I wanted it. Still needs a few tweaks but there were no lock screens to fanny about with. So with little or no effort I've managed to get Komoot and Osmand to run with little hassle and both alerted me to turns using a combination of voice and auto screen on alerts. But I'm still struggling with Locus Pro and cannot get it to do the same reliably or at all as is the case presently. 

Title: Re: Gesture control confusion
Post by: Menion on September 09, 2021, 23:32:38
Hello GusGF,
just a quick check: open device system settings > Security > Device admin apps > is here Locus Map enabled as admin? Should be, otherwise, it is not able to turn the screen on automatically.

OsmAnd and Komoot turn the screen on automatically when approaching a crossing? Then they should be in this menu enabled as well, are they?
Title: Re: Gesture control confusion
Post by: GusGF on September 10, 2021, 00:01:09
Hi Menion,
Quote
just a quick check: open device system settings > Security > Device admin apps > is here Locus Map enabled as admin?
Yes I can confirm it is active under device admin apps.

Quote
OsmAnd and Komoot turn the screen on automatically when approaching a crossing? Then they should be in this menu enabled as well, are they?
Actually no they are not. I tried Osmand this morning on my commute to work and only briefly went through fine tuning the settings last night after installing it. The only problem I had with it this morning was there were too many notifications for turnings or route changes which got a bit annoying but as I say it was my first outing with it. Again Komoot I only tried once and it worked pretty good.

The only reason for trying these apps was I thought maybe there was something up with my phone. I prefer the LMPro interface by far and the clean look of the maps. Also the rendering speed is noticeably faster than Osmand. But this is all useless if I can't get LMPro to work properly.
Title: Re: Gesture control confusion
Post by: 0709 on September 10, 2021, 08:13:49
Should be, otherwise, it is not able to turn the screen on automatically.

@ Menion ? = Should be, otherwise, it is not able to turn the screen OFF automatically.
= To say, screen OFF command triggered directly by the Locus map app.

As long as you than stay active in the Locus app only (without request for any other external app use like texting) Locus will not ask for a PIN.

So why the screen ON (for GusGF) does not seem to work ? No idea. 
I tested Locus screen ON without any device admin rights = All OK and fine as usual  :)
(The screen off than was only steered by the usual Android display time out)

Title: Re: Gesture control confusion
Post by: Menion on September 10, 2021, 12:17:48
Ah, right Willy @0709, you are of course correct. Device admin access is necessary for turning the screen OFF, not ON, thanks!

Oki, one major question: do you hear navigation instructions in the Locus Map? It is a key event that triggers "turn screen on".
Title: Re: Gesture control confusion
Post by: GusGF on September 10, 2021, 19:18:12
Quote
As long as you than stay active in the Locus app only (without request for any other external app use like texting) Locus will not ask for a PIN.
That's not my experience at all unfortunately. But that's probably because I have to turn the screen on manually as auto on is not working for me.

Quote
Oki, one major question: do you hear navigation instructions in the Locus Map? It is a key event that triggers "turn screen on".
I'm going to have to check that on my next ride which will probably be Monday :)
Title: Re: Gesture control confusion
Post by: GusGF on September 14, 2021, 00:25:01
Well got a chance on my way to work to test out Locus in accordance with what you said:
Quote
Oki, one major question: do you hear navigation instructions in the Locus Map? It is a key event that triggers "turn screen on".
And I have to say it worked brilliantly. I've no recollection of ever turning off voice navigation previously when things went wrong, but today when I definitely did turn voice off, the on-screen nav simply didn't work. When I turned voice nav down to 0 via the OS, the on screen prompts continued to work.
So now my question is why is it not possible to have on-screen prompts with voice nav turned off? What if you wanted to listen to music without being constantly interrupted and just wanted to rely on those screen prompts?
Title: Re: Gesture control confusion
Post by: Menion on September 14, 2021, 07:40:05
Why it is not possible? Good question. I never had this need and do not remember any other user who needs this as well. The app works quite well even if music play and sound notification are usually a lot more useful than just screen turned on (that may be easily overlooked).

Anyway, what convinced me now is that disabled sound affects screen on/off functionality without an obvious reason. So I've just updated this system and in the next version, the screen on/off should work also in case, no voice is selected, thanks.
Title: Re: Gesture control confusion
Post by: GusGF on September 14, 2021, 15:51:28
Why it is not possible? Good question. I never had this need and do not remember any other user who needs this as well. The app works quite well even if music play and sound notification are usually a lot more useful than just screen turned on (that may be easily overlooked).

Anyway, what convinced me now is that disabled sound affects screen on/off functionality without an obvious reason. So I've just updated this system and in the next version, the screen on/off should work also in case, no voice is selected, thanks.


Super! Looking forward to my next guided ride  ;D
Title: Re: Gesture control confusion
Post by: GusGF on September 14, 2021, 15:57:32
Quote
And even more very nice features are o so deeply hidden into this app. Some of the most very useful tools by config.cfg (imo) are not presented  by their most favorable default settings and so mostly are still unknown secrets. Sin.

No sound no screen on in the  DE forum was reported and was solvable by using the attached voice mute. Hardly anyone noticed this user solution anyway. 

https://forum.locusmap.eu/index.php?topic=7016.msg60213.msg#60213

Verstuurd vanaf mijn Mi A2 Lite met Tapatalk

Have seen the odd mention of a config.cfg file. I imagine this would have to be edited on the PC then sideloaded. Was there any supporting documentation with this?

That did occur to me yesterday about having a muted voice option but as far as I know this couldn't be selected or just didn't exist.
Title: Re: Gesture control confusion
Post by: 0709 on September 14, 2021, 17:45:21
https://docs.locusmap.app/doku.php?id=manual:advanced:customization:config&s[]=config&s[]=cfg

You can edit this config.cfg file directly in your phone.
Read it carefully and edit only when you understand what it means. 

Anyway, if the config.cfg file is accidentally deleted, Locus will rebuild it to the default settings, of course your personal edits and changes will be lost.

Recommended: Edit by Notepad ++ (Android app).

You can of course differ on what the best default settings are.
But the following are in my opinion some nice Locus gems that most users 'miss'.

My preferences.

# NAVIGATION
# --------------------------------

# times for command when Locus notifies (in seconds), default is 15|35|300

navigation_announcements_times=15

Why? I don't want to have useless or too much TTS twaddle. Less by a single command is just better.

# Turn off "Turn off if idle" when screen is turned on by gestures (default: false)

turn_on_screen_by_gesture_disable_auto_screen_off=1

Why this? Entering a complex (city) area I expect a continuous map display, this triggered by a single gesture proximity wave and only at the next wave switching back to the normal automatic screen on/off mode.

# set speed for moving cursor on map when GPS is off (in m/s) (default: 0.0)
# - value <= 0 switches off this function

speed_for_moving_cursor_when_gps_off=5.0

Why this? This way you can comfortably test by gps simulation (gps off and then move the map over the central map indicator) if your audio TTS or Voice channel works properly and this without any need to go outside. If the simulation works well, it will therefore also work very well in the field too.


Translated with www.DeepL.com/Translator (free version)
Title: Re: Gesture control confusion
Post by: GusGF on September 14, 2021, 18:14:32
Thank you some excellent suggestions there  :)
Title: Re: Gesture control confusion
Post by: Andrew Heard on September 15, 2021, 06:04:28
re config.cfg - also beware - don't bother adding your own comments after the hash# character, as these will be deleted next time config.cfg is written
Title: Re: Gesture control confusion
Post by: Menion on September 15, 2021, 07:55:02
And also note from me  :)

I want to get rid of this config.cfg. Settings from this file are slowly moving to inner "Expert settings" (long click on the main menu). So in case, some settings will be missing since a certain version in the config, firstly check expert settings ... many settings were already moved.
Title: Re: Gesture control confusion
Post by: 0709 on September 15, 2021, 09:25:34
With a choice of time (in seconds) but certainly also the more simple select distance in meters.
Time default is 15|35|300 sec or Distance default 75|175|1500 meters
Selection in meters has the great advantage: Simplicity and clarity.
Title: Re: Gesture control confusion
Post by: GusGF on September 18, 2021, 21:34:42
So I've just updated this system and in the next version, the screen on/off should work also in case, no voice is selected, thanks.


Any idea when this will be integrated so I can download it?
Title: Re: Gesture control confusion
Post by: Andrew Heard on September 18, 2021, 23:54:28
With a choice of time (in seconds) but certainly also the more simple select distance in meters.
Time default is 15|35|300 sec or Distance default 75|175|1500 meters
Selection in meters has the great advantage: Simplicity and clarity.
@0709 - I currently have "navigation_announcements_times=30|180|600" - are you saying the values can be "sec" or "meters"? What is the full syntax? The keyword "..._times" implies these values are "sec" not "meters". This is certainly one hidden gem setting that would be good to migrate to UI expert settings.
Title: Re: Gesture control confusion
Post by: 0709 on September 19, 2021, 12:19:14
@ Andrew.
No Sir, only actually is by the time notation. (Newbies hardly understand the used method at first use)
The  very simple to understand method by distance set in meter a nice to have ......
Title: Re: Gesture control confusion
Post by: Andrew Heard on September 19, 2021, 23:59:56
(edited your quote with my emphasis)
current navigation_announcements_times=15|35|300
proposed navigation_announcements_distances=75|175|1500
Selection in meters would have the great advantage: Simplicity and clarity.
@0709 - ok, thanks for clarifying. yes, this could be a good enhancement - help topic?
Title: Re: Gesture control confusion
Post by: Menion on September 20, 2021, 15:25:28
Does metres really have a sense? Hmm ...

@GusGF
the version will be published at the end of this week, maybe next week, depends ...
Anyway, you may already try a Beta version. The link to download is in my signature.
Title: Re: Gesture control confusion
Post by: GusGF on September 20, 2021, 16:54:48
@GusGF
the version will be published at the end of this week, maybe next week, depends ...
Anyway, you may already try a Beta version. The link to download is in my signature.

Thank you  :)
Title: Re: Gesture control confusion
Post by: Andrew Heard on September 21, 2021, 00:36:00
Does metres really have a sense? Hmm ...
@Menion - to me, maybe @0709 too? the distance to the next navigation announcement makes more sense than time. Each could have advantages in different scenarios though. I generally find the shortest time in the setting (eg. 30|180|300) is somewhat unreliable, but the most crucial. The actual 30s announcement is anywhere between only 10s to 30s before the turn, as this is often when speed is slowing down, so I often have to turn on display manually anyway. Maybe a fixed distance setting here would be more predictable?

vote for this suggestion from 3 years ago too - https://help.locusmap.eu/topic/transfer-function-in-config-cfg-to-gui-navigation-expert-setting