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

Staggering when draging PathHandle/PolyHandle #1055

Open
SeremTitus opened this issue Jan 6, 2025 · 3 comments
Open

Staggering when draging PathHandle/PolyHandle #1055

SeremTitus opened this issue Jan 6, 2025 · 3 comments
Labels

Comments

@SeremTitus
Copy link
Contributor

SeremTitus commented Jan 6, 2025

Caught in web editor

Recording.2025-01-06.172051.mp4

The point is a assigned a value the makes it go off screen, for a second before returning , and occurs numerous times as you drag a point.
seems to affect only polygon and polyline tags
edit: also path is affected

@SeremTitus SeremTitus added the bug label Jan 6, 2025
@MewPurPur
Copy link
Owner

MewPurPur commented Jan 6, 2025

So the <path> element is not affected?

@SeremTitus
Copy link
Contributor Author

So the element is not affected?

After testing it also is

@SeremTitus SeremTitus changed the title Staggering when draging polygon and polyline points Staggering when draging points Jan 7, 2025
@MewPurPur MewPurPur changed the title Staggering when draging points Staggering when draging PathHandle/PolyHandle Jan 7, 2025
@MewPurPur
Copy link
Owner

MewPurPur commented Jan 12, 2025

I can reproduce something like this very consistently on Firefox when the zoom is set to 110%

The issue is in our HandlerGUI.throw_mouse_motion_event() method. For some reason, Godot's get_window().get_mouse_position() returns the (0, 0) position frequently in this scenario.

I can't figure out how to solve this. I could try again when we move to Godot 4.4, and whatever solution is made, it should also be tested with non-default UI scale.

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

No branches or pull requests

2 participants