Author Topic: Local draft folder incorrectly showing no. of messages  (Read 9325 times)

Shoshin

  • Newbie
  • *
  • Posts: 20
Local draft folder incorrectly showing no. of messages
« on: April 23, 2018, 02:51:29 pm »
Good afternoon, for several days now my local draft folder has been showing I have four messages in it, when in fact empty. I have checked that there are no hidden messages - there aren't.

I would be grateful for any suggestions as to how to correct message count for this folder, please.

Many thanks

Cath

phred

  • Sr. Member
  • ****
  • Posts: 393
Re: Local draft folder incorrectly showing no. of messages
« Reply #1 on: April 23, 2018, 04:25:02 pm »
Have you looked on the server to see if there is anything in the drafts folder?

Shoshin

  • Newbie
  • *
  • Posts: 20
Re: Local draft folder incorrectly showing no. of messages
« Reply #2 on: April 23, 2018, 04:34:49 pm »
Thank you for your reply, Paris Geek. I have followed your instructions to check, but as I thought I'm not synchronising the draft folder at all - the only emails in there should be if I've started an email within Aquamail and then save it.

Cath

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Local draft folder incorrectly showing no. of messages
« Reply #3 on: April 24, 2018, 07:57:06 pm »
Hmm.... It does look like a bug.

Do you know how to reproduce it?

E.g. is sending a message (without saving as a draft first) enough?

Saving first then sending (without closing the compose screen in between)?

What is the account type (IMAP or POP3)?

If it's IMAP - is the Sent folder set to sync with the server (I understand that the Drafts is not)?

Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Shoshin

  • Newbie
  • *
  • Posts: 20
Re: Local draft folder incorrectly showing no. of messages
« Reply #4 on: April 24, 2018, 08:17:34 pm »
Thanks for you reply, Kostya. Neither of those suggestions reproduce it and it hasn't changed for several days now. I sync the Gmail account via POP3.

Thanks

Cath

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Local draft folder incorrectly showing no. of messages
« Reply #5 on: April 25, 2018, 02:25:31 pm »
OK POP3 so neither Drafts nor Sent gets synced

Good to know, kind of narrows down where it could be in our code.

Although it is really hard to try and fix without a scenario to reproduce.

Can you please try this:

- Long press on the account
- Options and folders
- Folders

I understand it's POP3 :) so that screen will only list the Inbox - but please do this anyway.

There is code on this screen to recalculate / update per-folder message counts (including Drafts, Sent, Deleted) and maybe the Draft folder's will reset to the right value (0).

( as for fixing the underlying cause - like I said really hard to do without a way to reproduce, but we'll file a bug so we can track it )
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Shoshin

  • Newbie
  • *
  • Posts: 20
Re: Local draft folder incorrectly showing no. of messages
« Reply #6 on: April 25, 2018, 10:16:09 pm »
Hello again, in looking at this, I temp synced the draft folder (though I knew there were drafts in my Gmail) and then unsynced it. When I took off the sync, 4 emails appeared in the draft folder and I was then able to delete them!

Thanks very much for your help

Cath

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Local draft folder incorrectly showing no. of messages
« Reply #7 on: April 27, 2018, 09:53:30 pm »
Um so you are using IMAP then?

Given that you were able to set the folder to sync?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/