-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 pointer skips away by dragging over an integer value in the Inspector #25046
Comments
Not sure if this is already known, by trying to set the
|
Fixes the warning mentioned in godotengine#25046
Fixes the warning mentioned in godotengine#25046
Confirmed in 88a36e2. It's not critical though so moving to next milestone. |
Is this still valid? |
AFAIK nobody has even tried to fix this issue. |
Still reproducible in the current Might be Linux specific though and linked to their way the cursor is captured. It's possible that dragging the custom font size value triggers an automatic update to refresh the font which interferes with the captured cursor. |
The same issue actually happens with any property that uses When you search in the codebase, there are lots of other potential cases. I've tried one randomly ( I wonder what would be a possible approach to fix it all over the engine:
|
While this could possibly be fixed everywhere, for example by somehow storing the control focus while rebuilding the tree or changing the strategy used when Storing the control focus sounds like a lot of effort for what is ultimately a workaround for missing code. Changing the strategy could be an improvement but I believe would require having access to the previous property value. This is technically already stored in the nodes of each |
This was caused by DynamicFont not specifying which property was edited, resulting in the whole inspector property tree being recreated. Fixes godotengine#25046
Fixed in |
From what I remember this issue existed because |
Thanks, I've tested quickly and I can't seem to reproduce the issue in |
OS
Linux Ubuntu 18.04 LTS
Godot version:
07e2046
Issue description:
While testing the issue #22652 (comment)
I discovered an another issue:
the pointer jumps away 8-/
The text was updated successfully, but these errors were encountered: