Author Topic: crash selecting Backup directory  (Read 507 times)

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 549
  • Thanked: 17 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
crash selecting Backup directory
« 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.
 

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 549
  • Thanked: 17 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
Re: crash selecting Backup directory
« Reply #1 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
 

Offline freischneider

  • Apprentice of Locus
  • **
  • Posts: 238
  • Thanked: 6 times
    • View Profile
  • Device: Samsung S8, Locus Pro, always newest official version
Re: crash selecting Backup directory
« Reply #2 on: August 18, 2018, 10:51:49 »
Posts for beta please write here
http://forum.locusmap.eu/index.php?topic=6245.0
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10839
  • Thanked: 185 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: crash selecting Backup directory
« Reply #3 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.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 549
  • Thanked: 17 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
Re: crash selecting Backup directory
« Reply #4 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.
 

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 549
  • Thanked: 17 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
Re: crash selecting Backup directory
« Reply #5 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.
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10839
  • Thanked: 185 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: crash selecting Backup directory
« Reply #6 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 :).
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 549
  • Thanked: 17 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
Re: crash selecting Backup directory
« Reply #7 on: November 02, 2018, 06:39:01 »
Fixed in beta 3.33.@ but still crashing in Pro 3.34?
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10839
  • Thanked: 185 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: crash selecting Backup directory
« Reply #8 on: November 02, 2018, 07:22:56 »
Log possible? Thanks
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 549
  • Thanked: 17 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
Re: crash selecting Backup directory
« Reply #9 on: November 02, 2018, 23:47:57 »
report emailed to you
Locus Pro 3.34.0 crash sequence:
  • tap settings
  • tap Miscellaneous
  • tap Default directories
  • tap Set backup/ directory
  • select my own directory /storage/emulated/0/Download/Locus
  • tap Select
  • crash
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.
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10839
  • Thanked: 185 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: crash selecting Backup directory
« Reply #10 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.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 
The following users thanked this post: Andrew Heard

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 549
  • Thanked: 17 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
Re: crash selecting Backup directory
« Reply #11 on: November 06, 2018, 23:47:42 »
Thanks. Now working in 3.34.1 Pro.
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10839
  • Thanked: 185 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: crash selecting Backup directory
« Reply #12 on: November 07, 2018, 07:11:16 »
Uff, perfect! Thanks for help.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!