Author Topic: messages read on PC still unread on Android  (Read 15401 times)

pepe44

  • Newbie
  • *
  • Posts: 12
Re: messages read on PC still unread on Android
« Reply #15 on: February 20, 2014, 06:05:02 pm »
Recently I'm terribly busy, so couldn't investigate it further, but the problem definitely is not gone, now it's random, sometimes status gets updated correctly, most of time it's not. I've installed the latest development build, removed Aquamail and all it's data and reinstalled again, the problem still remains. For the time being I will go back to the standard Gmail app, I'm too busy to constantly check my email whenever I see phone LED blinking (and it's still blinking because there was a message in the morning, that I read on my PC long time ago).

I've sent debug log to Kostya, hopefully he can find something in it.

soadfan

  • Newbie
  • *
  • Posts: 17
Re: messages read on PC still unread on Android
« Reply #16 on: March 24, 2014, 11:47:03 am »
I'm not sure but it looks like scheduled and manual (bottom left button) checks uses different methods. Because scheduled checks doesn't update read status correctly, but manual does. So my guess is that if you can simulate  hitting this button on scheduled time will solve this issue...

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: messages read on PC still unread on Android
« Reply #17 on: March 25, 2014, 02:48:01 am »
Actually, I have something to say...

It appears that Gmail's already incomplete IMAP IDLE implementation has recently gotten worse.

I posted a question on Google's support forums, and got no responses since one week:

https://productforums.google.com/d/msg/gmail/u3fflE_zGM0/3AFca0_zYKEJ

What's that saying again? "To friends - everything, to others - the law"? In this case, their IMAP IDLE implementation isn't even spec compliant, so it's "to others - much less than the law".

Not sure quite yet what to do about 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/

soadfan

  • Newbie
  • *
  • Posts: 17
Re: messages read on PC still unread on Android
« Reply #18 on: March 28, 2014, 08:08:21 am »
Well, we have determined already that the Google's IMAP IDLE causes this issues. It's time to make a decision how to solve it. One way is what i say in previous post: Manual checking is working, so implement same method on scheduled checking. If both uses same method than i can't say why is working while check manual, and why not when is scheduled.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: messages read on PC still unread on Android
« Reply #19 on: March 29, 2014, 01:30:26 am »
I have an idea for a workaround, but you need to understand that "it takes two to tango".

FWIW, I've never - ever - seen GMail message flags update in K9 or Kaiten (and at least in worked in Aqua until Google made the recent change).

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/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: messages read on PC still unread on Android
« Reply #20 on: April 03, 2014, 11:33:57 pm »
Implemented, posted:

http://www.aqua-mail.com/forum/index.php?topic=2257.0

For Gmail, folders currently running in IMAP IDLE mode will no longer be excluded from scheduled sync -- which should bring in those message flags changes.
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/