Dumb-Code / DumbCode-Studio

The complete suite of DumbCode made tools for modeling, animating and managing minecraft style game assets
https://studio.dumbcode.net/
1 stars 1 forks source link

[Bug]: Autosave data bar indicator does not reset when recovery data deleted #237

Closed NeusFear closed 2 years ago

NeusFear commented 2 years ago

Version

Beta (dev.dumbcode.net)

What browsers have you tested on?

Firefox

What operating system are you using?

Windows

What Studio tabs does this issue concern?

Settings/Configuration

Reproduction steps

1. Have some Autosaves
2. Click the delete button
3. Notice the progress bard does not reset immediatley

Describe what you EXPECTED to happen.

The bar would show no gree on it

Describe what happened instead.

The ammount of green stayed the same as before I pressed delete

Relevant log output

No response

Additional Info

No response

Wyn-Price commented 2 years ago

Yeah this isn't really a bug. The calculation for how much space is used isn't exactly 100%, and a small amount of space will always be used. If you artificially change the storage size (not sure how to do it on firefox, but chromium it's Application > Storage), then you'll see the data is reduced on deletion.

Storage space calculations are done every second, I don't think it's too big of an issue for storage size to be a second late. If wanted i can reduce the interval time to 500ms