Godot: Can't input double quotes (< " > character) on Mac OS X with US International keyboard layout

Created on 22 Apr 2016  Â·  15Comments  Â·  Source: godotengine/godot

Operating system or device:
MacOS X Mavericks

Issue description (what happened, and what was expected):
Can't use simple or double quotes inside the godot script editor using US-International keyboard layout.

Steps to reproduce:

  • Open any godot version since 2.0 stable
  • Attach a Panel to you Scene
  • Create a Script attached to the given panel
  • Try to use quotes and double-quotes

Link to minimal example project (optional but very welcome):
You can use my project as example:
https://github.com/emanuelcds/SlotMockRuntime

(I need to edit the gdscript files on VIM to edit the game logic and resync it on the engine).

bug macos editor

Most helpful comment

Confirmed, the quotes and double quotes works correctly when the OSX is using "US" keyboard, but fail if the user set "US International" keyboard

All 15 comments

OSX 10.11.6

Godot_v2.0.4.1_stable_osx

Unfortunately, the issue still here, any update about ? @akien-mga

No idea, we'd need someone who can reproduce it to debug the issue and try to fix it. AFAIK, it only affects certain users, as we have many OSX users who never complained about it.

I guess the common denominator is that you're all using the "US international" keyboard layout?

Yeah, definitely the common denominator is the "US international", I bet that is the main symptom

Confirmed, the quotes and double quotes works correctly when the OSX is using "US" keyboard, but fail if the user set "US International" keyboard

if you press double quote and then space, does it work?

On Wed, Jul 27, 2016 at 5:48 PM, Eduardo Nunes Pereira <
[email protected]> wrote:

Confirmed, the quotes and double quotes works correctly when the OSX is
using "US" keyboard, but fail if the user set "US International" keyboard

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/4403#issuecomment-235715801,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z21aJ_EgsQKUoYljGn8tPqo2yTkvcks5qZ8QBgaJpZM4IN5Gv
.

@reduz, doesn't work either, my keyboard is a "US International" due the PT-br idiom. When I press the double quote and then space nothing happens, it just considers as a simple space and ignores the double quote as if haven't pressed

I think this is the same as #1490, a general problem with dead keys.

Same error here!
I can't write something like this: is_action_pressed("left")

This needs an OSX developer to dive into the input code.

I'm having this same problem here: When i use "US International" mode on my keyboard i can't type quotes neither other characters in the Godot Editor - but when i change the keyboard mode all seems to be working fine.

The problem doesn't only affects the double quote, but any character that "waits" (a.k.a. dead keys) for the next input in the International Keyboard. For example, when I press the " key and follow it by a vowel like a, it produces ä instead of "a. Likewise, the characters ~ ^ ' also "wait" for the next input key so they can determine which character will be inputted, be the regular character, be a modified character like ç, or ê or ñ.

My system settings:

ProductName: Mac OS X
ProductVersion: 10.12.4
BuildVersion: 16E195

$ printenv

TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
LANG=pt_BR.UTF-8
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1

As you can see, I'm using the UTF-8 version of the pt_BR locale, with the Brazilian Keyboard Pro.

Keyboard Layout

The bug can be avoided temporarily by selecting the US keyboard on the System Preferences -> Keyboard -> Layout

@BastiaanOlij want to give this one a try?

CC also @bruvzg and @marcelofg55 :)

I'm searching this 'quetos' isse about last 4 hours. Thanks to "eduardonunesp" i handled it. Changing 'US Internatiol' Keyboard to 'US' Keyboard worked for me.

I changed to keyboard "US" from "US International" and it works

Was this page helpful?
0 / 5 - 0 ratings