I see these methods to fix this bug:
Use undocumented GtkKeyHash, this is what powers GTK accelerators internally: header, source, example.
Add missing hotkeys to the AccelGroup and drop the custom hotkey handling in on_key_press_event.
Remake all hotkey handling using Accelerator Maps.
Remake all hotkey handling using Bindings.
If nothing of these is planned for the next release, I suggest to stop enabling-disabling cut/copy actions on the Edit menu opening. It can be easily done by commenting out ui_update_menu_copy_items and doesn't lead to any problems, only visually the menu entries will be enabled all the time. This won't make unbound hotkeys like "Go to matching brace" <Primary>b usable in non-Latin layouts, but will at least fix the confusing Ctrl+X, Ctrl+C behavior.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.