Author Topic: new message auto-fit issue  (Read 3839 times)

Torben

  • Newbie
  • *
  • Posts: 8
new message auto-fit issue
« on: August 07, 2015, 10:15:38 pm »
Hello,

since the latest changes to the message auto-fit feature, one of the newsletters I receive is not displayed properly.
The font size is much too big.
I attached a screenshot and the email as .eml file.
Can you fix this? Or do I have to change configuration?

Thx for your help
Torben
« Last Edit: August 07, 2015, 10:19:06 pm by Torben »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: new message auto-fit issue
« Reply #1 on: August 07, 2015, 11:12:12 pm »
Thank you for the message source.

First, the message has media queries, so it looks different on a narrow screen.

I'm attaching the HTML extracted from the message, you can open it in a web browser, and make the window "narrow" and you'll see the images disappear and the fonts get larger.

Second, the message has some "very interesting" stuff -- a "viewport" tag that sets the message's display area to be twice as wide as the screen and disables scrolling and zooming.

As a consequence, the message's HTML cannot be seen completely (width) in Google Chrome on Android (sanity check). I'm attaching a screenshot, and again, this is the original HTML from the message.

It's clipped on the right (since the message says it's twice as wide as the screen) and cannot be scrolled or pinch zoomed out to see what's clipped. Only vertical scrolling and zooming in are allowed.

http://www.quirksmode.org/mobile/metaviewport/

Quote
initial-scale. Sets the initial zoom of the page AND the width of the layout viewport.

I think whoever designed this message has some work to do (yes, I know it looks like "a bug in AquaMail").

« Last Edit: August 07, 2015, 11:15:41 pm by Kostya Vasilyev, Aqua Mail »
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: new message auto-fit issue
« Reply #2 on: August 07, 2015, 11:39:44 pm »
PS - the font sizes being too big I fixed.

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/

Torben

  • Newbie
  • *
  • Posts: 8
Re: new message auto-fit issue
« Reply #3 on: August 08, 2015, 12:42:30 pm »
Great, that looks much better, like in the old versions of aqua mail.
When will you release the fix? :)

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: new message auto-fit issue
« Reply #4 on: August 08, 2015, 01:06:17 pm »
Great, that looks much better, like in the old versions of aqua mail.
When will you release the fix? :)
Please try latest build 1.5.9.7, just released this night:
http://www.aqua-mail.com/forum/index.php?topic=3825.msg19673#msg19673

Torben

  • Newbie
  • *
  • Posts: 8
Re: new message auto-fit issue
« Reply #5 on: August 08, 2015, 02:24:31 pm »
That works! Thank you very much for the extreme fast fix!

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: new message auto-fit issue
« Reply #6 on: August 08, 2015, 02:32:15 pm »
That works! Thank you very much for the extreme fast fix!
This "Thank" goooes toooooo: Kostya  8)