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

QQuickWidget - touch misbehaving badly with overlapping handlers hieararchy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical 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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes