Text tool stops accepting input on MacOS 2.99
Environment/Versions
- GIMP version: master
- Package: build locally
- Operating System: macOS Monterey (but was happening on Big Sur as well)
Description of the bug
You can't quite tell, but I had clicked in the font box and backspace deleted 'San-Serif' and then tried to start typing 'helvetica'. The 'h' ended up in the actual text box.
Reproduction
Is the bug reproducible?
Reproduction steps:
- create text box
- click in the font box after the font name
- use the delete key to delete the
…
Expected result:
Actual result:
Additional information
I'm getting this warning triggering:
g_return_if_fail_warning (/Users/lukasoberhuber/gtk/source/glib-2.70.0/glib/gmessages.c:2891)
gimp_tool_key_release (/Users/lukasoberhuber/gtk/source/gimp/app/tools/gimptool.c:937)
tool_manager_key_release_active (/Users/lukasoberhuber/gtk/source/gimp/app/tools/tool_manager.c:404)
gimp_display_shell_canvas_tool_events (/Users/lukasoberhuber/gtk/source/gimp/app/display/gimpdisplayshell-tool-events.c:1127)
_gtk_marshal_BOOLEAN__BOXED (/Users/lukasoberhuber/gtk/source/gtk+-3.24.30/gtk/gtkmarshalers.c:83)
g_closure_invoke (/Users/lukasoberhuber/gtk/source/glib-2.70.0/gobject/gclosure.c:830)
signal_emit_unlocked_R (/Users/lukasoberhuber/gtk/source/glib-2.70.0/gobject/gsignal.c:3742)
g_signal_emit_valist (/Users/lukasoberhuber/gtk/source/glib-2.70.0/gobject/gsignal.c:3507)
g_signal_emit (/Users/lukasoberhuber/gtk/source/glib-2.70.0/gobject/gsignal.c:3553)
gtk_widget_event_internal (/Users/lukasoberhuber/gtk/source/gtk+-3.24.30/gtk/gtkwidget.c:7808)
gtk_widget_event (/Users/lukasoberhuber/gtk/source/gtk+-3.24.30/gtk/gtkwidget.c:7378)
gtk_window_propagate_key_event (/Users/lukasoberhuber/gtk/source/gtk+-3.24.30/gtk/gtkwindow.c:8223)
gtk_window_key_release_event (/Users/lukasoberhuber/gtk/source/gtk+-3.24.30/gtk/gtkwindow.c:8274)
_gtk_marshal_BOOLEAN__BOXEDv (/Users/lukasoberhuber/gtk/source/gtk+-3.24.30/gtk/gtkmarshalers.c:129)
g_type_class_meta_marshalv (/Users/lukasoberhuber/gtk/source/glib-2.70.0/gobject/gclosure.c:1058)
_g_closure_invoke_va (/Users/lukasoberhuber/gtk/source/glib-2.70.0/gobject/gclosure.c:893)
g_signal_emit_valist (/Users/lukasoberhuber/gtk/source/glib-2.70.0/gobject/gsignal.c:3406)
g_signal_emit (/Users/lukasoberhuber/gtk/source/glib-2.70.0/gobject/gsignal.c:3553)
gtk_widget_event_internal (/Users/lukasoberhuber/gtk/source/gtk+-3.24.30/gtk/gtkwidget.c:7808)
gtk_widget_event (/Users/lukasoberhuber/gtk/source/gtk+-3.24.30/gtk/gtkwidget.c:7378)
It appears the tool is still active, though I have no idea why being active would cause a problem for the tool, but that's just me.
After the things here happen, the application tends to crash or segfault though not always.
(I'll add more info as I get to it.)