Track recording does not start when started over widget

Mike Gracz shared this problem 4 years ago
Known

Sometimes when I hit the record button on the widget, even though the button changes from a green circle with a white triangle to a red circle with a white square, no track is recorded. No apparent pattern. Mostly works but sometimes not. Locus 3.37.2 with Android 9, on a Galaxy s8+

Replies (5)

photo
1

Good day Mike,

little problematic problem to solve. May you please watch it and write to me if you find some repeatable steps to simulate the same problem on the different device as well?

Maybe you use also a Beta version at once? Maybe it happens only after restarting of the device? Maybe only when Locus Map is already running? I'm unable to simulate this problem so it is almost impossible to fix it.

Thanks for understanding.

Menion

photo
1

OK. I thought you would like to know. I'll see if I can find a pattern that makes it repeatable.

photo
1

I also experienced yesterday a similar (but not identical) problem with the widget with Pro 3.37.2. Basically it's the same issue that I posted long time ago:

https://help.locusmap.eu/topic/sync-widget-with-app-for-recording

When using the widget a lot, I mean starting/pausing/restarting/adding waypoints without almost opening the main Locus UI sometimes it happens that the widget "freezes". You can push the buttons and they "react" (you can see it from the notification) but they doesn't change their image/UI.

And when this behaviour happens, all the other widgets on the Home screens "freeze". For example I had a Note preview with some handwritten text and I could tap on it to open the Samsung Note application (so the action works, like in Locus widget); if I update the text in the note and save, when going back to the home screen the note "bitmap preview" (i.e. the widget) is still as before and does not display the modifications.

This happened on my old Galaxy Note 4 with Android 4.4.4 and with the new Galaxy Note 9 with Android 8.1 (just yesterday).

photo
1

Locus Map widget freeze widgets of the whole device?? Sounds like some bug in Android.

I was just using widget last two days and no problem so far. Will keep testing.

I'm not an expert on widgets so there definitely may be some problem. It's just really really hard to solve without proper simulation by certain repeatable steps. Thanks for understanding.

photo
1

> Sounds like some bug in Android.

I think it may be a bug in the Samsung launcher, because I experienced both with the Note 4 and Note 9, with so different OS versions. But in both the devices the widgets refresh NEVER blocks when not using the Locus widget, so I think we should look there. I'm not accusing, take it easy and only as a bug report that occurs occasionally!


> It's just really really hard to solve without proper simulation by certain repeatable steps. Thanks for understanding.

I'm aware of that and know it's difficult. The problem is that I've to move to try to repeat the behaviour and I use Locus Pro only a couple of times per month, when going out. But I will let you know if I can trigger the issue!

photo
1

Hi Menion, today when I was visiting Siena the same problem happened again!


I tooked a screen record that you can download from here:


https://www.dropbox.com/s/9gfqnypy5vmh9ma/2019_05_07_17_23_03.mp4?dl=1


There you can see:

1) The recording has been stopped (no notification) but the widget still displays a recording state and has not been reset.

2) Moving the widget on the page doesn't "update" it.

3) Other widgets such as the example note are freezed too (you can see that it's not updated as it normally does).

4) I can push the buttons on the widget and they work (see the notification and the toasts) but the display/icons still are not updated.


I hope you'll be able to sort this out... Now the only thing I can do is restarting my phone, but it happens quite often.

photo
1

I have learned that with the latest version of Andriod 9 there is a power management feature called Adaptive Battery that is controlled by an AI algorithim that puts apps running in the background to sleep to conserve battery. Annoying. Find it by searching Battery in Settings and turn it off. This seems to have helped with me- tracking has been working fine now, but because the problem has been intermittent, I am not entirely certain.

photo
1

Thanks, but no it's not the adaptive battery the cause of this problem.

Actually I'm running Locus Pro in Android Oreo (8.1) but I had the same problem in the past with KitKat (4.4). The problem is on the widget with the Samsung Launcher I think, because Locus is never killed by the battery optimizations in my case.

photo
1

After rebooting the phone and using Locus widget, the issue happened again today. :-(

photo
1

In all my previous issues/tests I had:

Settings > Various > Run Locus as a service

DISABLED as my Samsung Note never killed Locus even when using the widget (I never lost the track recording).


Today I tried to do something different by setting it on ENABLED and the issue with the widget didn't trigger. I noticed however that when stopping the track recording from the widget, after the UI asks for the name and I tap SAVE, the service isn't stopped (see attached screenshot).

To stop the ongoing notification I must tap on it to load Locus and then BACK 2 times to exit (and the notification is removed).


So I though that maybe with the service setting turned off, maybe after stopping the process remains "hanged" and may cause the issue? Maybe Menion can reproduce it with these settings...

photo
1

Hi, a small update: using 3.39.2 I still had the widget "locked" (see attached screenshot) and also the Locus status bar notification doesn't stop after exiting Locus.

If I open the app, then exit again with double back press, the icon disappears but after some time, without doing anything, it appears again!

photo
photo
2

Hi guys,

I just found one small issue that may affect this problem. Will be fixed in the next (Beta) version. I cannot say if it solve mentioned problem for sure, but I hope it did :).

Menion

photo
1

That's good to know, thanks! The summer holidays are approaching and having the Locus widget fixed would be a great news!

photo
1

Hi Menion, I wanted to let you know that with Locus Pro v3.39.3 + Run as a service activated the widget "locking" occurred too, so it's not due to the missing service option.


9d8c36ceb2d5c320b4a7ac3c84be7eeb

photo
1

So the problem still exists, hmm ... I was never skilled in creating widgets.

Sine we discuss this issue, I've used it from time to time and never had a problem with it. So sorry, but I currently do not have a solution here.

photo
Leave a Comment
 
Attach a file