AquaMail Forum

English - Android => Bug reports => Topic started by: Torben on August 07, 2015, 10:15:38 pm

Title: new message auto-fit issue
Post by: Torben 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
Title: Re: new message auto-fit issue
Post by: Kostya Vasilyev 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").

Title: Re: new message auto-fit issue
Post by: Kostya Vasilyev on August 07, 2015, 11:39:44 pm
PS - the font sizes being too big I fixed.

Title: Re: new message auto-fit issue
Post by: Torben 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? :)
Title: Re: new message auto-fit issue
Post by: mikeone 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
Title: Re: new message auto-fit issue
Post by: Torben on August 08, 2015, 02:24:31 pm
That works! Thank you very much for the extreme fast fix!
Title: Re: new message auto-fit issue
Post by: mikeone 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)