GNOME Bugzilla – Bug 399490
Help causes crash when Tomboy is a panel applet
Last modified: 2008-02-27 01:30:40 UTC
When Tomboy is started as a panel applet, right clicking on it and selecting "Help" causes the applet to crash. This does not happen when hitting F1 in a note window or when tomboy was started manually and selecting "Help" from the right-click menu. Versions: tomoy 0.5.4 gtk# 2.10.0 gnome# 2.16.0 Backtrace: Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required. at Tomboy.Tomboy.OnShowHelpAction (object,System.EventArgs) <0x0000c> at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object_EventArgs (object,System.EventArgs) <0x0004e> at GLib.Signal.voidObjectCallback (intptr,intptr) <0x00093> at (wrapper native-to-managed) GLib.Signal.voidObjectCallback (intptr,intptr) <0x0002a> in (unmanaged) 0x2947af8f at (wrapper managed-to-native) Gtk.Action.gtk_action_activate (intptr) <0x00004> at Gtk.Action.Activate () <0x0001a> at Tomboy.TomboyApplet.ShowHelpVerb () <0x0002a> at (wrapper native-to-managed) Tomboy.TomboyApplet.ShowHelpVerb () <0x0002b> in (unmanaged) 0x2963a104 at (wrapper managed-to-native) _Gnome.PanelAppletFactory.panel_applet_factory_main (intptr,intptr,_GnomeSharp.PanelAppletFactoryCallbackNative,intptr) <0x00004> at _Gnome.PanelAppletFactory.Register (System.Type) <0x00158> at Tomboy.Tomboy.RegisterPanelAppletFactory () <0x0000c> at Tomboy.Tomboy.Main (string[]) <0x00159>
Created attachment 80914 [details] [review] Working patch Thanks for reporting this bug. Good find! Committed this patch to SVN. In this case, we can't use the "ShowHelpAction" to display the help in this case because the handler expects to use the Gdk.Screen from the tray icon.
*** Bug 400744 has been marked as a duplicate of this bug. ***
Modifying default assignee and qa contact to be tomboy-maint@gnome.bugs.