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 399490 - Help causes crash when Tomboy is a panel applet
Help causes crash when Tomboy is a panel applet
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
: 400744 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-01-22 18:46 UTC by Tom McLaughlin
Modified: 2008-02-27 01:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Working patch (464 bytes, patch)
2007-01-22 19:18 UTC, Boyd Timothy
committed Details | Review

Description Tom McLaughlin 2007-01-22 18:46:11 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>
Comment 1 Boyd Timothy 2007-01-22 19:18:38 UTC
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.
Comment 2 Sebastian Dröge (slomo) 2007-01-25 19:50:08 UTC
*** Bug 400744 has been marked as a duplicate of this bug. ***
Comment 3 Boyd Timothy 2008-02-27 01:30:40 UTC
Modifying default assignee and qa contact to be tomboy-maint@gnome.bugs.