GNOME Bugzilla – Bug 726290
Composer doesn't autosave draft if only envelope altered
Last modified: 2017-01-31 23:43:52 UTC
This looks similar to bug #724911: * Create a new draft and save it * Go to Drafts folder and select new message * Press "Edit Draft" * Edit envelope (From, To, Cc, Bcc, Subject) At this point, I expect the composer to autosave the changes to the draft, but it doesn't. Additionally, if I close the composer, it does not offer Keep/Discard and the changes are lost.
As discussed when Charles fixed bug #724911, that was merely to ensure that the draft is only created when the body is filled in, that is, not if only the envelope was touched. This didn't seem too bad for creating a new draft. For editing a draft, however, it seems a little more troublesome. It's conceivable that a user would save a draft, edit it to add someone to the cc: list or change the subject, then close the composer -- only to see that those changes were not saved, and worse, they cannot even manually save them (as there's no Save button). So, this ticket is changed to save drafts when the envelope is altered in any way. That's too much for the 0.6 cycle, so moving to the next release.
This has been fixed on the WK2 branch and will land in master when that is merged.
Fixed on master with commit 29b339c.