WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 36111
30712
[Qt] QWebFrame should have a equivalent of QWebFrame::hitTestContent() for QRectF
https://bugs.webkit.org/show_bug.cgi?id=30712
Summary
[Qt] QWebFrame should have a equivalent of QWebFrame::hitTestContent() for QR...
Benjamin Poulain
Reported
2009-10-23 02:42:44 PDT
QWebFrame::hitTestContent() uses a QPoint which is appropriate for mouse usage. For touch-based implementation of the view, a similar function is needed to get all the widgets inside a rect. QTouchEvent return a list of TouchPoints. Those TouchPoints have the function TouchPoint::rect() to get the rect corresponding to the area taken by the finger. It is useful to use that rect to find a link, or a node that can deal with the click. The function could be something like QList<QWebElement> elementsForRect(QRectF).
Attachments
Add attachment
proposed patch, testcase, etc.
Kenneth Rohde Christiansen
Comment 1
2009-10-26 10:28:47 PDT
Sounds like a good idea, though we should think a bit more about the API. Is this needed for 4.6?
Benjamin Poulain
Comment 2
2009-10-26 11:42:42 PDT
This could be for Qt 4.7. There is a few functions we could add in order to improve the handling of QTouchEvent. It is too late to add this in 4.6.
Simon Hausmann
Comment 3
2009-12-03 02:24:16 PST
This relates to the following requirement:
http://bugreports.qt.nokia.com/browse/QTWEBKIT-13
Benjamin Poulain
Comment 4
2010-02-09 05:38:42 PST
This is no longer the plans. Sampling over the rect should do the trick.
Benjamin Poulain
Comment 5
2010-03-16 04:48:20 PDT
*** This bug has been marked as a duplicate of
bug 36111
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug