GNOME Bugzilla – Bug 143829
window groups render Ctrl+S search unusable
Last modified: 2011-02-04 16:17:33 UTC
If one adds GtkFileChooserDialog in a window group of its own (in order to minimize modality effects) the Ctrl+S search entry stops receiving any keypresses.
Created attachment 28398 [details] Testcase Ctrl+S search works as expected if the following line is omitted. gtk_window_group_add_window (group, GTK_WINDOW (chooser));
Created attachment 28399 [details] Testcase, the right one
GtkTreeView issue I expect, though I'm not sure what's going on in detail ... might want to compare what gtk_menu_popup() does though the treeview search dialog is a bit different since it doesn't do a pointer/keyboard grab.
Created attachment 37466 [details] testcase which also demonstrates a crash This testcase demontrates that this bug also leads to a crash. Steps to reproduce: 0) Create file "test" 1) Run the testcase 2) Type "te" (without quotes) 3) Click "Open" Actual results: A warning on console + crash. (400:2884): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed Trace from warning: Breakpoint 2, 0xb7b83e24 in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0 (gdb) where
+ Trace 55704
*** Bug 162475 has been marked as a duplicate of this bug. ***
Created attachment 37467 [details] [review] proposed fix This patch fixes the problem for me.
Thanks for the patch, I can confirm that my epiphany crashes in bug 162475 don't happen anymore.
2005-02-16 Matthias Clasen <mclasen@redhat.com> Fixes for #143829, Tommi Komulainen, Christian Persch: * gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the typeselect_flush_timeout when destroying the widgets it is operating on. (gtk_tree_view_ensure_interactive_directory): Add the popup to the window group of the toplevel it belongs to. * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget) (gtk_combo_box_popup): Do the same here.
*** Bug 168176 has been marked as a duplicate of this bug. ***