Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-62130

[macOS]: Simulating touch events does not work correctly on a webengineview

    XMLWordPrintable

Details

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

        1. 1112379.diff
          0.3 kB
        2. simplebrowser.zip
          128 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alexandru.croitor Alexandru Croitor
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes