[Webkit-unassigned] [Bug 43602] New: [gtk] gtk_im_context_focus_in() should only be called when an input-able element has focus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 5 19:23:08 PDT 2010


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

           Summary: [gtk] gtk_im_context_focus_in() should only be called
                    when an input-able element has focus
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bjt23 at cornell.edu
                CC: mrobinson at webkit.org


We have an on-screen keyboard that is implemented as a Gtk IM module.  The change in Martin's commit 14a3dc3801b495632521c557be1091e79b996b03 that adds a call to gtk_im_context_focus_in() in webkitwebview.cpp:webkit_web_view_focus_in_event() causes the keyboard to pop up all the time, whenever the web view is focused, even if there are no actual editable/input-able elements on the page.

Not sure what the best fix is; commenting out those lines makes the situation better, but there are still some problems.  I'm thinking it should be checking the type of the focused DOM node, and only enable it if it's something that can accept keyboard input.  But not sure how to do that just yet.

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