Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Multiple calling of getGesturesStream causes memory leak and duplicate gestures to happen. #168

@NikitaSkoblov

Description

@NikitaSkoblov

How to Reproduce:

  1. Create a simple plot
  2. Add some gestures source by calling mentioned method
  3. Now reassign its gesturesoure by calling the same method multiple times

Expected: navigation works as usual
Observed: zoom "skyrockets" and is overaccelerated

the reason for this is that each new call of getgesturesstream adds its inner event call and subscribes to all previous calls of custom event "xbrowserwheel" so each call of those function adds duplicate gestures for each single mouse wheel event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions