Last modified: 2014-02-12 23:45:56 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 T34095, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32095 - MobileFrontend icons are upsampled or blocky on high-dpi Android & iPhone Retina displays
MobileFrontend icons are upsampled or blocky on high-dpi Android & iPhone Ret...
Status: RESOLVED INVALID
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 32096
  Show dependency treegraph
 
Reported: 2011-10-31 18:48 UTC by Brion Vibber
Modified: 2014-02-12 23:45 UTC (History)
9 users (show)

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


Attachments
Screenshot in iOS 5 simulator set to iPhone w/ Retina display (176.45 KB, image/png)
2011-10-31 18:49 UTC, Brion Vibber
Details
Screenshot on Nexus 1, Android 2.3.6 (Android hdpi - 240dpi) (58.83 KB, image/png)
2011-10-31 18:50 UTC, Brion Vibber
Details

Description Brion Vibber 2011-10-31 18:48:51 UTC
The UI graphics for MobileFrontend are only available at raw CSS-pixel size; this is fine on medium-dpi devices (classic & 3G/s iPhone, some Android phones) but shows blurry upsampling on Android high-dpi (hdpi / 240dpi) devices like the Nexus 1 and is either blocky or blurry on iPhone 4 / Retina display (320dpi).

Should provide graphics for 160, 240, and 320dpi (1x, 1.5x, and 2x the resolution of CSS pixels at 1:1 web zoom) and use appropriate media queries.

Or, you know, SVG. Fricking Android! GARRRRR

(Note that images within articles, including rendered math and uploaded photos, have the same problem, but it'll likely be more work to figure out how to treat those!)
Comment 1 Brion Vibber 2011-10-31 18:49:33 UTC
Created attachment 9331 [details]
Screenshot in iOS 5 simulator set to iPhone w/ Retina display
Comment 2 Brion Vibber 2011-10-31 18:50:11 UTC
Created attachment 9332 [details]
Screenshot on Nexus 1, Android 2.3.6 (Android hdpi - 240dpi)
Comment 3 Brion Vibber 2011-10-31 19:00:43 UTC
Created bug 32096 to cover images in the content; making it depend on this bug as infrastructure for detecting resolution & swapping out images will likely be in common, and the UI gfx will be easier to do (no need to mess about with content stuff).
Comment 4 Brion Vibber 2011-12-04 17:58:26 UTC
r105120 / r105121 adds 1.5x (hdpi) and 2.x (xhdpi, retina display) versions of the search icon and invokes them as appropriate in the 'android' and 'iphone' stylesheets. Also an SVG master is included which can be used to make more versions.

Icon is visibly much sharper on my Nexus 1 (hdpi) and iPod Touch (retina display).

Note that there appear to be many duplicate or near-duplicate style sheets; the android, iphone, webkit, and default styles should probably all be merged into a single sheet.
Comment 5 Jon 2012-09-18 05:29:59 UTC
This relates to the old UI so closing.
I suggest we document best practices for ensuring we support retina displays well in future and reopen bugs detailing which of the new graphics need fixing up if necessary.

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


Navigation
Links