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

Touch events are not accepted in webenginequick by default

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.2.0 Beta4
    • 6.2.0 Beta3
    • WebEngine
    • None

    Description

      From Qt6 accepting touch events in Quick needs explicitly set with QQuickItem::acceptTouchEvents(true).
      Noted here: https://doc-snapshots.qt.io/qt6-dev/qquickitem.html#setAcceptedMouseButtons
      (Qt5 does not need it - the setAcceptedMouseButtons enabled touch events too.)

      For feature parity, I suppose it should be set to true.

      Reproduction: open any webenginewidgets example and try to move the page - it is working as intended.
      If you open any webengine example, the touch event is handled as a mouse event - a swipe will select text - it behaves like a mouse movement with a pressed left button.

      Attachments

        For Gerrit Dashboard: QTBUG-95924
        # Subject Branch Project Status CR V

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            egedi Balazs Egedi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes