Skip to content

TriangleMouseFilter: fix incorrect handling of hover events and inactive state

Fushan Wen requested to merge work/fuf/wordmostevilbug into master
  1. Even if inactive, we still need to record the current item so when active becomes true after the child item is hovered, the filter can still work correctly. This fixes bug 467426.
  2. When resetTimer is still active (waiting), the saved item may already have changed, so don't eat the event when resetTimer is still running. This fixes containsMouse not updating correctly.

This also moves all item relevant properties to a unified struct, so when resetting items, relevant properties will also be reset.

BUG: 467426

@bharadwaj-raju @davidedmundson

Edited by Fushan Wen

Merge request reports