[ubuntu-mono] [Bug 373202] [NEW] When no photos are displayed, clicking on timeline crashes f-spot

Martin Schwenke martin at meltin.net
Thu May 7 12:33:59 BST 2009

Public bug reported:

Binary package hint: f-spot

In 8.10 (Intrepid), f-spot can be made to crash as

1. Double-click a tag to show only photos with that tag.
2. Select another tag that has no photos in common with the first tag and drag this tag onto the other tag in the search bar so that only photos with both tags (i.e. no photos!) are displayed.
3. Click on the timeline.

This seems to reliably crash f-spot.

I'm told that this still happens in 9.04 (Jaunty)

Here's the backtrace:

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.IndexOutOfRangeException: Array index is out of range.
  at FSpot.PhotoQuery+PhotoCache.Get (Int32 index) [0x00000] 
  at FSpot.PhotoQuery.get_Item (Int32 index) [0x00000] 
  at FSpot.PhotoQuery.LookupItem (DateTime date, Boolean asc) [0x00000] 
  at FSpot.PhotoQuery.LookupItem (DateTime date) [0x00000] 
  at FSpot.TimeAdaptor.SetGlass (Int32 min) [0x00000] 
  at FSpot.GroupSelector+Glass.PositionChanged () [0x00000] 
  at FSpot.GroupSelector+Manipulator.SetPosition (Int32 position, Boolean update) [0x00000] 
  at FSpot.GroupSelector+Manipulator.SetPosition (Int32 position) [0x00000] 
  at FSpot.GroupSelector.OnButtonPressEvent (Gdk.EventButton args) [0x00000] 
  at Gtk.Widget.buttonpressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.buttonpressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Widget.buttonpressevent_cb(IntPtr , IntPtr )
   at Gtk.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at FSpot.Driver.Main(System.String[] args)

** Affects: f-spot (Ubuntu)
     Importance: Undecided
         Status: New

When no photos are displayed, clicking on timeline crashes f-spot
You received this bug notification because you are a member of MOTU Mono
Team, which is subscribed to f-spot in ubuntu.

More information about the Ubuntu-mono mailing list