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

'Y' key does not work most of the time #66562

Closed
mihazip opened this issue Sep 28, 2022 · 5 comments
Closed

'Y' key does not work most of the time #66562

mihazip opened this issue Sep 28, 2022 · 5 comments

Comments

@mihazip
Copy link

mihazip commented Sep 28, 2022

Godot version

v4.0.beta1.official [20d6672]

System information

Windows 10

Issue description

Since Godot 4.0 Beta 1, Godot does not detect my Y key and is probably, as I've been testing it over the past few days, automatically applying CTRL without me pressing it. I use a QWERTZ layout.

The issue already starts at the project list, where letter Y is not showing up when naming/renaming/filtering projects. Same thing happens in the editor when interacting with nodes or writing code in the code editor. The key does not produce a letter.

There are only two scenarios where it works correctly:

  • if I hold down SHIFT, then it will produce capital Y (or if I have caps lock enabled lowercase y), and
  • when setting a key for input mapping

I've used all versions of Godot 4.0 Alpha and none of them had this issue. I've also tried a nightly build of 4.0 Beta and the problem persists. I have tried opening projects initialized in an Alpha version and it makes no difference, I can then reopen them in Alpha versions and the key works.

What I've discovered so far
By playing around in the code editor, I presume what is happening is that CTRL is always triggered when pressing the Y key. Basically I can CTRL + Z to undo text and if I try to redo it with the CTRL + Y command it does nothing. To redo text, I have to press the Y key only.

Here is a screen recording with visible keystrokes showing the issue.:

godot.Issue.mp4

What I've already tried

  • changing layout to QWERTY -> problematic key is still Y and not Z
  • reseting the editor, redownloading and replacing the exe
  • pressing CTRL, ALT and SHIFT in case of a phantom key press
  • restarting my PC and shutting down all background software
  • two other keyboards
  • windows on-screen keyboard

Here is a screen recording of rejecting the Y letter while clicking the on-screen keyboard:

2022-09-28.20-32-22.mp4

Steps to reproduce

Open the editor, start typing into the Filter project input and y key is ignored when pressed.

Minimal reproduction project

No response

@Zireael07
Copy link
Contributor

If I'm reading this correctly, alpha 16 (the last alpha) detects the key correctly but beta 1 does not?

This would help us narrow down when the problem started

@bruvzg
Copy link
Member

bruvzg commented Sep 29, 2022

I can't reproduce it on Windows 11, make sure you have cleaned up editor configs and project input maps, see https://docs.godotengine.org/en/latest/tutorials/io/data_paths.html for editor config locations.

@mihazip
Copy link
Author

mihazip commented Sep 29, 2022

I can't reproduce it on Windows 11, make sure you have cleaned up editor configs and project input maps, see https://docs.godotengine.org/en/latest/tutorials/io/data_paths.html for editor config locations.

Thank you, this was it. The issue was with the editor_settings-4.tres file. Redo was bound to the Y key, so I guess that explains this whole thing. But I'm almost certain I did not change editor settings since an early alpha build.

[sub_resource type="InputEventKey" id="InputEventKey_fuud4"]
keycode = 89

If I'm reading this correctly, alpha 16 (the last alpha) detects the key correctly but beta 1 does not?

This would help us narrow down when the problem started

If it's still relevant, yes I've used alpha 16 without an issue, this issue appeared with beta.
I'm pretty sure I have not touched editor settings at all, besides binding redo to CTRL+Y on an early alpha build. Then it carried over, so I've never needed to change editor settings and I've never run into an issue until the beta.

Might've been my own error entirely, so sorry if that's the case.

@Calinou
Copy link
Member

Calinou commented Sep 29, 2022

@komatar Remember that for GitHub video previews to work, you need to have a blank line before and after the video URL. I edited your post accordingly, but remember to do this in the future 🙂

@mihazip mihazip closed this as completed Sep 30, 2022
@bruvzg
Copy link
Member

bruvzg commented Sep 30, 2022

But I'm almost certain I did not change editor settings since an early alpha build.
I'm pretty sure I have not touched editor settings at all, besides binding redo to CTRL+Y on an early alpha build.

It's likely a result of #65241, opening beta changed Ctrl+Y binding to a new modifier code value first, and then opening alpha removed an incompatible modifier code, leaving only Y.

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

5 participants