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

Using arrow keys with "move mode" tool selected causes 2D editor to lose focus #70789

Closed
conradhappeliv opened this issue Jan 1, 2023 · 0 comments · Fixed by #59081
Closed

Comments

@conradhappeliv
Copy link
Contributor

conradhappeliv commented Jan 1, 2023

Godot version

4.0.beta10 (d0398f6)

System information

Windows 11

Issue description

When the Move Mode tool is selected (hotkey W), using the arrow keys will move a node a few pixels before causing the 2D editor to lose focus.

This does not happen when the Select Mode tool (hotkey Q) is selected. This also doesn't happen when you use shift + arrow key (but this moves multiple pixels at once).

This is also not an issue in 3.5 (new regression in 4.0).

Steps to reproduce

  • Open any scene in 2D mode.
  • Select Select Mode:
    image
  • Select any CanvasItem.
  • You can move it around using the arrow keys (1px at a time).
  • Now select Move Mode:
    image
  • Try moving the node using arrow keys.
  • Notice how the main 2D editor loses focus.

Some extra info: shift + arrow key works fine!

_.Temp.-.Godot.Engine.2022-12-31.17-09-39.mp4

Minimal reproduction project

N/A - seems like any CanvasItem (maybe more?) has this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment