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

Viewport reacts to input in other docks/tools #11997

Closed
mhilbrunner opened this issue Oct 10, 2017 · 6 comments
Closed

Viewport reacts to input in other docks/tools #11997

mhilbrunner opened this issue Oct 10, 2017 · 6 comments

Comments

@mhilbrunner
Copy link
Member

mhilbrunner commented Oct 10, 2017

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 7 x64, master@18d3ha0c

Issue description:
Pressing W, A, S, D is always registered in the viewport, even if other docks or tools are focused and used. (Example: Renaming things, filtering the scene node list or saving.)

Steps to reproduce:

  1. Open Godot and create a new scene
  2. Move view in viewport with W, A, S, D shortcuts
  3. Enter something using those same keys somewhere else (e.g. filtering, or in the save dialog)
  4. Observe that the viewport still reacts to those keypresses

Link to minimal example project:
GIF of the issue:
https://i.imgur.com/nvVzETr.gif

@Zylann
Copy link
Contributor

Zylann commented Oct 10, 2017

Is it WASD in particular? These are polled differently with direct input when freelook is active. However, freelook can only be active when RMB is pressed and the viewport has focus, which both shouldn't be the case in this save dialog...

@mhilbrunner
Copy link
Member Author

Only found it working (or rather, not working) with WASD, so that may be the case.

@toger5
Copy link
Contributor

toger5 commented Oct 10, 2017

duplicated of #11556 ?
I think they are definitely related.

@akien-mga
Copy link
Member

akien-mga commented Jan 6, 2018

I just tried it but couldn't reproduce the issue, can you confirm that it's fixed?

Since #11556 seems to be platform-specific: I'm testing on Mageia 6 x86_64 (Linux, Plasma 5).

@brainsick
Copy link
Contributor

brainsick commented Jan 7, 2018

Is this possibly related to #15199 ? Probably not. I just bring it up because both involve input misdirection amongst Godot sub/windows.

@mhilbrunner
Copy link
Member Author

Can confirm this no longer happens with current master. Fixed.

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

No branches or pull requests

6 participants