-
Notifications
You must be signed in to change notification settings - Fork 354
Description
There are several cases of confusing (error) messages when copying or moving files in lf:
Create a folder "test" with folders a, b and c inside.
The folder test has owner and permissions for the user running lf
The subfolders do not have the correct permissions, except for folder c
- navigate to folder "test" and move it somewhere else
- lf will display error messages about the missing permissions for a split second, but the last message will show "Moved successfully" in green
- in cases of large folder collections with some permissions missing, I only saw the green "Moved successfully" message, but no file was actually moved
When the same is done using copy instead of move, the files that have the right permissions are actually copied and the error message is shown in red, indicating the last failed copy operation.
There are two issues here though probably connected:
- Move shows successful message even though no file was moved
- Multiple error messages overwrite each other and cause confusion about what failed and what succeeded
Not sure how to best address this, but I would suggest that:
A) if there is an error, no success message may overwrite it
B) if there are multiple error messages, it should not show the last but a separate message about multiple errors