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

--- Comment #6 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit 94b0513ec9ebb32c0df6edbef53b19c8ef11064f by Akseli Lahtinen.
Committed on 28/10/2024 at 09:24.
Pushed by akselmo into branch 'master'.

SelectableLabel: Use onPressedChanged

OnTapped does not immediately show the context menu when label is
rightclicked, breaking QQC2 CI in the process. OnTapped shows the context
menu *after* right click is released.

This changes it to be similar to other elements we have like TextField
where right click brings the context menu immediately, instead of on
right click button release.

We utilize onPressedChanged, then check if pressed is true, to pop up the
context menu immediately.

M  +1    -1    src/controls/SelectableLabel.qml

https://invent.kde.org/frameworks/kirigami/-/commit/94b0513ec9ebb32c0df6edbef53b19c8ef11064f

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

Reply via email to