Last modified: 2012-02-24 02:52:00 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 T33507, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31507 - Width of content unchanged when switching to landscape mode
Width of content unchanged when switching to landscape mode
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
Other other
: High normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 31447
  Show dependency treegraph
 
Reported: 2011-10-07 22:23 UTC by Stephen Bain
Modified: 2012-02-24 02:52 UTC (History)
4 users (show)

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


Attachments
Screenshot (82.32 KB, image/png)
2011-10-07 22:23 UTC, Stephen Bain
Details

Description Stephen Bain 2011-10-07 22:23:15 UTC
Created attachment 9188 [details]
Screenshot

Content in the webview is always locked to a width appropriate for view in portrait orientation (actually there's too much whitespace on the right-hand side as opposed to viewing the mobile site in a browser). In landscape orientation the content remains the same width, as does the search bar. Screenshot attached.

Android 2.3.6 on a Nexus S.
Comment 1 Brion Vibber 2011-10-08 05:51:19 UTC
Fix for the search bar: https://github.com/nitobi/Wikipedia/pull/30

The content itself is another matter; the iframe seems to take up all the proper space, and if you manage to get a non-mobile-formatted page in there you can see that it takes up the additional space.

The viewport or styles in the mobile view seem to be the culprit here.
Comment 2 al.harding 2011-10-12 23:54:50 UTC
Dave Johnson has fixed:

https://github.com/nitobi/Wikipedia/commit/54db0de7b176f75a5a23c5d28978f5ce78a8db9c

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


Navigation
Links