AquaMail Forum

English - Android => Bug reports => Topic started by: necik on November 15, 2017, 05:54:31 pm

Title: Message which was read marks itself as unread
Post by: necik on November 15, 2017, 05:54:31 pm
Hello,

I'm connecting using IMAP to my mail.centrum.cz account. I encounter this strange behavior that after reading new email (thus marking it as read) and returning to Inbox folder this email looks like unread after a while. When I mark it as read once again it stays marked as read. If I let it be and just wait it marks itself as read after a while. Is it a bug? It looks like one to me.

Jiri
Title: Re: Message which was read marks itself as unread
Post by: Nadejda Fudulska, MobiSystems, AquaMail support on November 16, 2017, 03:58:24 pm
Hi Jiri,

To fix the problem, please go to Settings>Message view and check the "Mark messages as read" option

Nadia
Title: Re: Message which was read marks itself as unread
Post by: necik on November 16, 2017, 04:12:06 pm
Hi Nadia,

I looked at the "Mark messages as read" option, it was set to "Immediately" value. So I guess this is not the cause of described behavior.

Jiri
Title: Re: Message which was read marks itself as unread
Post by: Nigelmay on November 16, 2017, 04:39:29 pm
I have a related but not identical issue. I can toggle read/unread from the message list and it sticks. However, once I open a message and then mark it as unread and go back to the message list, as soon as AM connects to the server it reverts to read.
Title: Re: Message which was read marks itself as unread
Post by: necik on November 16, 2017, 05:41:41 pm
I have a related but not identical issue. I can toggle read/unread from the message list and it sticks. However, once I open a message and then mark it as unread and go back to the message list, as soon as AM connects to the server it reverts to read.

Nigelmay, I think you are describing exactly the same issue as I have. It seems like changing read/unread status from message detail screen is not correctly delivered to IMAP server so when AM connects to IMAP server again from message list, it loads the old value.
Title: Re: Message which was read marks itself as unread
Post by: Kostya Vasilyev on November 17, 2017, 09:05:08 pm
Does this happen - all the time, some of the time, is there a pattern?

Where are the mailboxes (I see that one is @centrum.cz, what about you @Nigelmay, GoDaddy by any chance)?

Both message view and message list end up calling same code to mark read / unread and sync back to server.

I remember a case or two like this, one fairly recent, and it turned out to be a server bug.

The difference (message list / message view) is that when you reply to a message, Aqua sets the "replied" indicator (a small arrow) on the original message. In one case I remember, this was causing the mail server to also mark the message as unread.

---

But that doesn't help you and also doesn't tell us anything.

What would be best is if you could:

- Answer my questions above (all the time, some of the time, is there a pattern)

- Capture the issue, start to finish (from receiving a message to doing whatever to it turning back unread) in the app's debug log, with "raw session data" enabled. Please see the link in my signature for that.

- Send the logs to support / aqua-mail / dot com

Thanks
Title: Re: Message which was read marks itself as unread
Post by: necik on November 17, 2017, 10:43:31 pm
Hi Kostya,

it doesn't happen all the time, only sometimes. The issue doesn't involve replying to message, just viewing the message and then go back to message list or returning to home screen is sufficient. I didn't see any pattern so far. When I test it now by sending emails to myself from desktop, it doesn't happen. I'll keep debug log switched on and wait for the issue to happen.

Jiri
Title: Re: Message which was read marks itself as unread
Post by: necik on November 18, 2017, 12:28:43 am
Eventually the issue happened again, I sent the debug log to support email address.

Jiri
Title: Re: Message which was read marks itself as unread
Post by: Kostya Vasilyev on November 18, 2017, 01:16:03 am
Re: Eventually the issue happened again, I sent the debug log to support email address.

Thanks for the log.

Server bug (or another mail app), from Aqua's point of view there is no difference.

But - Aqua Mail really does see the message turn from read to unread (five minutes later), and then back to read (another five minutes later).

I sent you back the relevant portions of your log with detailed comments, hope that your mail provider's support takes this in a constructive way.
Title: Re: Message which was read marks itself as unread
Post by: necik on November 18, 2017, 09:53:45 am
Thank you Kostya for the analysis, I'll try to fix this with my mail provider.

Jiri