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

Web browser: unable to write <"> (double quote character) in the code editor with international keyboard #519

Open
1 of 2 tasks
davekaa opened this issue May 16, 2022 · 10 comments
Labels
bug Something isn't working as intended godot-engine This task likely requires making changes in the Godot engine wontfix This will not be worked on

Comments

@davekaa
Copy link

davekaa commented May 16, 2022

I'm submitting a...

  • Bug report.
  • Feature request.

Bug report

What is the current behavior?
I'm unable to write a <"> (double quote character) in the practices. Instead, it acts as if I pressed space. Now I can't finish some lessons. I'm on a Mac fyi.

What is the expected behavior?
Be able to write <"> (double quote characters).

Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.
I guess this is clear.

@NathanLovato
Copy link
Contributor

I wonder why this is happening to you. We'll need to know how to reproduce this bug to look into a potential fix. What keyboard layout do you use?

@NathanLovato NathanLovato added the bug Something isn't working as intended label May 16, 2022
@davekaa
Copy link
Author

davekaa commented May 16, 2022

You're quick! I thought I'd be one of many, but apparently not. :) I'm using using the US International - PC input source.

Maybe this issue is the reason for more keyboard related issues I'm facing. For example, I am also having issues with controls like copy and paste. CMD + C and CMD + V don't work, I need to use CTRL instead of CMD. And holding ALT/CMD while navigating with the arrow keys is also not making the type cursor move to the next word and end of the line respectively.

Let me know if I can provide you with more info 👍

@NathanLovato
Copy link
Contributor

You're the first to mention this issue. Itś probably not a hardware issue if you can usually type quotes in other programs.

The shortcuts using Ctrl are normal, the app's sandboxed in the browser, and can't know you're on macOS. See #101

The layout is a usual one so I don't know what else that could be. Which browser do you use? If it's Safari, could you try with another one like Firefox or a Chrome-based browser?

@davekaa
Copy link
Author

davekaa commented May 17, 2022

In Chrome I'm having the same issue, can't write the double quote character but also not the single quote characters (I managed to write single quotes in Safari by pressing CMD + ' (for some reason just pressing ' didn't do the trick).

The weird thing is, this problem only occurs with the ' key. If I combine SHIFT, OPTION or CMD with : { } , . / etc. everything works.

@NathanLovato NathanLovato added the help wanted Extra attention is needed label May 17, 2022
@NathanLovato
Copy link
Contributor

Sorry, but I have no idea why this is happening to you. Let's see if others face the same issue moving forward. We'll need to know why this is happening to have a chance to fix this.

@davekaa
Copy link
Author

davekaa commented May 17, 2022

No problem. I did manage to finish all the lessons by using the single ' character instead. Good luck finding the problem and let me know if I can be of any help. 👍

@nathnolt
Copy link

I'm sure this has to do with characters which can be used as a combination of another character. ( SEE: https://en.wikipedia.org/wiki/Dead_key ). I have the problem with my keyboard layout I use "English (Netherlands) - United States-International" the " key and the ^ key won't work.

I don't use Godot so don't know how to fix this issue, but I hope you can reproduce it.

@NathanLovato NathanLovato changed the title Unable to write <"> (double quote character) in the code editor. Web browser: unable to write <"> (double quote character) in the code editor with international keyboard Aug 21, 2022
@NathanLovato NathanLovato added wontfix This will not be worked on godot-engine This task likely requires making changes in the Godot engine and removed help wanted Extra attention is needed labels Aug 21, 2022
@NathanLovato
Copy link
Contributor

I could reproduce the issue in the browser version, but I don't think it's something we can solve right now, unfortunately. It seems that you can't input a quote with dead keys in the browser, but also on macOS. Dead keys work fine on Linux and seem to work fine on Windows.

It's something we would need to investigate and fix in the engine itself, but budget-wise we can't do that now. Hopefully, Godot 4 will help in that regard, when we get to update the app for it.

In the meantime, if you face this issue, I invite you to use a different keyboard layout, use the desktop version (on Linux or Windows), or use whatever key that works.

@RodrigoCard
Copy link

I have the same issue, macOS, firefox, US International - PC input source.
why it isnt fixable?

@NathanLovato
Copy link
Contributor

It's not that it can't be fixed, it's that we don't have the budget to investigate an engine-side issue like this one. We don't even have the budget to keep up with all the improvements and fixes we'd like to make right now.

If anyone wants to help fix this (or any other issue), the help would be most welcome though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended godot-engine This task likely requires making changes in the Godot engine wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants