Re: [RFC] Bug 434575 , "file_moved" event needed in nautilus-monitor to be able to preserve metadata...



On Thu, 2007-11-15 at 14:43 +0100, Nelson Benítez León wrote:
> Hi!,
> I would like hacker's opinion on what steps are needed to fix bug
> http://bugzilla.gnome.org/show_bug.cgi?id=434575 , in the bug some of
> us commented that a "file_moved" event in nautilus monitor is needed
> to preserve metadata and so fix the visual bug of icons changing
> position in the desktop when they are saved in gedit...
> 
> It seems that inotify has support for "file move" events, that's good
> news, but I don't know if gvfs, which nautilus is switching to, has
> its own file monitoring api and if that api support "file moves", so
> maybe we have to wait for the gvfs rewrite before trying to fix this
> bug...

The gio GFileMonitor API doesn't have file moves atm, but that can be
added. Its not supported everywhere though, so it can't be relied on.

About the bug, it seems a bit aggressive to immediately schedule a
deletion of the metadata. Maybe we should just wait a while with that.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]