Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7
-
None
-
92032bee2923024d126bc20929f79abd459cae49
Description
An example of where this is an issue is ToolTip; the tooltip shows up even when the menu is open:
import QtQuick 2.7 import QtQuick.Window 2.2 import QtQuick.Controls 2.0 ApplicationWindow { visible: true Menu { id: menu MenuItem { text: "Item 1" } MenuItem { text: "Item 2" } MenuItem { text: "Item 3" } } Button { text: "Button" hoverEnabled: true anchors.centerIn: parent onClicked: menu.open() onHoveredChanged: print("hovered", hovered) ToolTip.text: "ToolTip" ToolTip.visible: hovered } }
Attachments
Issue Links
- resulted in
-
QTBUG-54913 hovered property is true even when under a popup in a Window
- Closed