Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Zoomer plugin has some problems when using the mouse wheel #636

Open
ichaus-we opened this issue Nov 2, 2023 · 2 comments
Open

The Zoomer plugin has some problems when using the mouse wheel #636

ichaus-we opened this issue Nov 2, 2023 · 2 comments

Comments

@ichaus-we
Copy link
Contributor

ichaus-we commented Nov 2, 2023

I noticed some problems with the Zoomer plugin when using the mouse-wheel.

All of these can be reproduced with the ZoomerSample and chart-fx 11.3.0.
I uploaded some desktop videos (with audio).

Note: If using the mouse-wheel to zoom, the point under the mouse-pointer should not move but be the center of the zoom operation.

Issues:
1. On the first mouse-wheel action, the graph jumps vertically. Expected behaviour would be that the point under the mouse-pointer stays where it is, as it is the case for follow-up mouse wheel action, as well as it is the case for the horizontal axis.
Seems to be related to issue #508.

Fixed with #660

vertical_initial_jump.mp4
  1. If limiting zooming to one axis, then zooming with the mouse wheel, then limiting to the other axis (without a reset-to-origin), and then turning the mouse wheel, it will result in panning instead of zooming.
    I noticed that auto-ranging is turned off after mouse wheel action, only if the zoom stack is empty (like after reset-to-origin). Expected behaviour would be to always turn off auto-ranging after a mouse wheel action, after constraining zoom to that axis
change_axis_without_reset.mp4
  1. If the mouse wheel is operated quickly, the point under the mouse-pointer moves away but it should not.
quick_mouse_wheel_zoom.mp4
  1. After some zooming like for issue 2, zoom-to-origin will not reset the zoom state correctly.
zoom_to_origin.mp4

Hopefully these issues can get fixed easily.

Greetings,
Markus

@wirew0rm
Copy link
Member

wirew0rm commented Nov 6, 2023

Thank you for the very detailed reports, that will help a lot with reproducing and fixing the issues:+1:. I'll try to follow this up, but it might take me a while to find the time to dig into this.

@ichaus-we
Copy link
Contributor Author

Update;
Release 11.3.1 with #660 fixes sub-issue 1 of this issue ('On the first mouse-wheel action, the graph jumps vertically').
Still open are issues 2, 3 and 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants