Last Comment Bug 770694 - Fix Metro Firefox such that app renders properly after window is snapped or device is rotated
: Fix Metro Firefox such that app renders properly after window is snapped or d...
Product: Core
Classification: Components
Component: Graphics: Layers (show other bugs)
: unspecified
: x86 Windows 8.1
-- normal (vote)
: mozilla17
Assigned To: Brian R. Bondy [:bbondy]
: Milan Sreckovic [:milan]
Depends on:
Blocks: elm-merge 750898
  Show dependency treegraph
Reported: 2012-07-03 15:14 PDT by Jonathan Wilde [:jwilde]
Modified: 2014-07-24 11:06 PDT (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Patch v1. (1.46 KB, patch)
2012-07-25 07:32 PDT, Brian R. Bondy [:bbondy]
bas: review+
Details | Diff | Splinter Review

Description User image Jonathan Wilde [:jwilde] 2012-07-03 15:14:46 PDT
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.
Comment 1 User image Brian R. Bondy [:bbondy] 2012-07-03 15:19:44 PDT
This used to work but must have regressed at some point
Comment 2 User image Brian R. Bondy [:bbondy] 2012-07-04 17:41:48 PDT
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.
Comment 3 User image Brian R. Bondy [:bbondy] 2012-07-25 07:32:55 PDT
Created attachment 645757 [details] [diff] [review]
Patch v1.

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.
Comment 4 User image Brian R. Bondy [:bbondy] 2012-07-26 10:50:49 PDT
Comment 5 User image Matt Brubeck (:mbrubeck) 2012-07-26 14:07:37 PDT

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