https://bugs.kde.org/show_bug.cgi?id=513452

Marco Martin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kirigami/-/commit/46
                   |                            |0682497d355695db3e83d13ef32
                   |                            |e9abdc5b5ff
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
            Version|                            |6.32.0
  Fixed/Implemented|                            |
                 In|                            |

--- Comment #2 from Marco Martin <[email protected]> ---
Git commit 460682497d355695db3e83d13ef32e9abdc5b5ff by Marco Martin, on behalf
of madhur dhillon.
Committed on 10/11/2026 at 15:20.
Pushed by mart into branch 'master'.

OverlaySheet: Prevent unhandled mouse clicks from leaking to background

The OverlaySheet's contentItem MouseArea did not set acceptedButtons,
defaulting to Qt.LeftButton only. As a result, right clicks inside
the sheet (such as right-clicking text in a SelectableLabel) were ignored
by the sheet's MouseArea and propagated to interactive controls situated
behind the overlay, causing secondary context menus to open simultaneously.

Set acceptedButtons to Qt.AllButtons on OverlaySheet's contentItem and
sheetHandler, while restricting drag gestures strictly to Qt.LeftButton.
Also consume the release event in SelectableLabel's right-click TapHandler
and guard the window height binding in AboutItem.
FIXED-IN: 6.32.0

M  +9    -0    autotests/tst_overlaysheet.qml
M  +1    -1    src/controls/AboutItem.qml
M  +1    -0    src/controls/SelectableLabel.qml
M  +12   -0    src/templates/OverlaySheet.qml

https://invent.kde.org/frameworks/kirigami/-/commit/460682497d355695db3e83d13ef32e9abdc5b5ff

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to