gnome-do docky fails if trash doesn't exist

Bug #337883 reported by Jesper Larsen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-do (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gnome-do

Running a clean install with the jaunty alpha 5 amd64 iso.

Gnome-do fails to run in docky mode. When trying to launch either a program or preferences the following is outputted in the terminal

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.IO.DirectoryNotFoundException: Directory '/home/***/.local/share/Trash/files' not found.
  at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000]
  at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000]
  at System.IO.Directory.GetFiles (System.String path) [0x00000]
  at Docky.Interface.TrashDockItem.GetSurfacePixbuf () [0x00000]
  at Docky.Interface.BaseDockItem.MakeIconSurface (Cairo.Surface similar) [0x00000]
  at Docky.Interface.BaseDockItem.GetIconSurface (Cairo.Surface similar) [0x00000]
  at Docky.Interface.DockArea.DrawIcon (Cairo.Context cr, Int32 icon) [0x00000]
  at Docky.Interface.DockArea.DrawIcons (Cairo.Context cr) [0x00000]
  at Docky.Interface.DockArea.DrawDrock (Cairo.Context cr) [0x00000]
  at Docky.Interface.DockArea.OnExposeEvent (Gdk.EventExpose evnt) [0x00000]
  at Gtk.Widget.exposeevent_cb (IntPtr widget, IntPtr evnt) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main_iteration()
   at Gtk.Application.RunIteration()
   at Do.Platform.ApplicationService.FlushMainThreadQueue()
   at Do.Core.Controller.PerformAction(Boolean vanish)
   at Do.Core.Controller.OnActivateKeyPressEvent(Gdk.EventKey evnt)
   at Do.Core.Controller.KeyPressWrap(Gdk.EventKey evnt)
   at Docky.Interface.DockWindow.OnKeyPressEvent(Gdk.EventKey evnt)
   at Gtk.Widget.keypressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Do.Do.Main(System.String[] args)
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose

Creating a file and sending it to the trash corrects the problem.
Obviously docky should be able to handle a non existing trash.

Revision history for this message
Jason Smith (jassmith) wrote :

This is fixed in gnome do trunk and we are releasing very very soon. New packages are going to go up to jaunty.

Changed in gnome-do:
assignee: nobody → jassmith
status: New → Fix Committed
Revision history for this message
Jason Smith (jassmith) wrote :

meant to mark confirmed, fix has not been committed to ubuntu but rather upstream

Changed in gnome-do:
status: Fix Committed → Confirmed
Revision history for this message
Michael Rooney (mrooney) wrote :

Excellent I'll mark it as triaged then, thanks!

Changed in gnome-do:
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Jesper Larsen (knorr) wrote :

The fix is in the karmic repositories.

Changed in gnome-do (Ubuntu):
assignee: Jason Smith (jassmith) → nobody
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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