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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        1. containsmouse.qml
          0.4 kB
          Michael Zanetti
        2. containsmouse-enabled-hoverEnabled.qml
          0.6 kB
          Shawn Rutledge

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: