Summary: | [Qt][WK2] Assertion failure on loading new page after panning/zooming in touchwebview | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dinu Jacob <dinu.jacob> | ||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | menard, webkit.review.bot, zoltan | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Dinu Jacob
2012-04-03 11:18:18 PDT
ensureContentWithinViewportBoundary is called with 'immediate' flag set to false. This results in an animation as there is a change in the visible content rectangle. While the animation is in progress, ChangeViewportProperties message is received. This results in a call to QtViewportInteractionEngine::applyConstraints and the ASSERT in reset fails as we are in the middle of animation for the visible content rect change. When handling contents size change, should set the new visible content rect immediately, instead of animating to it. Created attachment 135386 [details]
Patch
Comment on attachment 135386 [details]
Patch
This is fine, but there really shouldnt be many cases where it would be outside of the view (unless the content shrinks for some reason). If that happens in other cases, those should really be examined.
Comment on attachment 135386 [details] Patch Clearing flags on attachment: 135386 Committed r113720: <http://trac.webkit.org/changeset/113720> All reviewed patches have been landed. Closing bug. |