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

QQuickWidget - touch misbehaving badly with overlapping handlers hieararchy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.2.3, 6.3.0 Beta2, 6.3.0, 6.3
    • Quick: Widget
    • None
    • W11x64, Qt 6.2.3 and 6.3.0 MSVC2019x64
    • Windows

    Description

      See the attached demo. When you tap the button on a touchscreen, it fires the pressed signal (as demonstrated in the console output), but never gets released (no onCanceled, onReleased). I believe any touch control, even scrolling in flickables etc. gets cocked up the same way.

       

      Also note that without the

      ui->quickView->setAttribute(Qt::WA_AcceptTouchEvents);

      the touch does not work at all, even when I specify

      QCoreApplication::setAttribute(Qt::AA_SynthesizeMouseForUnhandledTouchEvents);

       

      Also tested using TapHandler for the root Item instead of MouseArea, same problem.

      Attachments

        Issue Links

          Activity

            People

              vhilshei Volker Hilsheimer
              danol Daniel
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: