gtk-rs / gtk

DEPRECATED, use https://github.com/gtk-rs/gtk3-rs repository instead!

Home Page:https://gtk-rs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EventKey not being emitted on Windows when Backspace or Arrow Keys Are Pressed

john01dav opened this issue · comments

I'm trying to implement a cross-platform terminal, based on gtk::TextView,and I'm basically done but there's a problem. On Windows, connect_key_press_event does not emit an event when backspace or enter is pressed, which is highly problematic as backspace is an essential part of a working terminal. Backspace is emitted correctly on Linux.

Additionally, arrow keys do not emit the event on Linux or Windows. I'm not sure if this is an upstream GTK bug, or a GTK-rs bug, but it seems reasonable to start here as I'm using GTK-rs.

The best place to ask such generic GTK questions would be https://discourse.gnome.org

The issue tracker here is meant for bugs in the bindings or feature requests for them.