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

--- Comment #17 from cwo <[email protected]> ---
Git commit 099cf9e887a28ffaa4078cfccee0780fb03b3ef7 by Christoph Wolk.
Committed on 03/10/2026 at 07:31.
Pushed by cwo into branch 'Plasma/6.8'.

applets/taskmanager: avoid ReleaseWithinBounds for TapHandler

The Right-click menu sets the gesturePolicy to ReleaseWithinBounds to
attempt to get it to not keep the handler pressed when opening the
context menu (which takes focus and makes the handler not see the button
release). This doesn't seem to work on Wayland at least, and causes a
much bigger problem: as ReleaseWithinBounds takes an active grab rather
than the passive default, opening the context menu and closing it where
the handler can't see will cause it to swallow the next click (including
left-clicks), rather than just the next right-click on that specific
icon.

So don't set the gesturePolicy and just go with the default one.
Unfortunately this does not solve the issue with right-clicking again,
as the TapHandler still considers itself pressed when it's not, but at
least it does not interfere with other clicks.


(cherry picked from commit 928b86f55930f7e41bc7ff4b31b398d7b93680e9)

Co-authored-by: Christoph Wolk <[email protected]>

M  +0    -1    applets/taskmanager/qml/Task.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/099cf9e887a28ffaa4078cfccee0780fb03b3ef7

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

Reply via email to