After deleting a folder outside of DC (V3.0.6), then clicking "Refresh Folders", the removed folder still appears in the list. Clicking on the folder in the list gives a 'not found' message, and the folder still remains in the list.
1. When DC recognizes that a folder is gone, it should be removed from the Duplicate Folder tab.
2. Similarly, when DC recognizes that a file is gone, it should be removed from the Duplicate Files tab.
2a. When a folder is removed, its files should also be removed from the Duplicate Files tab.
3. When a group of duplicate folders is reduced to one (i.e. others in the group being deleted), the whole group should be removed from the Duplicate Folders tab.
4. Similarly, on the Duplicate Files tab, when a group is reduced to one, the group should be removed.
5. After Windows Explorer or Rename is invoked from the 'right click' menu for a file or folder, a check should be made to see if the folder still exists (or the file was not renamed).
5a. In many cases, a file system event broadcast is available when a file or folder is changed/renamed/deleted. DC could register for these events to learn about listed files or folders being modified or deleted.
-- I have not checked to see if similar logic is needed after a "File Removal" operation that moves or deletes a file, or empties a folder.
It would be a great usability help, if after a "File Removal" operation, then the Duplicate tabs are cleaned up/shortened by removing files and folders affected by "File Removal". A user might work on the Duplicate Folders tab first, do a File Removal, and then work on a much smaller Duplicate Files tab.
BUG? Duplicate Folders tab, Refresh Folders after delete/mov
-
- Posts: 15
- Joined: Sun Jul 29, 2012 4:33 pm
- DigitalVolcano
- Site Admin
- Posts: 1864
- Joined: Thu Jun 09, 2011 10:04 am
Re: BUG? Duplicate Folders tab, Refresh Folders after delete
Thanks for your suggestions!
Currently the duplicate folders tab is synced from the duplicate files list, and the refresh folders doesn't check the files on disk.
If you have deleted files outside of DC, hitting F5 or clicking the 'View->Refresh List' menu option will check if the listed files are still present, and will update the list accordingly. You'll then need to click the refresh on the Duplicate Folder tab.
The duplicate folder refresh button rebuilds the tree, so any orphaned groups will drop off.
Actions performed from the File Removal area will update the Duplicate files list, additionally if the 'Automatically remove group orphans from list' option is turned on, the groups in the Duplicate files list will also drop off if reduced to one.
Listening for file system event broadcasts is an interesting idea, will look into this.
Currently the duplicate folders tab is synced from the duplicate files list, and the refresh folders doesn't check the files on disk.
If you have deleted files outside of DC, hitting F5 or clicking the 'View->Refresh List' menu option will check if the listed files are still present, and will update the list accordingly. You'll then need to click the refresh on the Duplicate Folder tab.
The duplicate folder refresh button rebuilds the tree, so any orphaned groups will drop off.
Actions performed from the File Removal area will update the Duplicate files list, additionally if the 'Automatically remove group orphans from list' option is turned on, the groups in the Duplicate files list will also drop off if reduced to one.
Listening for file system event broadcasts is an interesting idea, will look into this.
-
- Posts: 15
- Joined: Sun Jul 29, 2012 4:33 pm
Re: BUG? Duplicate Folders tab, Refresh Folders after delete
Sorry I did not think to look at View/Refresh List.
I'd like to try it, but I've gotten stuck generating a list of duplicates.
I'd like to try it, but I've gotten stuck generating a list of duplicates.