google-code-export / yabi

Automatically exported from code.google.com/p/yabi
0 stars 1 forks source link

Yabife - file browser panel update incorrect #200

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Whenever we copy or delete files in the file browser, the copy is run on the 
backend and then the file panel that was the destination of the drag and drop 
or where we delete gets refreshed.

Two examples when this will fail:
1. If we drop a file or dir into a subdirectory displayed we will refresh, but 
the user won't see the new file. Furthermore, if in the other panel we open the 
subdir we copied into that won't refresh after the copy finished.

2. If both file panels show the contents of the same directory and we delete a 
file or directory, only the file panel where we did the delete will update to 
display the current file list.

Therefore, it would be better if file operation WSs will return the directory 
they changed. File panels will have to listen to the directory changed event 
and if they are displaying that directory they should refresh their contents.

Original issue reported on code.google.com by szab...@gmail.com on 21 May 2012 at 2:33

GoogleCodeExporter commented 9 years ago

Original comment by szab...@gmail.com on 29 Jun 2012 at 2:18