Closed ghost closed 5 years ago
The 3s delay to allow for an 'Undo' causes this in most cases. Reproducible at API levels 22-28 emulator/device.
The good news is #307 from @archie94 is on the way with a fantastic persistence layer, eliminating potential for these documented bugs. Hope that's of help in the interim.
Cheers, Luke
i found (and reported in a different issue, #333) that if Haven attempts to delete a log (by either swipe or menu command) but doesn't find all of the files it was expecting to find within the folder (say, maybe a user moved the photos and such somewhere off of the device) then Haven's delete command kind of shits the bed or something and just gives up.
So the logs appear to vanish, but if you leave that screen and come back... the logs appear back again. Are you possibly trying to delete logs but have previously removed some image files, etc?
(You can clean all this up, a bit clumsily, by clearing all android app data from Haven. All logs will finally be gone, but so will any of your configuration settings)
As reported in #333 Haven's delete command is incomplete if either the database or the file corresponding to any Event Trigger is not removed. Hence even if the files are removed from the storage directory on disk the app keeps a record of the log(s) and leads to an inconsistent state.
Big thanks to all for reporting these bugs. Please report more if you find.
I can confirm this on Android 6 as well.
This all be fixed with the latest merge of #307. Please test nightly from F-Droid and/or wait for the next 0.2.0 release build.
Fixed in the latest 0.2.0 beta 3 release
The deleting of Logs is still not fixed. Using the Menu "Delete all Logs" wipes the Logs. Also I can wipe a log swiping it to a side. But when I restart or choose Menu and then Back all Logs are still there.