After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 621755 - Double click in a file causes critical warning
Double click in a file causes critical warning
Status: RESOLVED DUPLICATE of bug 626336
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2010-06-16 11:17 UTC by Garrett Regier
Modified: 2011-01-21 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Garrett Regier 2010-06-16 11:17:47 UTC
When I double click a file in the open or save dialog I get the following critical warning:

Gtk-CRITICAL **: gtk_real_button_activate: assertion `device && device->source == GDK_SOURCE_KEYBOARD' failed
Comment 1 Cody Russell 2010-06-16 18:59:35 UTC
I'm not able to reproduce this so far.  Can you either file a sample program that exploits the problem, or describe an application which does this and give steps to reproduce?
Comment 2 Garrett Regier 2010-06-16 19:25:25 UTC
I am using gedit master and for me I can reproduce it 100% of the time and so can another.


Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff2d65566 in IA__g_logv (log_domain=0x7ffff59b9393 "Gtk", 
    log_level=G_LOG_LEVEL_CRITICAL, 
    format=0x7ffff2dda3cd "%s: assertion `%s' failed", args1=0x7fffffffbaf0)
    at gmessages.c:545
545			G_BREAKPOINT ();
(gdb) backtrace full
  • #0 IA__g_logv
    at gmessages.c line 545
  • #1 IA__g_log
    at gmessages.c line 569
  • #2 IA__g_return_if_fail_warning
    at gmessages.c line 584
  • #3 gtk_real_button_activate
    at gtkbutton.c line 1724
  • #4 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #5 g_type_class_meta_marshal
    at gclosure.c line 878
  • #6 IA__g_closure_invoke
    at gclosure.c line 767
  • #7 signal_emit_unlocked_R
    at gsignal.c line 3183
  • #8 IA__g_signal_emit_valist
    at gsignal.c line 2984
  • #9 IA__g_signal_emit
    at gsignal.c line 3041
  • #10 IA__gtk_widget_activate
    at gtkwidget.c line 4931
  • #11 IA__gtk_window_activate_default
    at gtkwindow.c line 2061
  • #12 file_chooser_widget_file_activated
    at gtkfilechooserdialog.c line 132
  • #13 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #14 IA__g_closure_invoke
    at gclosure.c line 767
  • #15 signal_emit_unlocked_R
    at gsignal.c line 3253
  • #16 IA__g_signal_emit_valist
    at gsignal.c line 2984
  • #17 IA__g_signal_emit_by_name
    at gsignal.c line 3078
  • #18 delegate_file_activated
    at gtkfilechooserutils.c line 351
  • #19 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #20 IA__g_closure_invoke
    at gclosure.c line 767
  • #21 signal_emit_unlocked_R
    at gsignal.c line 3253
  • #22 IA__g_signal_emit_valist
    at gsignal.c line 2984
  • #23 IA__g_signal_emit_by_name
    at gsignal.c line 3078
  • #24 list_row_activated
    at gtkfilechooserdefault.c line 9991
  • #25 _gtk_marshal_VOID__BOXED_OBJECT
    at gtkmarshalers.c line 1385
  • #26 IA__g_closure_invoke
    at gclosure.c line 767
  • #27 signal_emit_unlocked_R
    at gsignal.c line 3253
  • #28 IA__g_signal_emit_valist
    at gsignal.c line 2984
  • #29 IA__g_signal_emit
    at gsignal.c line 3041
  • #30 IA__gtk_tree_view_row_activated
    at gtktreeview.c line 11770
  • #31 gtk_tree_view_button_press
    at gtktreeview.c line 2864
  • #32 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #33 g_type_class_meta_marshal
    at gclosure.c line 878
  • #34 IA__g_closure_invoke
    at gclosure.c line 767
  • #35 signal_emit_unlocked_R
    at gsignal.c line 3291
  • #36 IA__g_signal_emit_valist
    at gsignal.c line 2994
  • #37 IA__g_signal_emit
    at gsignal.c line 3041
  • #38 gtk_widget_event_internal
    at gtkwidget.c line 4900
  • #39 IA__gtk_widget_event
    at gtkwidget.c line 4697
  • #40 IA__gtk_propagate_event
    at gtkmain.c line 2395
  • #41 IA__gtk_main_do_event
    at gtkmain.c line 1578
  • #42 gdk_event_source_dispatch
    at gdkeventsource.c line 302
  • #43 g_main_dispatch
    at gmain.c line 2044
  • #44 IA__g_main_context_dispatch
    at gmain.c line 2597
  • #45 g_main_context_iterate
    at gmain.c line 2675
  • #46 IA__g_main_loop_run
    at gmain.c line 2883
  • #47 IA__gtk_main
    at gtkmain.c line 1185
  • #48 gedit_main
    at gedit.c line 201
  • #49 main
    at gedit.c line 276

Comment 3 Emilio Pozuelo Monfort 2010-11-22 19:06:21 UTC
it's also 100% reproducible when empathy master, when receiving a file transfer and clicking on accept on the file chooser dialog. I'm using gtk+ 2.91.4

Bug 632178 looks like a dup, btw
Comment 4 Federico Mena Quintero 2011-01-21 19:01:02 UTC

*** This bug has been marked as a duplicate of bug 626336 ***