-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
"Delete Downloaded Files" does not work immediately before closing app #6162
Comments
@ukanuk Thanks for helping improve NewPipe! |
If that's really the intended behavior, please change the UI so it no longer lies. An "Undo" pop-up with all the files deleted from view tells me all the files have been deleted. Instead, the pop-up should say something like "Deleting all in 5... 4... 3... 2... 1..." and have a "Cancel" button instead. But even better than that would be implementing Trash, so that files are immediately marked for deletion but not actually deleted for a week. Then an app crash doesn't require re-downloading any videos, but also people like me don't have to wait for a countdown timer (including with the existing Undo pop-up) when they've finished watching videos and just want to clean up their files and quit. |
So as you suggested we should have a cancel button and also we can have a button (say proceed) which onClick can skip the timer if someone don't have to wait , what do you think? |
That would definitely be an improvement over the current behavior. The timeout and/or "Proceed" button still feel excessive to me (it's three clicks for trashcan+DELETE FILES+proceed), but I guess that's personal opinion. After further thought, is it really useful for the first dialog to always force choosing between DELETE FILES and CLEAR HISTORY? I assume most people always want to do one or the other, so a dropdown could replace these two buttons and default to the previous behavior. As a bonus, this change would eliminate those times I accidentally mis-click CLEAR HISTORY, and then to actually delete the files I have to open my phone file manager browse to the Newpipe folder, and manually delete the files there. |
Have the same bug. In addition to that, i keep finding video files in the file browser that i deleted from newpipe long time ago but that were never actually deleted. I am not sure what was the reason, i think it's because when i delete a file manually i select another one and open the delete menu while the bottom pop up saying that i can undo is still showing. |
Close as not-planned. This works as intended. Android has barely (if at all) a trash can system. Apps cant access it. Undo does not actually un-delete anything. It simply cancels the impending deletion (which is not instant.) E.g. Works as intended. |
@ukanuk ^ |
Checklist
Steps to reproduce the bug
Actual behaviour
Choosing 'DELETE DOWNLOADED FILES' immediately before closing the app does not in fact delete any files at all.
Expected behavior
Choosing 'DELETE DOWNLOADED FILES' immediately before closing the app DOES delete all the files. The Microsoft Edge app on Android has basically the same interface, including the Undo, but if I clean out my downloads immediately before closing the app, they stay deleted unlike NewPipe. I found #1793 (comment) which made me think of specifically waiting awhile before closing the app - and that does work around this issue. However I've been using the app for months, frequently annoyed that NewPipe usually wouldn't actually delete files when I asked it to, and it was only after coming and investigating Github issues that I realized the root cause is closing the app too quickly.
Screenshots/Screen recordings
Screen_Recording_20210424-135110_NewPipe_1.mp4
Logs
N/A
Device info
The text was updated successfully, but these errors were encountered: