Mac JIS Eisu Kana keys work like Space key
Steps to reproduce
- (Enable the Japanese language input source in System Preferences)
- Run gtk3-demo and choose some examples.
- Press Mac JIS Eisu (英数) key or Kana (かな) key.
If you don't have a JIS keyboard, you can emulate Eisu Kana keys with Karabiner-Elements.
- Download, install and run Karabiner-Elements.
- Open Karabiner-Elements Preferences.
- Open "Simple modifications" tab and replace any key with 英数キー(= Eisu key) or かなキー(= Kana key).
Current behavior
The button on the GUI is unexpectedly pressed, which means Eisu/Kana key currently works like Space key.
If the button is pressed in a text input area, Eisu key disables the Japanese IME and Kana key enables the IME.
Expected outcome
The Eisu/Kana key press does nothing in non-text-input areas, because these keys are for enabling/disabling a Japanese IME.
Version information
GTK+-3.24.29 / macOS 10.16.7
I build the GTK+ following the instruction in https://wiki.gnome.org/Projects/GTK/OSX/Building.
Additional information
This bug is equivalent to https://bugzilla.gnome.org/show_bug.cgi?id=702841