Details
Description
Emoji edit menu items are not visible if Platform MenuBar creation is postponed via Loader.
Regression since Qt 6.5.2.
Sample code
import QtQuick import Qt.labs.platform as Platform Window { width: 640 height: 480 visible: true Loader { id: menuBarLoader active: false sourceComponent: Platform.MenuBar { Platform.Menu { title: 'Edit' Platform.MenuItem { text: "Search..." } } } } Timer { running: true interval: 500 onTriggered: menuBarLoader.active = true } }
Steps to reproduce:
1. Build and run sample code
2. Observe macOS menu bar
3. Try to open system emoji panel (via "control+cmd+space" shortcut)
Actual results: missing emoji edit items in the menu bar, emoji panel can't be opened via the shortcut
Expected results: emoji edit items are present in the menu bar, emoji panel can be opened via the shortcut
Attachments
Issue Links
- relates to
-
QTBUG-117061 [macOS] Platform MenuBar can't be hidden after creation
-
- Closed
-