[Thunar-dev] thunar-vfs monitor problem

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sun May 21 12:42:19 CEST 2006

Brian J. Tarricone wrote:
> Hey Benny,

Hey Brian,

> I'm having a bit of a problem with thunar-vfs's file monitoring.  I'm
> fixing xfdesktop's problem where it doesn't listen to the interactive
> ThunarVfsJob signals.  It appears to be implemented ok, but in testing I
> found some strange behavior with thunar-vfs.
> If I create a file called 'New Empty File', and then try to create
> another file also called 'New Empty File' over top of it, thunar-vfs
> creates the new file, overwriting the old one.
> However, then the ThunarVfsMonitor emits only a CREATED signal, not the
> DELETED followed by CREATED that I would expect.  This seems to not
> really make sense to me.  Is this a bug, or intentional?

That's intentional: A CREATED event overrides a DELETED event. When you
receive a CREATED event you should check if you already have that file.

> 	-brian


More information about the Thunar-dev mailing list