RESOLVED DUPLICATE of bug 44089 36111
[Qt] Improve the interactions when clicking on links on a touch screen
https://bugs.webkit.org/show_bug.cgi?id=36111
Summary [Qt] Improve the interactions when clicking on links on a touch screen
Benjamin Poulain
Reported 2010-03-15 02:28:08 PDT
Interaction with a touch screen is far less precise that with a mouse. When one clicks on a link with a finger, the single point of interaction is often not on the link. QTouchPoint gives a rect representing the area of the finger on the screen. This rect must be used to find something the user can interact with. To implement this task, QtWebkit needs to sample points in the rect, and find an element that will accepts a click. The rect is not always available, here are the cases to handle: -QTouchPoint has a rect -QTouchEvent is sent, but without a rect -> guess a rect -No QTouchEvent is sent, QMouseEvent is sent instead on a platform without mouse (Maemo, some Symbian, Windows Mobile) -> guess a rect if the platform is mobile
Attachments
Kenneth Rohde Christiansen
Comment 1 2010-03-15 14:10:29 PDT
Antonio, your experience with the spatial navigation might come to use here. Maybe something smarter than sampling points.
Benjamin Poulain
Comment 2 2010-03-16 01:53:16 PDT
*** Bug 33169 has been marked as a duplicate of this bug. ***
Benjamin Poulain
Comment 3 2010-03-16 04:48:20 PDT
*** Bug 30712 has been marked as a duplicate of this bug. ***
Antonio Gomes
Comment 4 2010-03-27 08:52:10 PDT
(In reply to comment #1) > Antonio, your experience with the spatial navigation might come to use here. > Maybe something smarter than sampling points. Right. I can certainly work on this after bug 29431, which targets on Monday on my schedule.
Benjamin Poulain
Comment 5 2010-03-27 12:23:47 PDT
(In reply to comment #4) > Right. I can certainly work on this after bug 29431, which targets on Monday on > my schedule. If you think this will take more than a couple of days (and test with resistive and capacitive screens), please prioritize bug fixing instead. If you think it can be easily done for WebKit 2.0, that would be great :)
nokiabugz
Comment 6 2010-05-03 07:37:21 PDT
Please note that this is also a problem with HTML elements other than links. It takes several touch events to activate elements such as multiselect lists and buttons, as well as links.
Antonio Gomes
Comment 7 2010-08-18 08:28:50 PDT
Dup'ing it. This one will likely be fixed when bug 44089 is fixed. *** This bug has been marked as a duplicate of bug 44089 ***
Note You need to log in before you can comment on or make changes to this bug.