[Webkit-unassigned] [Bug 36923] New: [Chromium]: FindInPage issue with focus remaining on element after match is found

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 31 19:40:50 PDT 2010


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

           Summary: [Chromium]: FindInPage issue with focus remaining on
                    element after match is found
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: finnur.webkit at gmail.com


In Chromium:

1. Go to a page that has a text input field at the top, such as
http://groups.google.com/?pli=1
2. Ctrl-F
3. Type a string that will match somewhere lower on the page (so that the page
scrolls down when a match is found)
4. Click on any link on the page

Notice that the page scrolls back up and sometimes the navigation doesn't
occur.

This is because in WebViewImpl::SetFocus we update the focus appearance for
textfields, to work around a focus bug. This call causes the textfield at the
top of the page to scroll into view, which is not what we want. 

We don't actually need the textfield to have focus once we find a match so the
fix is simply to clear the focus during find (if a match is found). I will
submit a patch shortly.

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