-
-
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
Prevent accidental drags by adding drag distance threshold #49310
Prevent accidental drags by adding drag distance threshold #49310
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes to the 3D viewport look good!
Thanks! |
Is it possible to expose the threshold in the Editor settings? I know this is definitely a value I would like to adjust. |
Yes, but I advised foxydeveloper to keep the value hardcoded as there's little reason to change the value if it's well-chosen. The value is already scaled according to the editor scale, so it behaves as expected on hiDPI displays. Inkscape and Blender don't expose settings for the drag distance threshold either, and I don't think they'll do that anytime soon. |
I wish people would stop citing Blender as usability reference. Blender is really not an inspiration when it comes to user friendly UI. It never has been and it is still miles behind other DCC software. Because blender does not have this setting we don't need it either is a problematic view to begin with. I agree if the setting is good it's less of an issue. However 10 pixels seems like a of unresponsiveness. This video above looks like too much for me. Since you mentioned Blender: I could measure only 8 pixels, however even with 3 pixels distance you already get a clear indicator with a different cursor to let the user know that they are "doing something". After 8 pixel the outline for the object changes as well, which is another clear indicator "now you are moving". If those things are not there those 8 pixels Blender has would feel like even more. We don't have those indicators yet as it seems. Add to that that some people more their hands more, other less precise. The weight of the mouse. With a pen device it's different again ... |
Prevents accidentally dragging nodes by 1 or 2 pixels by adding a threshold of 10 pixels that must be crossed to start dragging in the 2D & 3D editor. This is only for select mode. This behavior is present in other software like Inkscape and Blender.
Addresses similar need to this proposal godotengine/godot-proposals#431, suggested in this comment godotengine/godot-proposals#431 (comment)
2021-06-04_11-50-48.mp4
Bugsquad edit (keywords for easier searching): hysteresis