pure-maps icon indicating copy to clipboard operation
pure-maps copied to clipboard

Glitchy behavior before GPS is found

Open ruudfiers opened this issue 7 months ago • 5 comments

OS: Ubuntu Touch Device: Google Pixel 3a

I've tested the app for a while now, and I notice that it's a bit glitchy (meaning that it crashes and closes) if you try to use location-dependent functions (navigation / nearby places) before the GPS signal is found. Would it be possible to disable those functions before the GPS-signal is found? And report to the user on the home-screen that the app is currently searching for GPS?

ruudfiers avatar May 18 '25 09:05 ruudfiers

Pure Maps learns location via QtLocation and is currently showing precision on home-screen (main map) on the top right corner. I expect that your OS shows status of how good is the fix in the statusbar.

Re disabling navigation / nearby: in terms of navigation, there is a scenario where you don't want it to be disabled. as starting driving and letting pure maps to figure out the route when you are already on the way. It may also start depending on OS - such disabling should be done via tracking QtLocation / QtPosition API. I haven't looked into it, but probably there is some flag for it.

rinigus avatar May 18 '25 10:05 rinigus

I have not seen those crashes, yet. Can you provide more precise info on how to reproduce? And can you provide the app log of such a crash?

jonnius avatar May 19 '25 06:05 jonnius

The crashes occur mainly before gps signal is found, for example when I’m in the navigation window and try to enter a destination. Here is a log: https://dpaste.com/2Q8JRDV7Z

ruudfiers avatar May 21 '25 16:05 ruudfiers

Is that on Ubuntu Touch 20.04?

jonnius avatar May 21 '25 18:05 jonnius

Yes this is on UT 20.04

ruudfiers avatar May 23 '25 10:05 ruudfiers

Which UT channel are you on?

The only way I can think of to nail this down further, is for you to debug it, as I really can't reproduce this.

jonnius avatar Jun 27 '25 05:06 jonnius

I can't reproduce it anymore either, so I will close this issue. Thanks for looking at it and for this great app!

ruudfiers avatar Jul 20 '25 12:07 ruudfiers