Drafts not being deleted when reply is sent and threaded messag view is active

basepi's Avatar

basepi

06 Nov, 2014 12:10 AM

In my GPGMail settings, I have "Encrypt drafts" turned off.

In my Gmail account settings, I have "Store draft messages on the server" turned off.

However, ever since I installed the beta, I'm seeing drafts get created on a message thread as I type, and they stick around even after I send the finished message.

Anyone else seeing this behavior?

  1. 1 Posted by Thomas_U on 06 Nov, 2014 03:04 PM

    Thomas_U's Avatar

    I have experienced these "draft-duplicates" since 10.9.4 and it´s continuing in 10.10.0

  2. 2 Posted by basepi on 06 Nov, 2014 04:23 PM

    basepi's Avatar

    Interesting, I didn't hit them at all before upgrading to 10.10.

    Actually, that's not true, initially I had settings like "Store draft messages on the server" turned on in 10.9 and that was causing duplicates, but I managed to eliminate them by turning that setting off. They started again the moment I installed the Yosemite Beta of GPGMail.

    I should note that my version is 2.5b1.

  3. 3 Posted by Ian Brown on 11 Nov, 2014 12:55 PM

    Ian Brown's Avatar

    I have drafts stored locally. Since I installed the beta, these are being created much more frequently than before (with or without previous GPGTools installed), and aren't deleted when the message is sent - so I have to manually delete them.

  4. Support Staff 4 Posted by Steve on 21 Dec, 2014 02:25 PM

    Steve's Avatar

    Hi everybody,

    thanks for bringing this to our attention. We have fixed several issues in relation to drafts so it would be great if anybody affected by this could download and install our latest nightly build and see if the problem persists.

    You can find sig and SHA1 on the GPGTools Nightlies page.

    Also you might want to experiment with drafts a) having GPGMail active in Mail.app and b) having GPGMail disabled:

    • shut down mail.app
    • open finder
    • navigate to /Library/Mail/Bundles or ~/Library/Mail/Bundles and copy GPGMail.mailbundle to your desktop
    • now delete GPGMail.mailbundle from the original folder

    Restart mail and check in Mail.app > Preferences if you still see GPGMail. It should be gone.

    Let us know how this goes and what your findings are.

    All the best, steve

    Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.

  5. 5 Posted by Ian Brown on 21 Dec, 2014 05:34 PM

    Ian Brown's Avatar

    I just installed it, with the attached result :(

    Ian.
    --
    http://www.oii.ox.ac.uk/people/?id=117
    [cid:5335AFE9-9F78-4AB3-B9DB-C24FA733BCB0]

  6. Support Staff 6 Posted by Steve on 23 Dec, 2014 11:51 AM

    Steve's Avatar

    Hey Ian,

    can you please copy all version info here:
    How to do that

    That information will help us to find an entry point for hunting down this problem.

    Best regards, Steve

  7. 7 Posted by Ian Brown on 23 Dec, 2014 01:35 PM

    Ian Brown's Avatar

    [cid:9BE293C8-9C91-4611-9F9D-59DFFDCE949E]

  8. 8 Posted by Thomas_U on 23 Dec, 2014 02:01 PM

    Thomas_U's Avatar

    hi Steve, the nightly does not work, getting same error as Ian.

  9. Support Staff 9 Posted by Steve on 23 Dec, 2014 11:06 PM

    Steve's Avatar

    Sorry everbody, I thought the nightly already included the GPGMail beta - it does not. My bad.

    So to test this:

    • redownload GPG Suite beta 3
    • install
    • open GPGPreferences
    • activate the nightly channel for all tools except GPGMail and check for updates there

    Then retry and see if the draft issues are persisting.

    Regards,
    steve

  10. 10 Posted by Thomas_U on 25 Dec, 2014 08:08 AM

    Thomas_U's Avatar

    In GPGSuite beta 3 prefs I cannot find the options to activate nightly channels for the different tools.

    A search for "nightlies" in the knowledge-base returned no useful hint.

  11. 11 Posted by Thomas_U on 25 Dec, 2014 08:34 AM

    Thomas_U's Avatar

    Sorry, I made a mistake: I looked in GPGMail-prefs instead of GPGPreferences in SystemPrefs.

    Have started testing now.

  12. 12 Posted by Ian Brown on 27 Dec, 2014 11:40 AM

    Ian Brown's Avatar

    So far the draft issues have disappeared. Thanks!

  13. Support Staff 13 Posted by Steve on 29 Dec, 2014 03:12 PM

    Steve's Avatar

    Hi all,

    thanks for your feedback.

    From what I understand Ian's draft issues have been fixed.

    Thomas and basepi: Do you have any test results already?

    All the best,
    steve

  14. 14 Posted by Ian Brown on 29 Dec, 2014 03:14 PM

    Ian Brown's Avatar

    I'm still getting the occasional persistent draft, but less frequently than before (both PGP-processed and not messages).

    Cheers,
    Ian.
    --
    http://www.oii.ox.ac.uk/people/?id=117

  15. 15 Posted by Thomas_U on 29 Dec, 2014 03:19 PM

    Thomas_U's Avatar

    I had no draft duplicates or persistent drafts since I started testing.

    I must add that because of the holidays I wrote less emails than usual.

  16. Support Staff 16 Posted by Steve on 29 Dec, 2014 04:21 PM

    Steve's Avatar

    Ok I think we can close this.

    Ian: what you are describing is actually a mail.app feature. If you have a composing window open long enough, mail will auto-save a draft. When you then close the composing window you will find that draft.

    So this behavior exists independently of GPGMail. And it's indeed a feature not a bug :)

    basepi: if this is persisting for you, please do re-open this discussion.

    If anybody needs further assistance or runs into other problems, please open a new discussion.

    Kindly,
    steve

  17. Steve closed this discussion on 29 Dec, 2014 04:21 PM.

  18. Ian Brown re-opened this discussion on 29 Dec, 2014 04:30 PM

  19. 17 Posted by Ian Brown on 29 Dec, 2014 04:30 PM

    Ian Brown's Avatar

    I know it's a general feature of mail.app - but GPGMail changes its behaviour - without GPGMail, drafts are always deleted when I send the final message. With, sometimes not. Anyway, thanks!

    Cheers,
    Ian.
    --
    http://www.oii.ox.ac.uk/people/?id=117

  20. Support Staff 18 Posted by Steve on 29 Dec, 2014 04:36 PM

    Steve's Avatar

    Ian, this would be a bug then. Are you able to reproduce the behavior you described in Comment #17? Could you write down exact steps with timings (ideally). If we have that I'd be happy to try to reproduce here.

  21. 19 Posted by Ian Brown on 30 Dec, 2014 10:05 AM

    Ian Brown's Avatar

    It seems quite random, but I just had one example. I replied to a (non-PGP) message, starting at 1000. Almost immediately, a partially-complete draft was saved. I sent the full message at 1003, but the draft wasn't deleted.

    Cheers,
    Ian.
    --
    http://www.oii.ox.ac.uk/people/?id=117

  22. 20 Posted by Ian Brown on 30 Dec, 2014 10:05 AM

    Ian Brown's Avatar

    PS the same just happened with my last message!

    Cheers,
    Ian.
    --
    http://www.oii.ox.ac.uk/people/?id=117

  23. Support Staff 21 Posted by Luke Le on 06 Feb, 2015 03:30 PM

    Luke Le's Avatar

    Hi Ian,

    unfortunately this also seems to be an issue if GPGMail is not installed. I'm not sure what the reason is, and it happens to infrequently that we don't know where to start at the moment.
    What I found is, that it seems to happen if Mail refreshes the view of the message which is selected and adds the preview of the auto-saved draft.

    We'll keep looking.

  24. Support Staff 22 Posted by Steve on 28 May, 2015 07:13 PM

    Steve's Avatar

    Ian, are you still seeing this? Drafts that do not get deleted when using the latest beta?

    Are you on 10.10.3 already?

  25. Support Staff 23 Posted by Steve on 01 Jun, 2015 07:06 PM

    Steve's Avatar

    Hi all,

    I'd like to share my findings with you concerning drafts issues in Mail.app so far.

    Under 10.10.3 we have not been able to reproduce any undeleted drafts when using an IMAP account.

    This is independently of whether

    • GPGMail is installed or not
    • store drafts on server is active or not (under mail.app > preferneces > accounts > mailbox behavior)

    It would be tremendously helpful, if all that were affected by this could test and see if the issue persists with the latest OS X + GPG Suite b6.

    If the issue persists, please do let us know if you are using POP or IMAP for your mail account and try to find an exact pattern, how the issue can be triggered.

    We are aware that issues under 10.9 and 10.10 with drafts remain when POP accounts are being used and have an existing ticket for that. But I wanted to ensure, no one is still seeing draft issues when using IMAP.

    Thanks for your help and kind regards,
    steve

  26. 24 Posted by Ian Brown on 02 Jun, 2015 02:50 PM

    Ian Brown's Avatar

    I'm using the latest MacOS Mail (Version 8.2 (2098)) and GPGMail (2.5b6 Build 917b). I seem to be getting these unwanted saved drafts for about 50% of my sent messages. I haven't yet worked out if there's a pattern to which 50%, but I'll keep working on it!

  27. 25 Posted by Ian Brown on 02 Jun, 2015 02:52 PM

    Ian Brown's Avatar

    PS I'm using IMAP (connected to a Microsoft Exchange server), but storing drafts locally.

  28. Support Staff 26 Posted by Steve on 23 Jun, 2015 09:37 PM

    Steve's Avatar

    Ian, since we didn't fix anything in that area for GPG Suite 2015.06 I assume this is still persisting with the new stable build? Would be great to get an update on that.

    And did you try disabling GPGMail to see if the issue happens with the plugin disabled?

    • shut down mail.app
    • open finder
    • navigate to /Library/Mail/Bundles or ~/Library/Mail/Bundles and copy GPGMail.mailbundle to your desktop
    • now delete GPGMail.mailbundle from the original folder

    Restart mail and check in Mail.app > Preferences if you still see GPGMail. It should be gone.

  29. Support Staff 27 Posted by Steve on 23 Jun, 2015 09:41 PM

    Steve's Avatar

    Oh and another user who had quite heavy draft issues under 10.10 solved those by re-building his mailboxes. He did quite a clean up and his exact steps were:

    
        1. export the complete Archive and saved it i.e. as Archive.mbox.
        2. used formail: cd Archive.mbox; formail -D 100000000 idcache < mbox -s > mbox_new && mv -i mbox_new mbox && rm idcache
        3. then imported the Archive.mbox back into Mail.app using "Apple Mail" option. I didn't loose any email.The dups were removed
        4. in Mail.app, the emails show up in "Imported > Archive".
        5. I selected the emails in Archive, only 500-1000, not all of them and archived them again using "Archive" command. now all emails are back in Archive.
    

    Please make sure to create a backup before starting any rebuilding of mailboxes. Those exact steps may not apply to your problem, but I still thought I'd share them to give an idea of how this could also be approached. Interestingly enough all draft issues are now gone for that user.

    Regards,
    steve

  30. 28 Posted by Ian Brown on 24 Jun, 2015 04:14 PM

    Ian Brown's Avatar

    Dear Steve - yes, it’s still happening. I just tried disabling GPGMail as you describe below, which seems to have fixed the problem. (I will keep testing this and let you know if it reappears before I reinstall the plugin).

    Best wishes,
    Ian.

  31. Support Staff 29 Posted by Steve on 07 Jan, 2016 05:58 PM

    Steve's Avatar

    Hey Ian,

    another ping to request the status quo of this issue. Have you updated to 10.11? Did GPG Suite 2015.09 change anything for the better or worse?

  32. 30 Posted by Ian Brown on 22 Jan, 2016 12:12 PM

    Ian Brown's Avatar

    Hi Steve. Have just updated. Will let you know if it changes things.

    Best,
    Ian.
    --
    http://www.oii.ox.ac.uk/people/?id=117

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac