Tapping Esc when drafting a mail doesn't save the draft
As far as I can tell, hitting the close button on the window saves the draft, but hitting the escape key does not. I just accidentally lost a big long draft. :cry:
If you ware talking about the 0.4 Loki, then it doesnt save the draft at all
As far as I can tell, in the mail rewrite drafts are never saved
So what is the design we want for drafts? It sounds like we want auto-save on close, but should it be auto-saving regularly all the time? Or do we want a Save action in the UI?
@vertexian following the elementary HIG would imply autosaving at least on close, if not at regular intervals/when things change (like Code). I don't think we'd want/need an actual save action in the UI.
This seems to be current behaviour, at least on 5.1 Hera.
I can confirm this behavior on 5.1 Hera. Just lost a rather complicated draft because I accidentally hit ESC and now I can't seem to find it anywhere. [rantmode] Honestly, I don't understand how one can come up with this behavior in the first place, seriously considering switching back to Thunderbird or Evolution right now...[/rantmode]
Bounty upped to $30. Is there anything else one can do to speed up fixing this? It's a deal-breaker for me, and I otherwise rather like this application.
Just had a look at the code (I've never written a line of Vala in my life, but it seems similar enough to Java). There doesn't seem to be a method for saving drafts at all, unless I missed something. If so, this seems to be a bigger change. How about meanwhile introducing a little confirmation dialog whenever people hit ESC or the "Discard Draft" button? Code also asks for confirmation if you attempt to close a new unnamed file, so that shouldn't conflict with the HIG.
Also, how about hiding "Drafts" from the folder view until there's an established way of actually putting something there?
Draft saving when closing the composer is now implemented, however we don't currently close the compose window when pressing the escape key. So I'm going to leave this issue open for that, but bumping from milestones since the critical issue of saving drafts has been fixed