Open
Description
Steps to reproduce
- Have a message in the outbox.
- Click on it to edit it.
Case 1
- Wait some time for it to be saved
- Observe error message in bottom left corner of the composer:
Error saving draft
Case 2
- Close the modal or click outside.
- Observe toast:
Failed to save message
Case 3
- Wait some time until the draft was saved.
- Close the modal now.
- Observe toast:
Message saved
- Open the same message again.
- Observe that changes have been lost.
Changes are lost in all three cases.
Expected behavior
My changes should always be saved regardless if I press send again. That should be the case for the debounced background save as well as when closing/minimizing the composer.
Actual behavior
My changes are never saved unless I click the send button manually.
Mail app version
4.1.2 (also main
)
Additional info
Could be a regression from #8469.
Requires #10754 (in order to be able to actually edit messages)