AquaMail Forum

English - Android => How do I... => Topic started by: buffaloguy on May 21, 2014, 10:41:56 pm

Title: New User Question on Messge List Display
Post by: buffaloguy on May 21, 2014, 10:41:56 pm
I have just started using Aqua Mail and so far it has exceeded my expectations.  I do have one issue that hopefully someone can explain.  I am using IMAP to connect to a server.  When I receive a message via push I open and read it.  When I go back into the inbox somewhat later I find that the message I read is often no longer at the top of the list.   When that happens the last 5 or six messages only show back up if I do a refresh.

I checked the sort feature and it is set to sort by date/time.  This does not happen every time but quite frequently.  Thanks for any suggestions.  I am running Am on a Moto X (Android 4.4.2)
Title: Re: New User Question on Messge List Display
Post by: Kostya Vasilyev on May 21, 2014, 11:08:55 pm
Strange :) What mail account / service is this, @gmail?

Since you mention sort by date/time, is the date/time value on those "bad" messages in line with how they get sorted?

How do you initially open the message, from the status bar / widget, so you never see it in the message list before it's read?

One thing you can do if this happens is:

Long press the account in the main window (account list)
Choose last item (Diag: message dates)
Choose the Inbox, run the test to completion
When it's fully done, the app will prompt you to email "the developer" (that's me) a log file
Do this, and include the date/time value on the "bad" message - as close as you can (e.g. exact hour / minute values). A screenshot showing the "bad" sorting in the message list would be perfect too.

Title: Re: New User Question on Messge List Display
Post by: buffaloguy on May 22, 2014, 04:49:11 am
I sent the test via the phone.  The first run stopped at 215.  The second test ran to completion.  To answer your questions the server is a FirstClass server which is deployed in many educational settings.  I was entering AM mostly from the notification bar but also from an Icon on the home page of Smart Launcher.  The order of items is always correct but the attachments explain what is happening.  I can recreate this at will.  The first screen shows the email list in its current state.  As I send an email to the account you see the email appear briefly.  The screen refreshes and what you see is screen shot 2.  About five of the most recent emails are no longer there and can only been seen by refreshing.  This happens whether it is the smart folder or inbox.  I have been using the delete option (hide, keep on server).  I have also noticed that when I refresh often the emails that were hidden show up again.  IMAP push has been inconsistent as well.  S0metimes the email shows up other times only when refreshed.  Thanks!
Title: Re: New User Question on Messge List Display
Post by: buffaloguy on May 25, 2014, 08:01:29 pm
Kostya has been extremely helpful in looking into this. Great customer service!   For now my gmail account works fine with imap push. My Firstclass account is not using push. I set up a 5 minute interval and that works fine.   :)
Title: Re: New User Question on Messge List Display
Post by: Kostya Vasilyev on May 25, 2014, 11:32:57 pm
For the benefit of others:

Mr. @buffalyguy has been very helpful and patent with debug logs.

I fixed one issue in Aqua, which was causing IMAP IDLE connections to "fall asleep", due to how this server sends push notifications.

However, the messages disappearing seems to be caused by a bug in the server -- or maybe interference from another mail app.

Basically, the server first says "there is a new message, its number is X", and then (pretty much immediately) when Aqua asks for information about this message, the server returns nothing. I saw this scenario happen in the debug logs three or four times, so it's not a coincidence.