Closed Bug 770694 Opened 12 years ago Closed 12 years ago

Fix Metro Firefox such that app renders properly after window is snapped or device is rotated

Categories

(Core :: Graphics: Layers, defect)

x86
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: jwilde, Assigned: bbondy)

References

Details

(Whiteboard: completed-elm)

Attachments

(1 file)

Currently, if the Metro window is snapped or the device is rotated, the rendered UI is squished to the left and right side of the screen is black.  The tap targets appear to be placed correctly, though.
This used to work but must have regressed at some point
This regressed when we switched to using the LayerManager.  It takes care of resizing the swap buffers itself and we used to do it ourselves.  The problem was that it was trying to resize the swap buffer for 1 buffer but we need 2 for Metro.

http://hg.mozilla.org/projects/elm/rev/71e64f3c92fc
Whiteboard: completed-elm
Assignee: nobody → netzen
Attached patch Patch v1.Splinter Review
I'd like to sync up m-c with elm. Metro requires 2 buffers, so the resize call was failing with a param of 1.
Attachment #645757 - Flags: review?(bas.schouten)
Blocks: 750898, elm-merge
Component: General → Graphics: Layers
Product: Firefox → Core
Attachment #645757 - Flags: review?(bas.schouten) → review+
https://hg.mozilla.org/mozilla-central/rev/1cfacf0e86b4
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: