Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Approximate size of map source cache #21252

Open
Nine-Tailed opened this issue Nov 5, 2024 · 4 comments · May be fixed by #21337
Open

Approximate size of map source cache #21252

Nine-Tailed opened this issue Nov 5, 2024 · 4 comments · May be fixed by #21337
Assignees
Milestone

Comments

@Nine-Tailed
Copy link
Contributor

Nine-Tailed commented Nov 5, 2024

Description

Recently osmand shows the size of the cache of online map sources if it exceeds 50 MB as > 50 MB. I would like to see the exact size of the cache as before.

5.0 4.8.6

Steps to reproduce

.

Actual result

The size of large files is shown as >50 Mb

Expected result

Show the exact size of the online maps cache.

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!

OsmAnd Version:OsmAnd~ 5.0.0#3647m, Дата выпуска: 2024-11-04
Android/iOS version:
Device model:
Crash-Logs: ?
@yuriiurshuliak
Copy link

Related to #20859

@vshcherb vshcherb added this to the 5.0-android milestone Nov 7, 2024
@dmpr0
Copy link
Contributor

dmpr0 commented Nov 7, 2024

ToDo

Context menu File size, Calculating…

Context menu:

  • Add option Calculate size
    • Icon – ic_action_file_info
    • Tap should launch calculating

Map source list item:

  • Show Calculating… until new size is calculated
  • New size should be stored until app is closed

@Nine-Tailed
Copy link
Contributor Author

For map sources in sqlite.db format it might be worth making an exception, since it is only one file.

@vshcherb
Copy link
Member

Of course you didn't mention you have sqlitedb in bug description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants