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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 20 07:06:20 PDT 2010


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





--- Comment #7 from Joseph Ligman <joseph.ligman at nokia.com>  2010-04-20 07:06:19 PST ---
(In reply to comment #6)
> (From update of attachment 53703 [details])
> 
> Good observation with the bug and good that you made a unit test!
> 
> I don't agree about your approach though. I think the scroll position of the
> frame should be taken into account
> right in QWebPage::inputMethodQuery, so that it works for QWebView and
> QGraphicsWebView. The code also becomes
> a lot simpler.
> 
> Joe, Janne: What do you think?
> 

I agree, it does seem simpler to do this in QWebPage::inputMethodQuery. For
another simplification, you might also look at ScrollView's contentsToWindow to
do the coordinates conversion.

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