Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
5.12.0 Beta 4
-
None
-
fc1832810f6c09505d9413685ed0b2d6295bea4a
Description
Run the example snippet from the MenuBar docs:
import QtQuick 2.9 import QtQuick.Window 2.2 import QtQuick.Controls 2.3 ApplicationWindow { id: window width: 320 height: 260 visible: true menuBar: MenuBar { Menu { title: qsTr("&File") Action { text: qsTr("&New...") } Action { text: qsTr("&Open...") } Action { text: qsTr("&Save") } Action { text: qsTr("Save &As...") } MenuSeparator { } Action { text: qsTr("&Quit") } } Menu { title: qsTr("&Edit") Action { text: qsTr("Cu&t") } Action { text: qsTr("&Copy") } Action { text: qsTr("&Paste") } } Menu { title: qsTr("&Help") Action { text: qsTr("&About") } } } }
Steps:
- open a menu from the menubar
- trigger a menu item, or click outside the menu
Expected behavior:
- the menubar is no longer highlighted, and hovering it won't re-open menus
Actual behavior:
- after a menu has been opened the first time, the menubar is stuck in highlighted mode and it keeps re-opening menus on hover -> there's seemingly no way to "get out" of the menubar