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

Leaving dock area in ranges in inspector releases mouse #66555

Closed
GuilhermeGSousa opened this issue Sep 28, 2022 · 5 comments
Closed

Leaving dock area in ranges in inspector releases mouse #66555

GuilhermeGSousa opened this issue Sep 28, 2022 · 5 comments
Labels

Comments

@GuilhermeGSousa
Copy link
Contributor

Godot version

14e1f36

System information

Windows 10

Issue description

When dragging a slider in the inspector, the mouse is released if it falls outside of its dock area:

slider_bug

From what I could test it seems to affect all uses of EditorSpinSlider.

Steps to reproduce

  • Add this script to a node:
extends Node

@export_range(0, 1) var x : float
  • Drag the mouse outside of the dock area without releasing the mouse

Minimal reproduction project

Should be easy enough to reproduce without one, I can however provide one if needed

@Zireael07
Copy link
Contributor

dupe of #64695?

@GuilhermeGSousa
Copy link
Contributor Author

@Zireael07 Similar but I dont think so, that one was very specific to the TileMap editor, this one seems to affect everything that uses a range on the inspector.

@lmurray
Copy link

lmurray commented Sep 29, 2022

Dragging the slider has a different behavior than dragging in the text box above the slider which uses mouse capture to permit infinite dragging in either direction. For usability purposes I think they should both capture the mouse as it took me a while to figure out why sometimes I can drag the value outside of the sliders range while other times being constrained by it (by accidentally clicking on the slider instead of the text box).

@TokisanGames
Copy link
Contributor

Duplicate of #63544, allegedly fixed in #63598.

@GuilhermeGSousa
Copy link
Contributor Author

Closing as duplicate of #63544

@GuilhermeGSousa GuilhermeGSousa closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2022
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

5 participants