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

[Possible Reg 6.4 -> 6.5] QML touch event after long touch is not emitted when Qt3D Scene3D exists

    XMLWordPrintable

Details

    • Windows
    • G&UI Finishing 2023

    Description

      A QML Button/MouseArea that enables drag above a Scene3D in 6.5 does not work as it was in 6.4. A reproducer is attached. Steps to reproducer:
      1. Build the sample by 6.5 and run, then the window is split into 2 halves. The left consists of a Button and a Rectangle with drag enabled by MouseArea. The right is the same but above a Scene3D.
      2. Touch the left Button for a while for something like ~1 second (or as long as the touch is considered as a right click) and then move away (out of Button boundary). Then 'Touch End' is emitted. But the same cannot be reprocured with the right Button that is above a Scene3D.
      3. Similarly, the left Rectangle can be dragged around after a long touch. But the right Rectangle cannot.
      4. Both Buttons and Rectangles work the same in 6.4, i.e., Touch End can be emitted for both Buttons and Rectangles can be dragged around.

      A temporary workaround is to setAcceptedMouseButtons(Qt::NoButton) for Scene3D. Somehow, it seems like that mouse event for Control and Scene3D are mixed together.

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes