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
For Gerrit Dashboard: QTBUG-53419 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
165794,3 | Don't leak hover events through popups | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
165795,4 | Don't leak hover events through modal overlays | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
165840,3 | Fix hover event handling for drawer overlays | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |