Opened 9 years ago

Closed 9 years ago

#10591 closed Bug report (fixed)

Deleting the current directory doesn't remove it from the tree view and should navigate to the parent

Reported by: A.McBain Owned by:
Priority: low Component: FileZilla Client
Keywords: delete Cc:
Component version: 3.12.0.2 Operating system type: Windows
Operating system version:

Description

Let's say we have a directory A, with a directory B inside of it, and we click to view directory B. If we right click directory B and delete it, it succeeds, and FileZilla sends off the "update this view" request. This request results in an "Error: Unable to open .: no such file or directory" because, of course, the directory it wants was removed.

As a result of the error, the directory is not removed from the remote site tree view because the listing failed. Also unfortunately if you try to click around to the parent directory or other directories to get back to places that do exist, all you get is the "Ding!" error sound.

Clicking the refresh button while selecting another (existing) directory doesn't fix this state. To do that you need to click the cancel current operation button and select yes. Afterwards you are then free to select the parent directory which successfully lists its contents, and the directory is now removed from the view.

It seems to me it would be nice, from a user point of view, to check if you're deleting the directory you're currently viewing and instead of trying to refresh the current directory after the deletion succeeds, refresh the parent directory instead.

Change History (2)

comment:1 by A.McBain, 9 years ago

move to and refresh the parent directory*

comment:2 by Tim Kosse, 9 years ago

Resolution: fixed
Status: newclosed

A fix has been committed to the repository.

Note: See TracTickets for help on using tickets.