|Summary:||[Qt][EFL][WK2] Resizing the window doesn't always result in right content position|
|Product:||WebKit||Reporter:||Kenneth Rohde Christiansen <kenneth>|
|Component:||WebKit EFL||Assignee:||Kenneth Rohde Christiansen <kenneth>|
|Severity:||Normal||CC:||dongseong.hwang, joone, lucas.de.marchi, noam, yael|
|Version:||528+ (Nightly build)|
|Bug Depends on:|
Description Kenneth Rohde Christiansen 2012-12-07 16:34:02 PST
Load the fixed-position manual test. Scroll to the bottom. When I resize the window it doesn't set the right position and sometimes we even get position out of bounds (like use the fixed element test and scroll to bottom and then resize).
Comment 1 Yael 2012-12-08 14:34:01 PST
Adding Qt to the title. I see the same problem in Qt's MiniBrowser.
Comment 2 Yael 2012-12-09 18:13:21 PST
Swapping the order of translate and scale in EwkViewImpl::transformFromScene, EwkViewImpl::displayTimerFired and not scaling EwkViewImpl::m_pagePosition in PageViewportControllerClientEfl::setViewportPosition is fixing the issue for EFL. The order of translate and scale was swapped in r136000. I will upload a proper patch tomorrow, after better understanding the implications of this swap.
Comment 3 Yael 2012-12-10 05:50:27 PST
Resetting assignee. Kenneth is working on this.
Comment 4 Kenneth Rohde Christiansen 2012-12-10 08:59:05 PST
Created attachment 178565 [details] Patch This fixes it, but it would be nice to have it tested with Qt to make sure it doesn't affect pinch zooming etc.
Comment 5 Dongseong Hwang 2012-12-10 17:12:45 PST
Great! Qt runs well with this patch. I tested in your scrolling test: http://www.dorothybrowser.com/test/webkitTest/css3/fixedelement.html However, I can not test pinch zoom. I just resized qt window.
Comment 6 Kenneth Rohde Christiansen 2012-12-11 04:03:51 PST
Created attachment 178771 [details] Patch
Comment 7 Kenneth Rohde Christiansen 2012-12-11 06:12:54 PST
Landed in 137304