Last modified: 2012-02-24 02:52:48 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 T33835, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31835 - Android app web view is very tiny on Android 4 (Ice Cream Sandwich) emulator
Android app web view is very tiny on Android 4 (Ice Cream Sandwich) emulator
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 33209
  Show dependency treegraph
 
Reported: 2011-10-19 23:44 UTC by Brion Vibber
Modified: 2012-02-24 02:52 UTC (History)
3 users (show)

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


Attachments
Screenshot (717.69 KB, image/png)
2011-10-19 23:44 UTC, Brion Vibber
Details

Description Brion Vibber 2011-10-19 23:44:03 UTC
Created attachment 9256 [details]
Screenshot

The content iframe isn't expanding to fill available space; only covers a small part of the screen.

Tested in Android 4 SDK emulator, at hdpi/240dpi size.
Comment 1 Brion Vibber 2011-10-20 00:14:24 UTC
This same problem has been seen on Honeycomb and is probably due to changes in the underlying webkit implementation.

Per notes on bug 31524, the way things scroll seems to indicate that the content iframe is expected to expand vertically to fit its content; apparently this no longer happens on Android 3 and 4.

Forcing it to appropriate dimensions within the view may help.
Comment 2 Brion Vibber 2011-10-31 03:13:23 UTC
Tapping problem on Android 3 & 4 when forcing the iframe to scroll within a fixed window view looks like http://code.google.com/p/android/issues/detail?id=20184
Comment 3 Brion Vibber 2011-10-31 03:46:56 UTC
Partial workaround hack: https://github.com/nitobi/Wikipedia/pull/50

Things can go awry (inability to click on links, section headings) after expanding some sections and scrolling further, but it gets things visible for now.
Comment 4 Brion Vibber 2011-12-17 17:32:01 UTC
Removing dep; can hopefully keep working around this for the moment without that.
Comment 5 Brion Vibber 2011-12-19 21:32:09 UTC
Fixed in commit fd44a653085fb2ff24515e0156a17b5926077eaa -- update to PhoneGap 1.3.0.
Comment 6 Brion Vibber 2011-12-19 21:33:06 UTC
Sorry this one is NOT fixed -- that's another bug. D'oh!
Reopened.
Comment 7 Brion Vibber 2012-01-05 23:30:27 UTC
Fixed in iframe -> div refactoring:

https://github.com/wikimedia/WikipediaMobile/commit/6137ac906ea39fef66539e9c5979dcb5b665b49e

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


Navigation
Links