[Nautilus-list] file changes not updating in 1.0.5



With fam, when changing the size of a file, it does not immediately update 
in a nautilus icon view. Adding or removing files does. But changes only 
seem to show up when you click on the icon. 

I've traced this a bit, and the fam interaction seems ok. It seems the 
problem is in the new work-queue code or something.

Here is some printf's i got when running "echo "hej" >> /tmp/1":

got FAMChanged for: file:///tmp/1
change: 0x41014848
change->kind: 2 (CHANGE_FILE_CHANGED: 2)
change: (nil)
calling nautilus_directory_notify_files_changed()
nautilus_directory_notify_files_changed() - file:///tmp/1 changed
nautilus_directory_notify_files_changed() - file: 0x84da310
calling nautilus_file_emit_changed() - 0x84da310
emitting FILES_CHANGED on nautilus-directory

But the file size in the icon view does not update. 

Clicking on the icon gives:

calling nautilus_file_emit_changed() - 0x84da310
emittint FILES_CHANGED on dir
change: (nil)

and then the file size updates.

/ Alex






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