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

Horizontal zoom center can ignore the mouse position in GLMakie (and maybe others?) #3471

Closed
3 tasks done
rafaqz opened this issue Dec 14, 2023 · 3 comments
Closed
3 tasks done
Labels
Axis related to `Axis()` objects bug GLMakie This relates to GLMakie.jl, the OpenGL backend for Makie. interaction anything event related maybe outdated/fixed TODO: review needs more info

Comments

@rafaqz
Copy link
Contributor

rafaqz commented Dec 14, 2023

  • are you running newest version (version from docs) ? yes
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie) yes, sometimes
  • What platform + GPU are you on? Linux/nvidia

I made this issue for Tyler: MakieOrg/Tyler.jl#66

But then I had the same problem later using MakieDraw.jl. Both are with GLMakie.

It's hard to reproduce because it usually works, and only switches after a lot of random manipulations of the plot. But its possible to switch into a mode where vertically zooming in doesn't zoom to the mouse position, but to somewhere closer to the center of the image. Horizontal zoom position always seems to go to the mouse position.

@rafaqz rafaqz added the bug label Dec 14, 2023
@rafaqz
Copy link
Contributor Author

rafaqz commented Dec 14, 2023

Ok it can also happen with horizontal zoom, but it seems to be one or the other not both together

@t-bltg t-bltg added the GLMakie This relates to GLMakie.jl, the OpenGL backend for Makie. label Dec 26, 2023
@ffreyer ffreyer added Axis related to `Axis()` objects needs more info maybe outdated/fixed TODO: review labels Aug 26, 2024
@ffreyer
Copy link
Collaborator

ffreyer commented Aug 26, 2024

I assume this happened with Axis?

@ffreyer ffreyer added the interaction anything event related label Aug 26, 2024
@asinghvi17
Copy link
Member

I think this was a consequence of the float32 precision issues, since it seems to work now.

@rafaqz rafaqz closed this as completed Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Axis related to `Axis()` objects bug GLMakie This relates to GLMakie.jl, the OpenGL backend for Makie. interaction anything event related maybe outdated/fixed TODO: review needs more info
Projects
None yet
Development

No branches or pull requests

4 participants