Closed Voker57 closed 4 years ago
That looks like a bug in GTK that should also be reproducible from C. That's literally just printing the event type field of the event.
Can you report that here: https://gitlab.gnome.org/GNOME/gtk/-/issues/new ? Thanks
The C testcase behaves different so something wrong here.
I'm not sure why but this seems to behave correctly. Your difference is that you return TRUE
in the C code but Inhibit(false)
in the Rust code. If you make it the same in both then they behave the same.
Right, thank you.
testcase: https://github.com/Voker57/gtk-rs-button-testcase run and click somewhere in the window
Expected output:
output:
Tested on: Debian Sid
C testcase also included, behaves properly.