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

MouseArea steals hoverEvents even when it's not enabled

XMLWordPrintable

      MouseArea with "enabled: false" and "hoverEnabled: true" on top of another MouseArea (with hoverEnabled: true) prevents the underlying MouseArea from receiving hover events.

      Issue can be seen by running attached Test.qml in qmlscene.

      Workaround is easy (e.g. setting "hoverEnabled: enabled"). If this is intended behaviour, I suggest mentioning this in documentation.

        1. Test.qml
          0.6 kB
          Heikki Paajanen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            w00t Robin Burchell
            paajahe Heikki Paajanen
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes