Last modified: 2014-02-12 23:45:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34096, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32096 - MobileFrontend image thumbnails, rendered math, etc gets upscaled on iPhone Retina display and hdpi Android
MobileFrontend image thumbnails, rendered math, etc gets upscaled on iPhone R...
Status: RESOLVED DUPLICATE of bug 36198
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 32095 make-mathjax-default
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-31 18:57 UTC by Brion Vibber
Modified: 2014-02-12 23:45 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot on Nexus 1, Android 2.3.6, Android stock browser (77.44 KB, image/png)
2011-10-31 18:57 UTC, Brion Vibber
Details
Screenshot in iOS 5 simulator set to iPhone w/ Retina display (99.25 KB, image/png)
2011-10-31 18:58 UTC, Brion Vibber
Details

Description Brion Vibber 2011-10-31 18:57:45 UTC
Created attachment 9333 [details]
Screenshot on Nexus 1, Android 2.3.6, Android stock browser

Same basic issue as bug 32095 which covers MobileFrontend-specific UI elements.

Thumbnail images, math renderings, etc get used at resolutions matching CSS pixels, which traditionally matches physical screen pixels on desktop browsers and many older phones.

Many newer phones have higher-resolution displays: iPhone 4's 320dpi Retina display; 240dpi "hdpi" on many Android phones including the Droid, Nexus 1 and Nexus S, and the upcoming Nexus Galaxy will also have a 320dpi-ish display.

This causes the images to be upsampled, showing either blurry or blocky, and is particularly noticeable for diagrams with clean lines and math equations which are meant to look as good as surrounding text.


CSS media queries can be used to get the display resolution -- you WILL NOT be able to reliably guess that on the server side from User-Agent data --
Comment 1 Brion Vibber 2011-10-31 18:58:54 UTC
Created attachment 9334 [details]
Screenshot in iOS 5 simulator set to iPhone w/ Retina display
Comment 2 Brion Vibber 2011-11-29 23:58:37 UTC
Replacing dep on bug 32697 (use high-res raster images for math) with use of MathJax (bug 31406). It renders lovely on Android & iPhone browsers that have the high-res stuff.
Comment 3 Jon 2012-09-18 05:30:59 UTC
Is this still relevant? It's almost a year old..
Comment 4 Brion Vibber 2012-09-18 05:55:15 UTC
Still relevant, not much has changed in the situation other than more phones are shipping with higher-resolution screens, and some laptops are as well.

MathJax is enabled as a user option for math, but probably doesn't work in MobileFrontend and since it's not the default it doesn't reach typical readers anyway.

Other content images are still served at 1.0x resolution and appear blurry on high-res screens.
Comment 5 Brion Vibber 2012-09-18 05:58:59 UTC
Let's merge this in with bug 36198 though, and not worry about math just now.

*** This bug has been marked as a duplicate of bug 36198 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links