Author Topic: Messages to keep: 250, still needs Internet access to go to page 2?  (Read 26673 times)

doctorow

  • Jr. Member
  • **
  • Posts: 87
"Messages to keep per folder" is set to "250 messages".
"Messages per page" is set to "Standard (50)"

If I understood the meaning of "messages to keep" correctly, it would mean that Aqua Mail stores the latest 250 messages of each folder in its local database. But then, how came when I am disconnected from the Internet, I am never able to go past my first page (50 messages), without the error message appearing: "Error synchronizing mail: Error connecting"? Shouldn't Aqua Mail be able to view the last 250 messages, in other words, go as far as page 5 given my settings?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #1 on: December 15, 2012, 03:28:36 am »
Your settings mean: store 250 most recent messages, keep 50 of them up to date.

Only the up to date messages are shown, and when you scroll down, the app needs to verify their state on the server (do they even still exist?)
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/

doctorow

  • Jr. Member
  • **
  • Posts: 87
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #2 on: December 15, 2012, 10:44:31 am »
Your settings mean: store 250 most recent messages, keep 50 of them up to date.

Only the up to date messages are shown, and when you scroll down, the app needs to verify their state on the server (do they even still exist?)

Hmm. Then, what's the meaning of storing more recent messages than what is currently shown on the first page? If the client is in offline mode, one would expect it to show the messages it has in cached mode. Your reasoning, verify their state to check if they even still exist, could also be applied to the first x messages on the first page. Yet they are shown when in offline mode.

doctorow

  • Jr. Member
  • **
  • Posts: 87
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #3 on: December 16, 2012, 01:16:04 am »
I should add, the reason I wonder if an option could be added to show any stored message in offline mode is because I often find myself in situations where I cannot connect to the Internet: When I am outside the country (data roaming is prohibitively expensive) and when I am on the plane (airplane mode). Still it's often important to access mail that may be within the most recent x stored messages, but not within the first page. Hope that makes sense.  :)

FullSyncer

  • Newbie
  • *
  • Posts: 5
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #4 on: December 21, 2012, 01:35:48 pm »
Hi,

I fully support doctorow!

I have a few 1000 e-mails in my inbox. I set everything to maximum: 1000 e-mails per page and 10 000 e-mails per folder.

However, after spending a lot of time to click to download an extra 1000 e-mails of my inbox on my Wifi at home, everything beyond the first 1000 e-mails disappears again at some point while I am on the move without a good internet connection.

Could you at least set the maximum number of e-mails per page to a higher value than 1000 or - even better - leave it to the user to decide.

Nowadays Android devices have many GBs of memory. There should not be a concern with storing more than 1000 e-mails.

Thanks,

Marcus

jcasares

  • Full Member
  • ***
  • Posts: 245
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #5 on: January 08, 2013, 04:58:49 pm »
Oh, is that how it works?
I had some messages missing after took the care to download them all (in folders with up to 1500 messages).
I would like them not to be deleted if the app can't check their status.
Sometimes I'm without connectivity and I want to be able to search the downloaded messages.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #6 on: January 10, 2013, 02:53:53 am »
The number of messages stored on the device is the "Messages to keep" setting, under each account's Options and Folders. The default is 250, and the app does clean them up over time.

I guess keeping at least "Messages per page" would be a good idea. I'll make the 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/

doctorow

  • Jr. Member
  • **
  • Posts: 87
Re: Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #7 on: January 10, 2013, 10:12:10 am »
The number of messages stored on the device is the "Messages to keep" setting, under each account's Options and Folders. The default is 250, and the app does clean them up over time.

I guess keeping at least "Messages per page" would be a good idea. I'll make the change.

So if I have 250 messages to keep, and 50 messages per page, per folder, shouldn't I be able to view 5 pages when in offline / flight mode? Because I cannot get past the first page without a connection error message.

Sent from my GT-I9100


jcasares

  • Full Member
  • ***
  • Posts: 245
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #8 on: January 10, 2013, 06:39:23 pm »
I have 5000 messages to keep and 250 per page. I have a folder with more than 1600 messages and today I tried to check if I had all the messages I downloaded some time ago. When I reach the last message loaded I get the "Load 250 more messages". So, something is removing messages already downloaded even when the settings says not to.

The account is IMAP based but I only have 3 folders enabled with IMAP push (Inbox, Sent Items and Drafts). The rest I load all the messages once through WiFi and then do a manual an occasional update when I need to refresh it to get new things.

lb

  • Newbie
  • *
  • Posts: 5
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #9 on: January 15, 2013, 09:52:16 pm »
The number of messages stored on the device is the "Messages to keep" setting, under each account's Options and Folders. The default is 250, and the app does clean them up over time.

I guess keeping at least "Messages per page" would be a good idea. I'll make the change.
I have the same setup and am seeing basically the same issue with the latest (pro) rev. (keep set to max, page set to max, about 2500 messages in inbox). 

So why have a "Messages to keep" setting at all if really doesn't mean that these messages are kept?

I think having "Messages to keep" set the number of messages downloaded and "Messages per page" only select how many of these messages are displayed would be optimal.  (limited number of messages on a page seems to increase the time of to show messages in the folder.)

Offline access is the number one reason I bought the pro version, so fixing this would be really great.

Much thanks!

gmturner

  • Newbie
  • *
  • Posts: 2
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #10 on: February 15, 2013, 08:40:41 am »
any plans to fix this? id love to buy the app as its beautiful but i have an imap email with 3400 emails and i cant get it to store anymore than 1000 locally. Well i can get it to download all 3400 but then all of a sudden it cleans it up and there is only 1000 again.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #11 on: February 22, 2013, 12:19:43 am »
Looking at the settings in the current build, I see that "messages to keep" goes to 10,000. It's that way for a while now, actually.

This is a Galaxy Nexus, on smaller screen devices I suppose some scrolling might be necessary to access the items at the end of the list....

As for offline mode, yes, that's something I'd like to do. I often see those things in the sky, called planes, and there are people inside... and bad cellular coverage areas, too.
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/

doctorow

  • Jr. Member
  • **
  • Posts: 87
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #12 on: February 22, 2013, 12:56:09 am »
As for offline mode, yes, that's something I'd like to do. I often see those things in the sky, called planes, and there are people inside... and bad cellular coverage areas, too.

Kostya, it shouldn't be too hard given that the mails (as defined in store x most recent messages) are already in Aqua Mail's storage, should it? The only thing that Aqua cannot do in offline state is verify their state on the server.

Well, on a second thought, I guess it can be a bit more complicated. Namely, when you get back online, Aqua should probably update the appropriate IMAP flags (e.g. has an previously unread message in the mail store been read while being offline? if yes, mark it as read on the server as well).

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #13 on: February 22, 2013, 12:58:03 am »
Message operations are already written to the database first, in case the network is down (not known in advance).

So yes, it's "just" an issue of handling those errors in the UI and having a button or something to "show older out of date messages"... :)
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/

doctorow

  • Jr. Member
  • **
  • Posts: 87
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #14 on: February 22, 2013, 01:05:56 am »
Message operations are already written to the database first, in case the network is down (not known in advance).

So yes, it's "just" an issue of handling those errors in the UI and having a button or something to "show older out of date messages"... :)

Sorry, I didn't mean any disrespect. I only compared it to the huge improvements/changes that you introduce in each Aqua update... you have set a very high benchmark.  ;D