Author Topic: [v1.6.0.10] Left part of mail body is hidden  (Read 4788 times)

nica

  • Guest
[v1.6.0.10] Left part of mail body is hidden
« on: February 03, 2016, 08:57:49 pm »
Hi, strange issue:

When I open an incoming message on tablet (landscape mode), sometimes the left part of the mailbody is hidden (see example in screenshot, red arrow).
If I rotate the screen to portrait mode and back to landscape, the entire message will be shown.

It does not happen with every incoming mail, and - as far as I see - it doesn't happen with messages sent by AquaMail.

Don't know whats's going on.
Device: Samsung Note 10.1 edition 2014 (P600), Android 5.1.1 Stock ROM

Any ideas? Thx.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #1 on: February 04, 2016, 12:59:04 am »
An Android (WebView) bug, reported and confirmed as such by Google developers:

https://code.google.com/p/chromium/issues/detail?id=552398

They made suggestions for workarounds (different ones for 5.0-5.1 and 6.0), but I'm not sure yet -- they have an additional cost for memory usage.
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/

nica

  • Guest
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #2 on: February 04, 2016, 01:11:44 am »
Hmm, thank you. Didn't find that.

It will take some time to read and understand tbis issue...

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #3 on: February 04, 2016, 01:14:38 am »
I'll make it simple for you:

It's a bug in WebView.

This is a system level component for displaying HTML, used by all mail apps to display message text.

Since Android 5.0, it updates via Play.

And while the developers are chasing targets like "more CSS features and higher JavaScript scores" -- they just don't have the time to work on bugs.
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/

nica

  • Guest
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #4 on: February 04, 2016, 01:18:05 am »
Thx.

Generally:
Would it be an option for devs using custom chrome tabs instead of webview?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #5 on: February 05, 2016, 01:35:09 am »
No, custom chrome tabs will not work here. At all.

And I don't think jumping like this is good -- WebView is supposed to work, it doesn't and Google's devs agree that it's their bug.

Let's stay away from "oh, here is this new thing, it's so shiny and smells like peaches, oooohhh!".

---

Looks like the bug is finally getting some action from Google developers:

https://code.google.com/p/chromium/issues/detail?id=552398#c45
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/

nica

  • Guest
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #6 on: February 05, 2016, 02:10:25 am »
Thx again.

BTW: I did not make a suggestion for AquaMail. It was a question "generally".

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #7 on: February 05, 2016, 09:18:36 pm »
Well, K9 Mail probably could use Chrome Tabs.

But not AquaMail (or Gmail):

I'm actually running JavaScript inside WebView, and even touch events are dispatched "in a weird way".

A lot of "jumping through hoops" to make Aqua's "message view" look like "regular" Android UI that scrolls in one piece, with some "panels" above and below (message header and attachments respectively).
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/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #8 on: February 12, 2016, 09:07:50 pm »
Google'ers rolled out a fix and it seemed to work for me.

https://code.google.com/p/chromium/issues/detail?id=552398#c61

@nica

You can install this "beta" version of WebView from here:

https://plus.google.com/communities/105434725573080290360

Would be great if you could try it (for the sake of an independent verification).
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/

nica

  • Guest
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #9 on: February 12, 2016, 09:14:01 pm »
@Kostya

Thank you for telling me.

Just have registered as beta tester, will try the beta version.

nica

  • Guest
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #10 on: February 12, 2016, 10:37:16 pm »
@Kostya

Checked a lot of mails, issue does not happen anymore - until now. Yeah :). Looks good, but I will go on testing next days.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: [v1.6.0.10] Left part of mail body is hidden
« Reply #11 on: February 12, 2016, 10:52:10 pm »
Great, thank you.
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/