Closed Bug 729941 Opened 13 years ago Closed 11 years ago

MAPLE: BrowserQuest exceeds the screen limit in portrait mode

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Android
defect
Not set
normal

Tracking

(blocking-fennec1.0 -)

RESOLVED FIXED
Tracking Status
blocking-fennec1.0 --- -

People

(Reporter: csuciu, Unassigned)

References

()

Details

(Whiteboard: mwc-demo)

Attachments

(2 files)

Attached image Screenshot
Maple 13.0a1 (2012-02-23) Nightly 13.0a1 (2012-02-23) Samsung Galaxy SII (Android 2.3.4) 1. go to http://paulrouget.com/mwc-demos/browserquest/client/ 2. click on Play Expected: BrowserQuest should fit to screen in portrait mode Actual: BrowserQuest exceeds the screen limit in portrait mode Please see the attached screenshot.
Paul, is this a problem in BrowserQuest itself or with Maple? Catalin, Can this be reproduced on the regular nightly too?
(In reply to Martijn Wargers [:mw22] (QA - IRC nick: mw22) from comment #1) > Paul, is this a problem in BrowserQuest itself or with Maple? Catalin, Can > this be reproduced on the regular nightly too? This issue is reproducible on the latest Nightly build. -- Firefox 13.0a1 (2012-02-29) Device: Samsung Galaxy S2 OS: Android 2.3.4
dup of bug 732564
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Please mark bug 732564 as a dependency rather than duping. This (and the other dependent bugs) will have to be re-tested after bug 732564 lands.
Status: RESOLVED → REOPENED
Depends on: 732564
Resolution: DUPLICATE → ---
So BrowserQuest sets a meta viewport tag with width=device-width, which on the Galaxy Nexus we provide as 360 pixels (it's actually 720 pixels, but because it's a high-density display we use a default zoom of 2.0, giving us an effective 360-pixel width). BrowserQuest itself expects a viewport larger than 360 pixels, so it appears cropped (same as if you resize your desktop browser window to 360 pixels wide). The proper fix is to have BrowserQuest modify the viewport tag to specify the actual pixel width that it wants. This bug is also going to be device-dependent; on some devices (e.g. Galaxy Tab 10.1) this is not a problem because we have a device width of 800 pixels and low-density display so we provide the full 800.
Still occurs on Galaxy Nexus, Galaxy S II, Droid Pro, HTC Desire HD; Nightly 3/28/2012
blocking-fennec1.0: --- → ?
Moving to evangelism, since the webpage needs to change to fix this properly.
Component: General → Evangelism
QA Contact: general → evangelism
blocking-fennec1.0: ? → -
Component: Evangelism → Mobile
Product: Firefox for Android → Tech Evangelism
Version: Firefox 13 → unspecified
Changing URL to http://browserquest.mozilla.org/ as the one hosted on paulrouget.com doesn't seem to connect anymore.
Also it seems like the behavior has changed since this was reported (though I can't verify since I've never played this before today): There's a MQ that shows an image that prompts you to change the orientation of your phone if the viewport is narrower than 640px: @media screen and (max-width: 640px) and (orientation: portrait) { #portrait {display:block;height:300px;width:300px;position:absolute;top:70%; left:50%; margin:-150px 0 0 -150px;} ... }
Based on this info, I'm going to resolve as fixed. Please reopen if anyone can reproduce the original problem.
Status: REOPENED → RESOLVED
Closed: 13 years ago11 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: