Closed Bug 738730 Opened 13 years ago Closed 13 years ago

Resizing browser on the desktop before starting the game does strange things to the canvas

Categories

(Websites Graveyard :: BrowserQuest, defect)

x86
macOS
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: marlenac, Unassigned)

Details

I was able to reproduce this on FF11 and Chrome. The steps to reproduce are similar for both but the outcome is slightly different in each browser (guessing webkit vs. non-webkit.) Steps to reproduce: 1. Open browser (Chrome or FF11) 2. Drag browser so that it's large 3. Drag browser so it's smaller 4. Navigate to browserquest ip 5. On both browsers, you will see the message for rotating device to landscape even though you are on desktop 6. Drag the browser so the window is large and this goes away 7. Start browser quest On FF11: Canvas is 0.25 the size of the canvas border On Chrome: div#bar-container renders over the canvas foreground Screenshot: https://skitch.com/e-marlenac/8cay6/resize
There are two different problems here: 1. The message saying you should rotate to landscape appears. This is a normal behavior of most browsers, which trigger "portrait mode" whenever the window is narrowed down to a column. I don't think I can do much about this. 2. BrowserQuest starts at the incorrect scale if you resize the window between initial page load and game start. This is completely BQ-related and will be fixed.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.