learn-gdscript icon indicating copy to clipboard operation
learn-gdscript copied to clipboard

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

Open davekaa opened this issue 2 years ago β€’ 8 comments

I'm submitting a...

  • [x] 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.

davekaa avatar May 16 '22 17:05 davekaa

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 avatar May 16 '22 18:05 NathanLovato

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 πŸ‘

davekaa avatar May 16 '22 19:05 davekaa

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?

NathanLovato avatar May 17 '22 05:05 NathanLovato

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.

davekaa avatar May 17 '22 12:05 davekaa

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.

NathanLovato avatar May 17 '22 12:05 NathanLovato

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. πŸ‘

davekaa avatar May 17 '22 18:05 davekaa

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.

nathnolt avatar Jul 15 '22 20:07 nathnolt

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.

NathanLovato avatar Aug 21 '22 08:08 NathanLovato

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

RodrigoCard avatar Oct 21 '22 19:10 RodrigoCard

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.

NathanLovato avatar Oct 22 '22 05:10 NathanLovato