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

5.9.4 snapshot breaks QQuickWidget mouse inputs (MouseArea)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.9.4
    • Fix Version/s: 5.9.4
    • Component/s: Quick: Widget
    • Labels:
      None
    • Environment:
      Using the Qt 5.9.4 snapshot from 2018-01-12.

      Tested under Windows 8.1 (mingw32) and Linux Desktop (GCC 64bit).

      Description

      When migrating our QQuickWidget based application from to 5.9.4, our QML MouseArea instances stopped working!

       

      How to reproduce:

      1. Open "Qt Quick Widgets Example"
      2. Add the following lines to rotatingsquare.qml
        MouseArea {
        id: mouse
        enabled: true
        anchors.fill: parent
        onClicked:  console.log('clicked')
        onPressed:  console.log('pressed')
        onReleased: console.log('released')
        }
      3. Run the application and click on the red rectangle.

       

      Problem:

      No mouse events are detected.
      The events works as expected using Qt 5.9.3.

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              richard Richard Moe Gustavsen
              Reporter:
              seek Bernhard Hartleb
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes