-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.0
-
Windows 11
Triggering an event from the default/native context menu of TextArea on Windows 11 propagates the event to e.g. a MouseArea that’s under the menu.
The issue is reproducible with 6.9.1 (and dev)
The attached example reproduces the issue with the following steps:
- Select all text in the TextArea
- Do a right click on the TextArea
- Select the Copy menu item
Expected:
The menu accepts the mouse event and it’s not propagated further
Actual:
The global mouse area receives the mouse press event
import QtQuick import QtQuick.Controls ApplicationWindow { width: 800 height: 500 visible: true MouseArea { anchors.fill: parent acceptedButtons: Qt.LeftButton onPressed: (mouse)=> { console.log(">> pressed detected") } Rectangle { width: 200 height: 100 color: "lightblue" TextArea { anchors.centerIn: parent text: "Hello, World!" color: "black" } } } }
- relates to
-
QTBUG-131786 popupType "Popup.Window" does not respect modal property
-
- Reported
-
For Gerrit Dashboard: QTBUG-139342 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
671483,7 | QQDAP::deliverPressOrReleaseEvent: return true if event was accepted | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |