Open Bug 1933312 Opened 3 months ago Updated 3 months ago

Clear InputQueue::mActivePanGestureBlock at the end of a pan gesture

Categories

(Core :: Panning and Zooming, task, P3)

task

Tracking

()

People

(Reporter: botond, Unassigned)

References

Details

In bug 1917488, I realized that in most cases, nothing clears InputQueue::mActivePanGestureBlock, it just gets overwritten when the next pan gesture starts.

While this is not necessarily a problem (the problem it was contributing to in bug 1917488 was fixed another way in that bug), it seems unnecessary (and e.g. it might keep some objects, like the block's target APZC, longer than necessary). I think we should be able to clear the block if we know the gesture has ended (e.g. we have received a PANGESTURE_MOMENTUMEND, or we have received a PANGESTURE_END with mSimulateMomentum=true which tells us momentum events will not be arriving).

Depends on: 1917488
You need to log in before you can comment on or make changes to this bug.