Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
5.1.1
-
None
Description
I would expect the two buttons below to behave identically. Instead, the one with the Action assigned stays enabled when the mouse is in the window.
import QtQuick 2.1 import QtQuick.Controls 1.0 MouseArea { id: root hoverEnabled: true Action { id: action onTriggered: console.warn('action') text: 'Foo' } Column { Button { enabled: !root.containsMouse text: 'No Action' } Button { enabled: !root.containsMouse text: 'Action' action: action } } }