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

5.9.4 snapshot breaks QQuickWidget mouse inputs (MouseArea)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • 5.9.4
    • 5.9.4
    • Quick: Widget
    • None
    • Using the Qt 5.9.4 snapshot from 2018-01-12.

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

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes