Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.4, 6.3.0
-
None
Description
Steps to reproduce:
1) Launch the application
2) Open the menu (press the left mouse button)
3) Hover the mouse over the item with the sub menu
4) Hover item of sub menu(second or below)
5) Hover the main menu item(second or below)
Actual result:
The item with the submenu continue to be highlighted
Expected result:
The item with the submenu should not be highlighted
A video with a replay of the problem has been attachedĀ
import QtQuick import QtQuick.Controls Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Menu { id: menu title: "Menu" delegate: MenuItem { background: Rectangle { color: hovered ? "red" : "white" } } Menu { title: "Sub menu" MenuItem { text: "Item1" } MenuItem { text: "Item2" } MenuItem { text: "Item3" } } MenuItem { text: "Item1" } MenuItem { text: "Item2" } } TapHandler { onTapped: menu.popup() } }