My Library Counting Error

Hak Sung Kim shared this question 4 months ago
Answered

In My Library, there are no files in the waypoint folder as shown in the attached file, but it is displayed as 1/0 because there is one, and in the track folder, there are no active tracks, but it is displayed as 4/229.

Replies (5)

photo
1

Hi,

do you have Premium Gold and synchronization with the cloud? If yes, could you please sync your phone with the web and then restart Locus Map on your phone?

photo
1

I am a silver user

photo
1

OK, then please try the following:

- create complete backup

- unload app data

- uninstall Locus Map

- re-install Locus Map

- load app data

- restore the backup

photo
1

I did above steps in v4.30.1.7beta and I did reboot the phone between uninstall and re-install, and after restore of backup, I confirmed the requested restart of Locus. Issue persists:

  • it's impossible to have 47 items visible out of 21 in total (21 in total is correct)
  • same for 3 / 0
  • ebike shows 0/0 but 1 item is visible and 4 exist in total

Old Library displayed correct numbers for exactly same data.

2f9904e7327220a0a96c0720ccdc9d3f38876554271500818ebc1b2dbfe797d6

It's also not corrected if I hide a track (click the eye icon) and then show it again. Same if I go to parent folder and choose hide all / display all.

In left screenshot, the number is corrected (but only here not in the other screenshots!) if I tap on broom icon and then display/hide single points/tracks or chooe display all/hide all next to a folder.

photo
1

Hello Georg, Hak,

values you see in the app are somehow pre-computed for better performance. Why these problems happens in your case > no idea, sorry. Anyway for now, I've made a small improvement. In the next version, when you tap on mentioned "broom" icon, it will clear internal cached values and recompute them from scratch. I expect, some problem may happens when restoring the backup, but not sure where exactly. Thanks for understanding.

37e775172cba0cd500ef52bc71323246df7f8d4354b1703226130a18069d1361

photo
1

Menion, I like the approach of manually trigger re-computation 🙂

Will the long tap also trigger the broom action so recomputation is at the cost of data loss (visibility state)? If yes, a better alternative would be e.g. an entry in settings > points & tracks or expert settings which would be easier to find using search, and not be associated with data loss.

photo
1

Consider this as a temporary hack (for you mainly 😉), so only single tap to clear currently loaded data will also, as side-effect, clear pre-computed stats.

Computing of these values is not so time consuming, so if problems persist, I'll rather compute these values always when needed. Rather then creating some "Expert settings" option for this. Thanks for understanding.

photo
Leave a Comment
 
Attach a file
You can't vote. Please authorize!