-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove operation don't complete #246
Comments
What's your expected behavior? |
Expect move file into trash. |
Or give some hints on the interface about what happened, the progress bar is just stuck there when removing files. Even though the log recorded errors. |
I'm not sure how to fix it. Seems we can only wait for an upstream fix. To my knowledge, for cross-device trashing, macOS creates a Regarding the UI, it's already included in the theme system. When a task fails, the progress bar changes color to red to alert the user. |
@sxyazi Thank you so much for the amazing work on this lovely file manager. It's really amazing file manager, and I use it daily but I noticed the below: Since this is an open issue, I'd like to mention a similar bug: Deletion with
|
Hi @bassamsdata
Could you please paste the error logs here by pressing BTW, a similar issue was fixed yesterday. Could you give the latest main branch a try to see if it works for you?
This should not be difficult to implement. Would you like to file an issue for it?
Nice to have, would you like to implement it as a plugin once the plugin system is available? |
Thank you for your prompt response @sxyazi
there is no error, just empty page of the terminal with flickery cursor, then I press
I did
yea sure. today, I'll do it.
I agree I think this should be as plugin. I'm sure someone would do it, unfortunately, I am not a rust programmer :( One more question, are you planning to do
|
Has this issue been resolved in the latest main branch for you?
No need for rust, just some lua :)
I'm not quite sure how to implement it. Yazi is using |
Hey @sxyazi
Yes, it has been solved. Thanks 🙏
This is would be amazing, I love lua :). people would create a lot of plugins with lua :)
I was thinking of different solution like persistant folder on the corner of |
I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Possibly related to your issue, #512 |
Summary
According to the upstream issue Byron/trash-rs#57
In my case, removing file(s) from the top-level of
$HOME
to trash will get the schedule progress bar not moving on, and the operation not be successful as well. Caused by$HOME
and trash bin not being in the same device.This scenario is common in users who use
tmpfs
as root or bind mount their~/.local
to other devices.yazi/core/src/tasks/workers/file.rs
Lines 181 to 183 in 4527044
This will block the progress bar.
System: Linux 6.5.5
The text was updated successfully, but these errors were encountered: