Bug 66951 - [Qt] [WK2] Assert in computeViewportAttributes when MiniBrowser started with -touch
Summary: [Qt] [WK2] Assert in computeViewportAttributes when MiniBrowser started with ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P4 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2011-08-25 09:45 PDT by Viatcheslav Ostapenko
Modified: 2011-08-25 16:07 PDT (History)
1 user (show)

See Also:


Attachments
Replace setWidth/setHeight with setSize. (1.29 KB, patch)
2011-08-25 09:56 PDT, Viatcheslav Ostapenko
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Viatcheslav Ostapenko 2011-08-25 09:45:54 PDT
BrowserView::resizeEvent set width and height one by one. m_item->setWidth in BrowserView::resizeEvent() cause QTouchWebView::geometryChanged() which calls QTouchWebViewPrivate::updateViewportConstraints() and computeViewportAttributes while height is still 0 .
Comment 1 Viatcheslav Ostapenko 2011-08-25 09:56:55 PDT
Created attachment 105203 [details]
Replace setWidth/setHeight with setSize.
Comment 2 WebKit Review Bot 2011-08-25 16:06:59 PDT
Comment on attachment 105203 [details]
Replace setWidth/setHeight with setSize.

Clearing flags on attachment: 105203

Committed r93831: <http://trac.webkit.org/changeset/93831>
Comment 3 WebKit Review Bot 2011-08-25 16:07:03 PDT
All reviewed patches have been landed.  Closing bug.