Skip to content
Commit dbf238c9 authored by Fushan Wen's avatar Fushan Wen
Browse files

applets/clipboard: fix tool buttons not clickable using stylus

Those buttons are exclusive grabbers for mouse events, but not for other
pointer events like stylus events, so those events are delivered to
the passive grabbers, and both the TapHandler and the ToolButton will
receive the same pointer event, but TapHandler has a higher priority and
when the TapHandler receives the event, the toolbutton actions become
invalid because the item has changed.

This disables the TapHandler when the toolbuttons are hovered to fix the
problem.

See also: https://bugreports.qt.io/browse/QTBUG-108821
parent 2320424f
Pipeline #577596 passed with stage
in 12 minutes and 34 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment