Open nikwen opened 10 years ago
Reinstalling the app and deleting the data folder of the app did not work.
Oh no, now this is quite the critical bug. Since you're able to look at the logs, can you see if you the text Saving...
in the log, followed the times it took to save each of your projects?
I'm wondering if this is because onDestruction() isn't being called properly
Yes, this is probably the most critical bug at all. :(
Just got an idea when you mentioned onDestruction(). If I quit the app using the HUD, everything is fine, but if I (as I usually do) kill it through the apps scope, it's literally killed and does not save any data. The logs reflect that assumption (one time it contains Saving...
and if I do it the latter way, it does not).
As you once mentioned you're using U1db, what's about saving after every change? Should work in my opinion.
Cool, so it sounds like a Apps Scope/Unity 8 bug. (Obviously it's still a problem, but because it's in Ubuntu Touch it won't be held against me during judging). I asked on IRC and it seems to be a known problem.
I'd like to be able to save after every change, and I think I'll implement it where I can, but there are certain cases where it won't work, since a lot of data comes from online services like GitHub or Travis CI and I have no easy way of knowing if its been changed or not.
Ok, great. :+1:
Filed this upstream in the Click Scope as LP #1304034.
And I didn't even have the time to confirm it...
Ok, a fix for the upstream bug has made it into today's devel-proposed build.
Btw: Have you stopped working on this project? Or will you continue to do so in the future?
After closing the app on my Nexus 4, all changes to the data are gone. Is it due to some data incompatibility with one of the first versions?
Nothing suspicious can be found in the logs.
Version: 0.4.2, but I've been having this issue for quite some time now (it worked initially).