godotengine / godotengine/godot
Begin Rotate/Scale/Translate Transformation wrapping doesn't keep the cursor inside the editor and fails.
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
- *Production edit: Related to
https://github.com/godotengine/godot/issues/57119 and
https://github.com/godotengine/godot/issues/78768.*
### Tested versions
4.3
### System information
Windows 11 - Vulkan - Nvidia RTX 4070 - intel i5 13600KF
### Issue description
If you use any of the Transformation shortcuts and move your mouse outside right/left the cursor will almost always leave the editor window the movement is then not tracked thus the transformation fails to continue.
### Steps to reproduce
1. Add a shortcut to any of the transformations above in the Editor Settings (default is None).
2. Add a MeshInstance3D and assign it any mesh so you can observe when the commands work and when they don't.
3. Use the shortcut command and move the mouse outside the godot editor.
4. Observe that you don't even need to move it fast for it to not wrap properly.
Expected correct result:
Mouse cursor wraps - never leaves the Editor window - from right to left/left to right.
### Minimal reproduction project (MRP)
None, you need to change Editor Settings.
Contributor guide
Research direction
Reproduce the issue in the Godot editor after assigning shortcuts to the Rotate, Scale, or Translate transformations in Editor Settings. Start by checking how the editor tracks cursor movement at the window's left and right edges. Done means the cursor remains within the editor and transformation movement continues when crossing either edge on the reported Windows and Vulkan setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100