Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.1
-
macOS 10.12
-
-
67f49277e68693dde6fd9ad0dd5b58885c33599c
Description
[macOS]: Simulating touch events does not work correctly on a webengineview.
Firstly the main issue is that it will assume that all touch events are coming from the system as gestures, there is no check whether it is a spontaneous event so it never handles them anyway. Once this is rectified, then it works for TouchBegin and TouchEnd, but TouchUpdate does not work unless there is more than one touch point. This could be down to the fact that it assumes that everything is going to be a gesture rather than touch events.
Attached is a modified simplebrowser, you can go to http://kiev.tm/touch.html as a test and use the File | Emulate Touch action to see the behavior. Attached is also the patch that circumvents the initial problem on macOS (it's a one liner, so safe to view).
This works fine on Windows without any modification.
Attachments
Issue Links
- relates to
-
QTBUG-59999 Support free text selection and copy/paste by touch events
- Closed