godot icon indicating copy to clipboard operation
godot copied to clipboard

Alt key conflict between scene drag and drop and 3D navigation scheme

Open ryevdokimov opened this issue 1 year ago • 2 comments

Tested versions

v4.3.dev5.mono.official [89f70e98d]

System information

Godot v4.3.dev5.mono - Windows 10.0.22631 - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics (Advanced Micro Devices, Inc.; 31.0.24002.92) - AMD Ryzen 7 PRO 6850U with Radeon Graphics (16 Threads)

Issue description

Since https://github.com/godotengine/godot/pull/87623 has been merged the alt key is used as a drag-and-drop modifier to instantiate scenes as a child of root instead of a child of a selected node. However, this now conflicts with none default navigation schemes.

https://github.com/godotengine/godot/assets/105675984/d69f9cd0-921b-4226-8f18-adeb77bdb0e8

Steps to reproduce

Change navigation scheme to Maya or Modo.

image

Hold Alt while doing drag-and-drop to instantiate scene as a child of root

Minimal reproduction project (MRP)

N/A

ryevdokimov avatar Apr 01 '24 17:04 ryevdokimov

What modifier should we use instead when using the Maya or Modo navigation schemes? Shift is already used, and Ctrl should be avoided as it's used for the grid snapping toggle.

Calinou avatar Apr 27 '24 17:04 Calinou

Maybe just have the drag-and-drop override the alt functionality in the viewport? This seems to already be the case with right-click functionality, which prevents orbiting.

ryevdokimov avatar May 01 '24 13:05 ryevdokimov

I think there is some kind of conflict with right-click as well now that I'm looking into this again. IMO I think it's just better to disable freelook, navigation and/or all input all together when drag-and-dropping.

ryevdokimov avatar May 11 '24 17:05 ryevdokimov

I don't see how the modifiers are conflicting if you need to hold them only on release. So position your node and then hold Alt while releasing the mouse button.

KoBeWi avatar Jun 18 '24 15:06 KoBeWi

I suppose that people can train themselves to do that, but I don't think it's ideal. I'm personally used to preemptively selecting and holding the modifier keys as I drag especially when doing multiple scenes, otherwise I'll have to do some finger dancing.

ryevdokimov avatar Jun 18 '24 17:06 ryevdokimov