Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10.1
-
d84556e6b (wip/nativemenus), bedbc950d (wip/nativemenus), 01f06efa2 (wip/nativemenus), e1d423090 (wip/nativemenus), 9563db876 (wip/nativemenus), c48ef8428 (wip/nativemenus), 6ea3edd49 (wip/nativemenus), 78f5ea6d5 (wip/nativemenus), f1bb9cfbf (dev)
Description
Popup and Menu seem to be implemented as adding a QtQuick item to the parent window instead of opening a new window.
This has some drawbacks that make it very hard to properly implement context menus:
- The context menu is clipped to the parent window. That means the context menu is cut off if the parent window is small (like a small notification window / message box)
- The context menu gains focus when opened, which means the control that previously had focus looses it. This makes it impossible to implement a "Copy" action in a context menu, as the textedit that had focus previously looses it, which clears the selection (and therefore the copy action has nothing to copy anymore)
Menu and Popup should be normal windows, at least on the desktop, to be able to implement context menus that behave properly.
Attachments
Issue Links
- is duplicated by
-
QTBUG-70110 the Menu (may include dialog) can't cross over the boundary of main window
- Closed
-
QTBUG-98934 QML lost the ability to show top level dialogs?
- Closed
-
QTBUG-88706 Qt Quick: Support for lightweight popups, tooltips and other sub-windows exceeding frame of parent window
- Closed
- is required for
-
QTBUG-107994 Modal objects do not fully capture the mouse
- Reported
- relates to
-
QTBUG-106782 [macOS] Quick Controls: MenuBar, Menu, MenuItem - add possibility to create native menus on Mac.
- In Progress
-
QTBUG-123389 Platform menu icon gets corrupted when changing screen scale factor
- Reported
-
QTBUG-115711 Shortcut of MenuItem QML Type from Qt Labs Platform is partially broken.
- Reported
-
QTBUG-93449 Move Qt Quick Popups into Qt Quick framework
- Open
-
QTBUG-65954 Qml MenuBar vs. global system menu bar
- Open
-
QTBUG-67426 No menu bar on certain Linux environments
- Open
-
QTBUG-71723 When showing a context menu for a TextField then it will lose the selection instead of keeping it
- Closed
-
QTBUG-87737 Port Qt Quick Dialogs to Qt 6
- Closed
-
QTBUG-124483 Native MenuBars and Menus in Qt Quick
- Reported
-
QTBUG-89287 Native backends for message boxes/alerts dialogs
- Closed
-
QTBUG-121363 Allow QQuickPopup to create a top-level window, instead of the QQuickPopupItem
- Closed
-
QTBUG-72982 Native ToolTips from QPA in Qt Quick Controls 2
- Open
-
QTBUG-65951 Fusion style should offer TextField context menu
- Closed
-
QTBUG-72983 Provide menus that are not limited to their basic drawing area
- Withdrawn
- mentioned in
-
Page Loading...
Gerrit Reviews
For Gerrit Dashboard: QTBUG-69558 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
519962,27 | Add beginnings of native Menu backend | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
522023,10 | Add menus manual test | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
526454,1 | Add menus manual test | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
526455,1 | Add beginnings of native Menu backend | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
528215,5 | Menu: get native sub-menus working | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
531405,6 | Add checkable Actions to menus manual test | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
531409,4 | Add disabled Actions to menus manual test | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
531748,2 | Menu: bump requestNative revision version to 6.8 | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
532202,25 | Implement native menu separator | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
533554,21 | Unconditionally create delegates when using native menus | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
534011,17 | tst_nativemenus: build on all platforms | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
534012,1 | WIP: Implement native menu separator | dev | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
535523,24 | Menu: respect requestNative changes | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
537126,11 | Merge tst_nativemenus into tst_qquickmenu | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
537412,7 | Menu: rename nativemenu logging category to match QPA | wip/nativemenus | qt/qtdeclarative | Status: MERGED | -1 | 0 |
537416,12 | Menu: allow setting (but not always respecting) requestNative | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
537807,12 | Menu: support adding MenuItem to native menu | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
537997,5 | tst_qquickmenu: move native menu support check to runtime | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
538536,3 | Menu: fix native checkable MenuItems (without an Action) not checking | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
538539,5 | Menu: reflect programmatic changes to non-native items in native items | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
538542,4 | Menu: fix heap-use-after-free when destroying sub-menus on macOS | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
539240,5 | Menu: fix an assertion failure when destroying menus in menubars | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
539244,6 | Menu: fix mixing non-Menu-related items in with native menus | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
540184,1 | Menu, MenuBar: request native menus by default | wip/nativemenus | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
541816,13 | menus: add shortcuts | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
542999,6 | Add AA_DontUseNativeMenuWindows | dev | qt/qtbase | Status: MERGED | +2 | 0 |
547651,19 | Menu, MenuBar: remove requestNative and rely solely on app attributes | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | +1 |
548037,17 | Add documentation for native menus | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
550983,8 | Fix Qt::AA_DontUseNativeMenuWindows being unsettable on 32 bit systems | dev | qt/qtbase | Status: MERGED | +2 | 0 |
551200,7 | Qt::ApplicationAttribute: static_assert that we don't go higher than 32 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
551590,3 | Menu: fix visible and opened not being true when native menu is open | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
552788,1 | Menu, MenuBar: remove requestNative and rely solely on app attributes | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
552789,1 | menus: add shortcuts | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
557365,8 | Add support for icons to native menus | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
561309,8 | AbstractButton: Add click() and animateClick() | wip/nativemenus | qt/qtdeclarative | Status: MERGED | +2 | 0 |
587360,2 | QQuickNativeMenuItem: don't check an uncheckable MenuItem | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
587822,2 | QQuickNativeMenuItem: don't check an uncheckable MenuItem | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |