[Webkit-unassigned] [Bug 37163] New: inputMethodQuery returns coordinates in web page coordinates rather than in item coordinates.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 6 12:02:52 PDT 2010


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

           Summary: inputMethodQuery returns coordinates in web page
                    coordinates rather than in item coordinates.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: john.pavan at nokia.com
                CC: john.pavan at nokia.com


If QGraphicsWebView::inputMethodQuery is asked to return the position of
something on the web page, the values returned are in web page coordinates.  As
a QGraphicsWidget, QGraphicsWebView should be returning item coordinates
(relative to it's position in the QGraphicsScene).

For example, if the QGraphicsWebView contains a web page that has a cursor in
an editable field at pixel 20,1200 and the web page has been scrolled so that
the cursor is at 20,300.  When the microfocus is queried,
QGraphicsWebView::inputMethodQuery(Qt::ImMicroFocus) returns 20,1200, not
20,300.

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