Bug 58152

Summary: [Qt] [WK2] Browser viewport not properly resizing on Maximize at startup with Tiled BackingStore
Product: WebKit Reporter: Keith Kyzivat <kamaji>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: benjamin, jesus, laszlo.gombos, ossy, ostap73, yael
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Minimal Test case none

Description Keith Kyzivat 2011-04-08 12:49:13 PDT
The Browser viewport is not properly resizing when the QGraphicsWKView is maximized prior to showing when configured with Tiled backing store.

In the test case, I print the rect being used for setting the geometry of the QGraphicsWKView and the scene rect of the QGraphicsView:
kyzivat@---:~/builds/webkit-linux-x86-rbuild-20110406-1114/Release/bin$ ./wk2-qt-maximize-bug-minimaltestcase 
Setting QGraphicsWKView geometry and scene rect to  QRectF(0,0 200x100) 
Setting QGraphicsWKView geometry and scene rect to  QRectF(0,0 1680x973) 

The rect being set is correct, however the rendered area still remains at 200x100.
If the backing store is changed to Simple, the problem goes away.

Attached you should find my minimal test case.
Comment 1 Keith Kyzivat 2011-04-08 12:52:35 PDT
Created attachment 88859 [details]
Minimal Test case
Comment 2 Keith Kyzivat 2011-04-08 12:53:15 PDT
Minimal test case is a .tar.bz2
Comment 3 Jesus Sanchez-Palencia 2012-02-03 07:22:08 PST
Things have changed a _lot_ since then... This is not valid anymore.