https://bugs.kde.org/show_bug.cgi?id=447278
David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/commit/
                   |                            |6f809058a6e0a4711bf23af118c
                   |                            |091e683eea8bd
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 6f809058a6e0a4711bf23af118c091e683eea8bd by David Edmundson.
Committed on 02/01/2022 at 20:41.
Pushed by davidedmundson into branch 'master'.

[kicker] Cache position of hover enter events before replaying

The triangle mouse blocks events that happen within a given region and
conditions, then replays those events when those conditions get broken.

If we intercept an enter event, we capture that under
m_interceptedHoverItem so that if conditions change we can replay that
hover enter event before we then start sending move events.

Currently we replay that hover event using the current mouse position.
This causes an issue for kickoff that has additional code to look for
actual move events in order to avoid selecting the current item on
scroll. Both codepaths are correct standalone, but together form a bug.

This patch caches the relative position of a HoverEnter event. Should we
replay the enter event, we do so with the position of the enter. We then
can replay a HoverMove to get the up-to-date location.

M  +9    -1    applets/kicker/plugin/trianglemousefilter.cpp
M  +3    -2    applets/kicker/plugin/trianglemousefilter.h

https://invent.kde.org/plasma/plasma-workspace/commit/6f809058a6e0a4711bf23af118c091e683eea8bd

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

Reply via email to