Tomboy crash when assigning to a "bloc note"

Bug #247078 reported by Olivier BONNAURE
2
Affects Status Importance Assigned to Milestone
tomboy (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

If i try to assign a note to a "bloc note" (don't know how to translate it) application crash with this message.

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at Tomboy.GuiUtils.GetMenuPosition (Gtk.Menu menu, System.Int32& x, System.Int32& y, System.Boolean& push_in) [0x00000]
  at GtkSharp.MenuPositionFuncWrapper.NativeCallback (IntPtr menu, System.Int32& x, System.Int32& y, System.Boolean& push_in, IntPtr user_data) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GtkSharp.MenuPositionFuncWrapper.NativeCallback(IntPtr menu, Int32 ByRef x, Int32 ByRef y, Boolean ByRef push_in, IntPtr user_data)
   at GtkSharp.MenuPositionFuncWrapper.NativeCallback(IntPtr , Int32 ByRef , Int32 ByRef , Boolean ByRef , IntPtr )
   at Gtk.Menu.gtk_menu_popup(IntPtr , IntPtr , IntPtr , GtkSharp.MenuPositionFuncNative , IntPtr , UInt32 , UInt32 )
   at Gtk.Menu.gtk_menu_popup(IntPtr , IntPtr , IntPtr , GtkSharp.MenuPositionFuncNative , IntPtr , UInt32 , UInt32 )
   at Gtk.Menu.Popup(Gtk.Widget parent_menu_shell, Gtk.Widget parent_menu_item, Gtk.MenuPositionFunc func, UInt32 button, UInt32 activate_time)
   at Tomboy.GuiUtils.PopupMenu(Gtk.Menu menu, Gdk.EventButton ev)
   at Tomboy.ToolMenuButton.OnClicked()
   at Gtk.ToolButton.clicked_cb(IntPtr tool_item)
   at Gtk.ToolButton.clicked_cb(IntPtr )
   at Gtk.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at Tomboy.Application.StartMainLoop()
   at Tomboy.Tomboy.StartTrayIcon()
   at Tomboy.Tomboy.Main(System.String[] args)

Anyway if I resize the note window and let appear "bloc note" icon then i can assign my note without crash.

Revision history for this message
Olivier BONNAURE (olivier-solisoft) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in tomboy.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for the report, Is this still an issue? Which version of tomboy and Ubuntu are you running?

Changed in tomboy:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

don't mind that's a duplicate of bug 202360.

Changed in tomboy:
status: Incomplete → Invalid
Revision history for this message
Olivier BONNAURE (olivier-solisoft) wrote :

Yes this is the same bug ... sorry

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.