Locus Map - forum

Support => Troubles & Questions => Topic started by: Andrew Heard on August 13, 2018, 12:40:31

Title: crash selecting Backup directory
Post by: Andrew Heard on August 13, 2018, 12:40:31
Locus Pro 3.32.2 - settings > Misc > Default Directories > crash when I select a new Backup directory /storage/emulated/0/Download/Locus/ although an identical selection process works perfect for the Export directory. I also observe the directory selection UI is different for the two - why? Export directory selection uses simple "file explorer" UI whereas Backup directory selection uses elaborate graphics with file cabinet picture. See uploaded YouTube video of crash https://youtu.be/BsdLW7fpjfg.
Title: Re: crash selecting Backup directory
Post by: Andrew Heard on August 18, 2018, 01:39:24
Now working in 3.32.2.2 beta thanks. Still unsure why using two different folder selection methods. One method in Export folder selection, but different in Backup folder selection. No mention of bug fix in release notes.

folder selection #1 UI for these folders: mapsOnline, maps, mapItems, export, geocaching
folder selection #2 UI for these folders: mapsVector, backup, srtm
Title: Re: crash selecting Backup directory
Post by: freischneider on August 18, 2018, 10:51:49
Posts for beta please write here
http://forum.locusmap.eu/index.php?topic=6245.0
Title: Re: crash selecting Backup directory
Post by: menion on August 18, 2018, 12:03:26
Separating problems into own topics is not a big problem, really ;). Sometimes it is even better because we then do not spam the main thread with the single one-person issue.

Anyway glad it works now.
And difference: you may see on your own ;). And if now ... one method uses Google own system (these directories are then also writable for the app!), second, Locus file browser, then select directories only for read-only.
Title: Re: crash selecting Backup directory
Post by: Andrew Heard on August 19, 2018, 01:36:31
Posts for beta please write here
http://forum.locusmap.eu/index.php?topic=6245.0
@freischneider I don't believe this topic is directly related to beta.
Title: Re: crash selecting Backup directory
Post by: Andrew Heard on August 19, 2018, 01:39:42
And difference: you may see on your own ;). And if now ... one method uses Google own system (these directories are then also writable for the app!), second, Locus file browser, then select directories only for read-only.
@menion - interesting - thanks for the info. For the use-case of Locus special directory selection would it be simpler & more consistent to use the Locus file browser for all directories? It seems more intuitive than Google's own system.
Title: Re: crash selecting Backup directory
Post by: menion on August 19, 2018, 07:16:06
It is not possible. Only using this Google system result in the selection that also allows "write" option.
So if united, the only option is to use "Google system" for all selections.
And this is planned, once I remove support for Android 4.x devices, which complicate me a life here a lot :).
Title: Re: crash selecting Backup directory
Post by: Andrew Heard on November 02, 2018, 06:39:01
Fixed in beta 3.33.@ but still crashing in Pro 3.34?
Title: Re: crash selecting Backup directory
Post by: menion on November 02, 2018, 07:22:56
Log possible? Thanks
Title: Re: crash selecting Backup directory
Post by: Andrew Heard on November 02, 2018, 23:47:57
report emailed to you
Locus Pro 3.34.0 crash sequence:
It appears any directory other than subdirectory of /storage/emulated/0/Locus also causes crash.

This crash is however fixed in beta 3.33.2.3.
Title: Re: crash selecting Backup directory
Post by: menion on November 04, 2018, 21:21:19
Andrew, thanks for a log.
It is something weird in your version of Android. In log is an unexpected crash. Thanks to it I found more people stuck on this and also one hack that may help here. I do not know what exactly it does, but it should work :). So in next version ... thanks.
Title: Re: crash selecting Backup directory
Post by: Andrew Heard on November 06, 2018, 23:47:42
Thanks. Now working in 3.34.1 Pro.
Title: Re: crash selecting Backup directory
Post by: menion on November 07, 2018, 07:11:16
Uff, perfect! Thanks for help.