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

Crash when layer.enabled bound to MouseArea's containsMouse

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.9.1
    • None
    • Linux/Wayland, macOS

       

      Binding containsMouse to layer.enabled leads to crash when exiting hovered item.

      import QtQuick
      
      Window {
          width: 640
          height: 480
          visible: true
      
          Rectangle { // could be Item as well
              width: 400
              height: 400
              color: "red"
              layer.enabled: mouseArea.containsMouse
          }
          
          MouseArea {
              id: mouseArea
              width: 400
              height: 400
              hoverEnabled: true
          }
      }

       

       

       

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            michalc Michał Cieślak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change