Open Bug 1714886 Opened 3 years ago Updated 3 months ago

Problems with Drafts and Sent folders when offline or on poor network.

Categories

(Thunderbird :: General, defect)

Thunderbird 89
defect

Tracking

(Not tracked)

People

(Reporter: mitra_lists, Unassigned)

References

(Blocks 1 open bug)

Details

I'm unsure if these are two bugs or one with two symptoms.

STR
Disconnect your wifi
New Message:
Start typing
Hit Ctrl-S to Save or wait long enough and this happens automatically.
At some point a dialog pops up about failure to save in Drafts,

I don't believe this should happen, we have a local Drafts folder, and the system already understands offline folders not synced with IMAP (for example if I "A"rchive a message while offline).
I would expect the behavior would be to save to the Drafts folder, and then sync if/when the connection comes back up before the message is sent.

This is partly a problem, because the automatic save dialog interrupts the flow every few minutes as it continues to try and fail to reach the remote Drafts folder, and because this happens when on an intermittently bad connection - such as tethered to a mobile phone.

SImilarly .....
On a bad internet connection, we sometimes see something like: Message has been Sent but a copy has not been Saved - with an option to Retry.

I think this has its own bug, as the sending process seems much more sensitive to bad internet in the Saving part of the process than in the Sending part. BUT .... looking at the Drafts issue above I believe the behavior should be the same - to automatically put in the local Sent folder, and attempt to synchronize whenever possible,

This is far from an odd occasion, I'm currently working at a cafe, tethered to my phone which is getting one bar and showing 3G, I've hit both these problems this morning.

Indeed, I have also hit this.

Blocks: 678947

I can reproduce this bug as described, but I think this is just a consequence of Bug 1423574. That is, simply disconnecting WiFi doesn't properly put Thunderbird in offline mode, and it will still attempt to make network connections for things like sending messages and saving messages to draft/sent folders. If I manually put Thunderbird in offline mode when disconnecting WiFi (via File->Offline->Work Offline), then I can no longer reproduce this bug. So I'd say that this bug is a duplicate of Bug 1423574.

@Tristan - I think I disagree, this bug from 3 years ago, was about the detail of its behavior when the network is low quality (which TB may or may not have detected) and specific things it should do in those cases. I don't think this is the same as properly going offline.

If I think a bit more about it, I think there are a set of actions which - should they fail to happen - TB should act as it would have offline.

For example take my first case, that TB is much more sensitive to failure to save than failure to send (maybe first is using SMTP and second is using IMAP). I think the correct behavior should be - TB thinks its online - it successfully sends via SMTP, it then fails to send using IMAP and should instead take the offline action and save in the Sent folder, which it would then attempt to synchronize (since it thinks its online, with an unsynced folder).

I don't know TB internals, so I'm just going on how I'd probably have built this functionality.

You need to log in before you can comment on or make changes to this bug.