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...