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
Refreshing content causes note data loss #9
Comments
The problem here could be:
|
@HrX03 a similar issue happens with viewing notes in the trash. If you empty the trash, then pull to refresh, sometimes the emptied trash will refill with the notes that are supposed to be deleted. |
This seems like an issue that is caused by the user refreshing too soon, even before the thing finished sending the request. After emptying the trash, try to wait some seconds or so and then pull, just to confirm that the problem is the one i stated |
@HrX03 I found that if I create a brand new note and change it's color from the editing screen, then back out to the home page, the note immediately disappears without refreshing at all. Creating a note without changing the color first does not make the note disappear immediately. I also found that if I change the color of a note from the home screen (via tap and hold) the note reverts back to its original color immediately without refreshing the page at all. The emptying trash issue still occurs even without pulling to refresh manually. If I click the empty trash option, then wait a second or two, the note that was just deleted reappears. |
The trash issue seems directly related to the sync interval. I tried changing the interval to different levels and the emptied trash refills itself every time the app syncs. |
For solving the trash issue I should probably make the sync mechanism stop syncing if there are other sync operations going on, I will try asap. |
small update on color issue: it appears that its a database problem, apparently the color int is too big for the database standard int type, but i already told to the server guy to make the column bigger so it should be fixed pretty soon. and it won't even require an update from my end yay! |
this has been fixed and doesnt happen anymore with latest sync implementation, closing |
If I create a note or change a notes color, those changes aren't saved if I pull to refresh from the main page. The changed note colors revert back to their former colors and some notes have disappeared completely.
The text was updated successfully, but these errors were encountered: