[Webkit-unassigned] [Bug 101358] New: [EFL][WK2] Wrong scroll position when going back in history

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 6 08:33:20 PST 2012


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

           Summary: [EFL][WK2] Wrong scroll position when going back in
                    history
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit EFL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yael at webkit.org
                CC: demarchi at webkit.org


When loading page A, scrolling down, then loading page B, scrolling down, and then going back in history, the scroll position is not preserved.
When we go back in history, we send the new visibleContentsRect to the web process, and that turns on the flag wasScrolledByUser. The history controller does not send the saved history scrollPosition, because this flag is set.

Looking at it further, I found out that when the load is committed, we are still using the contentsSize of the previous page. Resetting the contentsSize of the page prevents prevents this bug.

A patch is coming.

-- 
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