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

MouseArea.containsMouse doesn't revert to false if enabled is set to false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.4
    • 5.4.1
    • None

      A MouseArea with hoverEnabled set to true, never resets containsMouse if the MouseArea is disabled while it contains the mouse. Expected behavior would be that containsMouse becomes false immediately when the MouseArea is disabled.

      Please see the attached code snipped for an example.

        1. containsmouse.qml
          0.4 kB
          Michael Zanetti
        2. containsmouse-enabled-hoverEnabled.qml
          0.6 kB
          Shawn Rutledge
        For Gerrit Dashboard: QTBUG-46460
        # Subject Branch Project Status CR V

            richard Richard Moe Gustavsen
            mzanetti Michael Zanetti
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: