Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.11
Description
Based on user reports for Slate, which uses the Qt Labs Platform MenuBar:
Can also be verified with this snippet:
import QtQuick 2.7 import QtQuick.Controls 2.3 import Qt.labs.platform 1.0 as Platform ApplicationWindow { id: window visible: true width: 640 height: 480 Platform.MenuBar { Platform.Menu { title: "File" Platform.MenuItem { text: "New" } Platform.MenuItem { text: "Save" } Platform.MenuItem { text: "Open" } } } }
Since x11 doesn't have support for native menus, we need to get a QMenuBar fallback working. It looks like it's missing from here.
https://doc.qt.io/qt-5.10/qml-qt-labs-platform-menubar.html#details:
MenuBar is currently available on the following platforms:
- macOS
- Android
- Linux (only available on desktop environments that provide a global D-Bus menu bar)
Attachments
Issue Links
- relates to
-
QTBUG-69558 Implement support for native Popups and Menus
- Open