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

MouseArea in a ApplicationWindow's background can not be hovered since 6.9.0

    XMLWordPrintable

Details

    • Windows
    • f452998df (dev), 0f914a99c (6.9), 9bebb7017 (dev), 2a424a029 (dev), 106365d37 (6.9), a2dd7adc6 (6.9), f893dbccd (tqtc/lts-6.8), 169caa41f (tqtc/lts-6.5)

    Description

      since Qt 6.9.0, no output is logged out by the console.

      import QtQuick
      import QtQuick.Controls
      
      ApplicationWindow {
          width: 640
          height: 480
          visible: true
            title: qsTr("Hello World")
      
          background: Rectangle {
              MouseArea {
                  anchors.fill: parent
                  hoverEnabled: true
                  onPositionChanged: {
                      console.log("pos: " + mouseX + ", " + mouseY)
                  }
              }
          }
      } 

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-136031
          # Subject Branch Project Status CR V

          Activity

            People

              mitch_curtis Mitch Curtis
              mapleroid mapleroid
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: