GNOME Bugzilla – Bug 559815
Empty Reminders editor when opened second time
Last modified: 2012-08-08 10:02:40 UTC
I found some strange issues with "Alarms" dialog: a) Edit event, click the Alarm toolbar icon, the dialog is shown, hit Escape or the X window button, the dialog is hidden, then try to click the toolbar icon again, nothing happened in the UI, only on the console: Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed b) Have an event with one alarm, edit the event, hit toolbar button for Alarms dialog, choose the alarm and hit Edit, there is another message on the console: GLib-GObject-WARNING **: invalid cast from `GtkOptionMenu' to `GtkMenuShell'
I tried to reproduce this with Evolution 2.25.1 but wasn't able to generate either warning, and was able to bring up the Alarms dialog repeatedly.
OK, let's see, maybe it's because of my gtk+ version? It's not so fresh. My gtk+ revision is 20300, Last Changed Date: 2008-06-03 09:29:12 +0200 (Tue, 03 Jun 2008), from trunk, while the Evolution's revision is 36769, Last Changed Date: 2008-11-10 11:29:30 +0100 (Mon, 10 Nov 2008), also from trunk. The a) comes from
+ Trace 209586
Do you think I've really broken/too old gtk+?
Milan: Can you still reproduce this, or is this RESOLVED OBSOLETE?
Nice, b_ is fixed in git master (3.5.5), but a) is still there. Even it doesn't show the warning, then the second click on the Reminders toolbar button opens the window, but it's totally empty, with no content.
Created attachment 220653 [details] [review] evo patch for evolution; Fix for this. the "destroy-notify" prototype returns TRUE for stop processing other handlers, while there was attached only gtk_widget_hide(), which returns void. With this change the dialog looks like it should.
Created commit 5f0b2dd in evo master (3.5.90+) Created commit c0d422b in evo gnome-3-4 (3.4.4+)