Open david-allison opened 2 weeks ago
Also note that the user spam-clicked 'save', which may have caused an issue
Reproduced by spamming adding text and pressing 'add' on the Note Editor
BUT, this shows a BackendFatalError
https://ankidroid.org/acra/app/1/bug/254298/report/56093667-1aad-4306-adb2-32ef100d6a6b
The same Fatal error can't get the BackendDbFileTooOldException
I think that might be my report so to add a bit of context. The touchscreen in my smartphone is kinda jittery(?), so it often registers one tap as multiple ones. So it is like spam clicking, but really fast. Sometimes it shows the error message that the front of the card must not be empty and sometimes it completely crashes the app.
Thanks for the context @davidjoeressen, much appreciated. Still seems like something we should be able to handle, for instance any UI elements we have that cause asynchronous actions (like, "add" or "save" or anything that touches the database) should be disabled as the first step in performing the action, and only re-enabled when the action is completed (successfully or not). So double-tapping shouldn't ever matter...
And of course, we shouldn't crash :-)
https://ankidroid.org/acra/app/1/bug/254118/report/363d44c3-26f0-4667-b9f7-c03c6390670a