Author Topic: A bit confusing behavior while performing a command  (Read 3910 times)

StR

  • Hero Member
  • *****
  • Posts: 1558
A bit confusing behavior while performing a command
« on: August 30, 2014, 06:43:59 pm »
Kostya,

I select a bunch of messages, then do some action that moves them away, e.g. "Move to spam".
Then the app connects to the server, and while it is doing this, the messages in question are unselected and are shown in the mailbox. So, for a few moments it looks like nothing has been done. It is long enough that I am doubting if made a mistake and I didn't select some of them and start looking at what is happening.

(Since with one of the servers, I occasionally have a situation when a lock from a different imap client prevents this client from making changes to the mailbox, I know that in principle, the changes I made could be neglected, so it makes the worries not completely baseless.)

I am not sure what would be the correct behavior of the app during those 2-5(?) seconds,
and I don't know the exact chain of event that is happening during that time.
One thought is that maybe (if you still need to show the messages in the mailbox until they are actually moved out) you can have them still shown as "selected" until they are gone from the mailbox? That would tell me that the action is not completed yet. Just a thought.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: A bit confusing behavior while performing a command
« Reply #1 on: August 30, 2014, 10:21:41 pm »
2-5 seconds sounds like a lot.

Please try Menu -> Compact the database in the app's main window (account list).
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/

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: A bit confusing behavior while performing a command
« Reply #2 on: August 31, 2014, 07:20:23 pm »
The delay is due to the phone, - when it has lots of things loaded in the memory and it is seldom 5 seconds, usually more like 2-3, but long enough to start me thinking that I did something wrong and start poking around.
 When it is fresh from booting, the delay is less than 1 second.

The problem I was describing is not in the length but in what is happening during that delay.
And it is not a big problem by itself, rather a small annoyance.

As for compacting the database, - is the functionality of that the same as in Thunderbird, i.e. actually deleting the messages marked as "deleted", or does it do more than that in Aquamail?
I.e. does it affect the Aquamail's own database or does it do anything with the mailbox on the server?


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: A bit confusing behavior while performing a command
« Reply #3 on: September 01, 2014, 02:07:15 am »
What's the actual phone? I'm curious because my HTC Desire S with Android 2.3 takes about half a second.

Compacting the DB in Aqua only optimizes the app's local (on-device) storage (database). It has absolutely no effect on the server -- does not delete messages or expunge the ones marked as \Deleted (btw, I find Thunderbird's delayed EXPUNGE to be an annoyance and usually remember to turn it off).
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/

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: A bit confusing behavior while performing a command
« Reply #4 on: September 13, 2014, 03:17:10 am »
Thank you, compacting the database improved the speed a little bit.

As for the phone, - it's Droid Razr M. This type of slowdowns happen when too many apps are running at the same time and the memory gets loaded.