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

jcasares

  • Full Member
  • ***
  • Posts: 245
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #15 on: February 22, 2013, 01:12:50 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.
But they are not kept all the time. After a while I get again the "Load XXX more" even when I had them before.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #16 on: February 22, 2013, 03:15:23 am »
Oh, no offence was taken and I'm sure none was meant :)
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/

gmturner

  • Newbie
  • *
  • Posts: 2
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #17 on: February 22, 2013, 05:33:31 pm »
Hi Kostya,

Thanks for getting back to us.

The "messages to keep" setting seems to do nothing, its overwritten by the message per page setting which is limited to 1000.

i have 3400 emails in my inbox and i want them all on my android device. I set "messages to keep to 10,000" and messages per page to the maximum of 1000.

I can manually make it download all 3400 emails by scrolling down until it downloads them all, takes a hour or so. BUT as soon as you hit refresh or let it check for mail it discards 2000 of them and the smart inbox count goes back down to 112/998 instead of 250/3400.

In k9 you just set "no time limit" and it downloads all messages on server, but for some reason 3400 is too much for k9 and causes it to force close when you try opening mail.. Aqua mail seems to handle 3400 fine i just cant get it to keep them on the device.

Hopefully you can fix it soon.

Thanks,


lb

  • Newbie
  • *
  • Posts: 5
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #18 on: February 26, 2013, 12:34:27 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.


Thank you for the response and great work!

My imap inbox currently has about 4500 messages in it. The total is correctly reported in the folder list. I have messages to keep set at 10K and messages per page at 1K.  I force disconnected state by going into airplane mode, and I'm only able to see the most recent 1K messages.  Also, images are not cached, even though I allow caching of images over wifi (up to 250KB) and was in a fully synced state before going off line.  It does look like attachments are properly download (a good thing!)

Any thoughts?


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #19 on: March 07, 2013, 11:54:52 pm »
Hello all.

Please try this version:

http://www.aqua-mail.com/download/AquaMail-market-1.2.2.23.apk

After a folder sync error, tap a button on the right side of the error message (in the footer) to show all cached messages ("messages to keep", possibly out of date with respect to their states on the server).

In airplane mode, this is engaged automagically.

Screenshots below.
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 #20 on: March 08, 2013, 12:24:04 am »
W---O---W!!!! Very nice implementation. I am going to try it ASAP!  ;D

doctorow

  • Jr. Member
  • **
  • Posts: 87
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #21 on: March 09, 2013, 12:18:47 pm »
Kostya,

Looks good so far, I encountered no issues with the new airplane support.  :D

One thing however that occurred was a weird graphical glitch. See attachment. I have never seen that before until I installed this version.
I then restored a backup of the earlier, official, version, and the graphical glitch disappeared. Then I reinstalled this new version, and the glitch still didn't reappear. I am sorry I cannot be more helpful.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #22 on: March 10, 2013, 03:24:37 am »
This version:

http://www.aqua-mail.com/download/AquaMail-market-1.2.2.25.apk

has a way to "show offline" messages as needed, not just after a sync error or in airplane mode.

It's Menu / View / Offline mode in folder message list mode.

@lb, @gmturner -- can you this build, and try the offline mode, to see if your old messages are there? They should be.

( not in the smart box, in a message list for a specific folder )

There is a difference here:

- "To keep" is how many are cached on the device

- "Per page" is how many are shown in message lists (folder or smart inbox), the idea is to show only what's known to be up to date, while keeping the possibility to scroll down and see more, if needed (with a faster server sync, to see if those messages are still there, in the first place!)
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/

jmccabe

  • Full Member
  • ***
  • Posts: 100
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #23 on: March 12, 2013, 12:00:52 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.

Well, if more people demanded internet access within planes the world would be a better place (at least, I'd be kept in a job - where I work we develop equipment for satcoms in planes, including internet access and mobile coverage :-)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #24 on: March 12, 2013, 02:07:13 am »
Re: internet on planes -- seems like that would be useful for live telemetry, too.... although trained pigeons seems like an option too...

Anyway, here is an update to the "seem more messages in airplane mode" feature:

http://www.aqua-mail.com/download/AquaMail-market-1.2.2.26.apk

- If you open a message that has not been fully loaded, and try to reply or forward, the app will try to complete the loading before proceeding to the compose screen

- If this doesn't work, due to a network error, then no compose screen

In the build above:

- The app will detect airplane mode and prompt if one wants to write a response using a partially loaded message. This can often be "good enough", and even useful when on a plane -- writing responses and saving, then sending all at once back on the 'net.

What it looks like: screenshot attached.
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 #25 on: March 12, 2013, 01:52:06 pm »
Works very nice and intuitively, Kostya.

One small thing, not sure if it needs any attention... when in airplane mode - you can still select view->show headers, resulting in a connection error.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Messages to keep: 250, still needs Internet access to go to page 2?
« Reply #26 on: March 12, 2013, 03:08:04 pm »
Thanks.

Not just headers, other places too. I was focusing more on getting past network errors to access stuff that otherwise could not be accessed.

If what I've done so far works out well, that's something for "phase 2".
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/