Failed to receive key press event in gtkentry when entering delete or arrow keys with ibus (hangul) input method
Version Info : gtk-3-0 (3.24.24-3), gnome-shell(3.38.3), desktop-icons-ng(0.15.0), ibus(1.5.23), libhangul1(0.1.0) desktop-icons-ng : https://gitlab.com/rastersoft/desktop-icons-ng
Scenario
- Pre-set above version and language setting to Hangul.
- Create a folder in Desktop Folder. Attempt to F2 or rename a desktop icon. Then popover is created.
- With the Hangul input method, enter the direction key(left or right) or delete key
Expected outcome Expected : With direction key, cursor location is changed. With delete key, the selected string is deleted and the pressed character is entered.
Current behavior With direction key, popover is vanished. With delete key, nothing changed.
Additional information desktop-icons-ng extension create a process with gjs. And the scenario ui is implemented by attaching an GTK.Entry to the GTK.Popover in gjs. I made a similar example in c language and tested it. As a result, it works normally. It is difficult to even analyze whether it is an ibus problem, a gtk problem, or a gjs problem. However, what is certain is that the event does not come in with gtk_entry_key_press(). It even emits an emit signal for KEY_PRESS_EVENT, but it does not receive it with gtk_entry_key_press() after marshalling.