Bug 58152 - [Qt] [WK2] Browser viewport not properly resizing on Maximize at startup with Tiled BackingStore
Summary: [Qt] [WK2] Browser viewport not properly resizing on Maximize at startup with...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2011-04-08 12:49 PDT by Keith Kyzivat
Modified: 2012-02-03 07:22 PST (History)
6 users (show)

See Also:


Attachments
Minimal Test case (1.84 KB, application/x-bzip2)
2011-04-08 12:52 PDT, Keith Kyzivat
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.