Author Topic: Scrolling handle is absent for long messages  (Read 3013 times)

StR

  • Hero Member
  • *****
  • Posts: 1558
Scrolling handle is absent for long messages
« on: March 24, 2016, 04:30:34 pm »
Kostya,
Some time ago you've implemented a very nice feature: a "handle" that allows scrolling long messages. I just discovered that it gets disabled for very long messages, - and that's where it would be especially useful. Is that due to some technical limitation or just an oversight?

Here is how I observe it: I start scrolling a long (~500 kB) message (plain text). There that handle. At some point the message is truncated and there is an area to press to see the full message. When the full message is shown, the handle is absent.
I am not sure if it matters: it might be possible that when the message was originally downloaded the phone was on mobile network (albeit less likely), but I am on Wi-Fi when I am reading the message.

If there is some technical limitation, it would be helpful to have at least the "fast scroll to the bottom" floating arrow as it is done in Opera.


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Scrolling handle is absent for long messages
« Reply #1 on: March 25, 2016, 10:33:29 pm »
Re: When the full message is shown, the handle is absent.

You mean when you bring up the whole new window to "show full message"?

It may not be entirely obvious, but that is a whole new window, whole different piece of code, a new "Activity" in Android speak. And unfortunately it doesn't have "Fast scroll", it's implementation is entirely different.
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: Scrolling handle is absent for long messages
« Reply #2 on: March 25, 2016, 10:46:34 pm »
Yes, it feels like it is a new window. I was surprised to see it at all (haven't seen it before).
Do you need that because the other code (for the "1st" window) cannot handle large messages?
In other words, - nothing (reasonable) can be done to deal with this issue?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Scrolling handle is absent for long messages
« Reply #3 on: March 25, 2016, 10:54:50 pm »
Re: Do you need that because the other code (for the "1st" window) cannot handle large messages?

I'm concerned about WebView using too much memory there -- and if you consider swiping, that's three messages side by side (potentially).

AFAIK, Gmail does same exact thing (past certain message size limit).
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: Scrolling handle is absent for long messages
« Reply #4 on: March 25, 2016, 11:11:56 pm »
I see...
Oh, well!

I am not using Gmail app much, - so, I don't know.

Thank you for the explanation.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Scrolling handle is absent for long messages
« Reply #5 on: March 25, 2016, 11:16:21 pm »
Sorry, just one more thought:

Can Aquamail call a separate instance of a Webview window (with the slider knob) for the "full size" message? That would eliminate the need to worry about the memory used for the adjacent messages for "swiping"?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Scrolling handle is absent for long messages
« Reply #6 on: March 25, 2016, 11:24:14 pm »
It does run a whole new separate Activity for "show full message", but the way things are wired up there is completely different. It would be a non-trivial task to reuse / even copy the code.
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: Scrolling handle is absent for long messages
« Reply #7 on: March 28, 2016, 07:29:38 pm »
Oh, well.

Thanks for considering it.