tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.
https://tuta.com
GNU General Public License v3.0
6.13k stars 530 forks source link

possible to introduce an offline storage database inconsistency #4265

Open johnbotris opened 2 years ago

johnbotris commented 2 years ago

While the offline database was synchronizing, I tried to move a mail from my inbox to another folder. That mail is now permanently stuck in my inbox on that device (it isn't there in other clients).

I can't reproduce it reliably.

bedhub commented 2 years ago

Best would be to reproduce this and find out why it is still in the inbox. Might be that we somehow missed the delete event.

charlag commented 1 year ago

This sometimes manifests as SessionKeyNotFoundError

After opening, the desktop software version is offline and keeps trying to "reconnect". The mobile version is working fine. Thanks.

Cannot delete this email permanently, after I delete it appears again in my Inbox.

Can not delete this mail. Always coming out like New.

alstr commented 1 year ago

This has been a problem for a long time and in the last few weeks it has happened several times. It's really quite disruptive. I'd even go so far to say that offline mode isn't worth the problem that it has created. Is this being given much attention? With the subscription price going up, expectations go up too, and in terms of core usability I don't think Tutanota is meeting them. I'd much rather see energy devoted to this before new features are added. Hopefully you can make some progress.

vitoreiji commented 1 year ago

Hi @alstr , I'm sorry you're having this problem so often! Can you hep us reproduce this issue? We're having a hard time doing that, which makes it very hard to fix it. Thanks!

alstr commented 1 year ago

As far as I can remember it always happens on desktop, after the email has been actioned in the iOS app. The desktop app just gets out of sync and the only way to fix it is the workaround. The desktop app for whatever reason thinks the email still exists in the folder, so shows it in the list, but when you view the email it doesn't exist anymore so just shows a message about the content being corrupted. I would test out deleting an email on iOS and see if any particular desktop conditions - like network connectivity, whether the email is open, whether it has been previously downloaded - affect things. Also methods of deletion on iOS - swipe, tick box, button - and whether any network issues on that side might play a role.

alstr commented 9 months ago

This is still broken.

alstr commented 6 months ago

Out of sync again... Still no progress? If there's no fix, an option to disable offline mode completely would be better than dealing with this.