[Webkit-unassigned] [Bug 106077] [Qt]=?UTF-8?Q?=20When=20frame=20flattening=EF=BC=8Cdrag=20scrollbar?=, then click link to goto next frame, the page scroll offset is preserved

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 6 22:00:16 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=106077





--- Comment #4 from Chen Zhixiang <chenzx at cn.fujitsu.com>  2013-01-06 22:02:11 PST ---
I've tried add code in void MainResourceLoader::didFinishLoading(double finishTime) , but it doesn't work.

+   frameLoader()->frame()->view()->setScrollPosition( IntPoint() );
+   frameLoader()->frame()->view()->updateScrollbars();

    ASSERT(!documentLoader()->timing()->responseEnd);
    documentLoader()->timing()->responseEnd = finishTime ? finishTime : (m_timeOfLastDataReceived ? m_timeOfLastDataReceived : currentTime());
    frameLoader()->finishedLoading();
    ResourceLoader::didFinishLoading(finishTime);

I'm not customed to webcore's internal layout/painting mechanism, please help!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list