ability to remove files #11143

Closed
opened 2026-02-21 21:10:39 -05:00 by deekerman · 14 comments
Owner

Originally created by @github-account1111 on GitHub (Oct 29, 2020).

Please provide the following information

qBittorrent version and Operating System

4.3.0.1 Windows 10 1809

If on linux, libtorrent-rasterbar and Qt version

(type here)

What is the problem

Unchecking a file doesn't delete it. It just stays there, and I have to go into the folder manually and search it up. If multiple files are involved things can quickly get messy.

What is the expected behavior

Two options:

  • Extra option to delete the file through the right-click context menu.
  • Unchecking the file also deletes it. I would prefer this option, because it would provide more consistency in that it would eliminate the situation where I uncheck the file, but do not delete it, which would leave rogue untracked files inside of active torrent directories. It also eliminates the need to do two actions (unchecking + deleting).

Steps to reproduce

Go into the Content menu of a torrent.

Extra info(if any)

uTorrent has the option, and I've always found it really useful.

Originally created by @github-account1111 on GitHub (Oct 29, 2020). **Please provide the following information** ### qBittorrent version and Operating System 4.3.0.1 Windows 10 1809 ### If on linux, libtorrent-rasterbar and Qt version (type here) ### What is the problem Unchecking a file doesn't delete it. It just stays there, and I have to go into the folder manually and search it up. If multiple files are involved things can quickly get messy. ### What is the expected behavior Two options: - Extra option to delete the file through the right-click context menu. - Unchecking the file also deletes it. I would prefer this option, because it would provide more consistency in that it would eliminate the situation where I uncheck the file, but do not delete it, which would leave rogue untracked files inside of active torrent directories. It also eliminates the need to do two actions (unchecking + deleting). ### Steps to reproduce Go into the Content menu of a torrent. ### Extra info(if any) uTorrent has the option, and I've always found it really useful.
Author
Owner

@FranciscoPombal commented on GitHub (Oct 29, 2020):

Related: https://github.com/qbittorrent/qBittorrent/issues/13531.

I'm considering this a feature request for:

Extra option to delete the file in the right-click context menu.

@FranciscoPombal commented on GitHub (Oct 29, 2020): Related: https://github.com/qbittorrent/qBittorrent/issues/13531. I'm considering this a feature request for: > Extra option to delete the file in the right-click context menu.
Author
Owner

@github-account1111 commented on GitHub (Oct 29, 2020):

I found that issue right after posting this. You're efficient!

I'm considering this a feature request for:

Why not the second option, if I may ask?

Edit: No, you're right, the first option is probably better.

@github-account1111 commented on GitHub (Oct 29, 2020): I found that issue right after posting this. You're efficient! >I'm considering this a feature request for: Why not the second option, if I may ask? Edit: No, you're right, the first option is probably better.
Author
Owner

@HYBRID-BEING commented on GitHub (Oct 31, 2020):

Maybe add an option to control the unchecking behavior?

@HYBRID-BEING commented on GitHub (Oct 31, 2020): Maybe add an option to control the unchecking behavior?
Author
Owner

@leleoveiga commented on GitHub (Nov 1, 2020):

isnt it the same as delete the torrent and check the box of deleting the files too? I mean, whats the point of deleting the file but not deleting the torrent too

@leleoveiga commented on GitHub (Nov 1, 2020): isnt it the same as delete the torrent and check the box of deleting the files too? I mean, whats the point of deleting the file but not deleting the torrent too
Author
Owner

@HYBRID-BEING commented on GitHub (Nov 2, 2020):

@leleoveiga
This issue is not about deleting a torrent though. There could be numerous reasons for deleting specific files - you mistakenly chose wrong files or simply forgot to chose the ones you need when starting the torrent, you didn't knew which ones you'll need and want to remove unnecessary files after you checked through the files, you want to keep torrent in list without it taking any space, etc.

@HYBRID-BEING commented on GitHub (Nov 2, 2020): @leleoveiga This issue is not about deleting a torrent though. There could be numerous reasons for deleting specific files - you mistakenly chose wrong files or simply forgot to chose the ones you need when starting the torrent, you didn't knew which ones you'll need and want to remove unnecessary files after you checked through the files, you want to keep torrent in list without it taking any space, etc.
Author
Owner

@github-account1111 commented on GitHub (Nov 13, 2020):

@leleoveiga torrent != file. There can be multiple files in the torrent.

@github-account1111 commented on GitHub (Nov 13, 2020): @leleoveiga torrent != file. There can be multiple files in the torrent.
Author
Owner

@Bob202011 commented on GitHub (Nov 17, 2020):

I would hate to see simply unselecting a file delete it. I've done it accidentally on files that have taken me a long time to download , and once a file is gone it could be gone forever leaving the torrent unseeded.

@Bob202011 commented on GitHub (Nov 17, 2020): I would hate to see simply unselecting a file delete it. I've done it accidentally on files that have taken me a long time to download , and once a file is gone it could be gone forever leaving the torrent unseeded.
Author
Owner

@HYBRID-BEING commented on GitHub (Nov 18, 2020):

@Bob202011
Deleting file by unchecking it definitely should not be a default action. I do think that it doesn't sound like a thing that one would do a lot (can't come up with a use-case for this, tbh), so maybe it doesn't really warrant an option in the settings, and context menu entry to delete file from drive would be sufficient.
Additionally, torrent context menu could have some kind of "Delete unchecked files" entry or something.

@HYBRID-BEING commented on GitHub (Nov 18, 2020): @Bob202011 Deleting file by unchecking it definitely should not be a default action. I do think that it doesn't sound like a thing that one would do a lot (can't come up with a use-case for this, tbh), so maybe it doesn't really warrant an option in the settings, and context menu entry to delete file from drive would be sufficient. Additionally, torrent context menu could have some kind of "Delete unchecked files" entry or something.
Author
Owner

@github-account1111 commented on GitHub (Nov 18, 2020):

I agree, I've realized why such behavior would be bad since opening this issue. But, as Francisco wrote, this is a request for

Extra option to delete the file in the right-click context menu.

So you can rest easy :)

@github-account1111 commented on GitHub (Nov 18, 2020): I agree, I've realized why such behavior would be bad since opening this issue. But, as Francisco wrote, this is a request for > Extra option to delete the file in the right-click context menu. So you can rest easy :)
Author
Owner

@jbruchon commented on GitHub (Feb 15, 2022):

What I'm seeing is that I'll uncheck files so I can only keep some of them, delete the torrent, and the files I unchecked don't get deleted upon torrent deletion. This is the correct way: delete the unchecked files on torrent deletion. Unfortunately, that's not happening, so I'm forced to poke through them manually.

@jbruchon commented on GitHub (Feb 15, 2022): What I'm seeing is that I'll uncheck files so I can only keep some of them, delete the torrent, and the files I unchecked don't get deleted upon torrent deletion. This is the correct way: delete the unchecked files on torrent deletion. Unfortunately, that's not happening, so I'm forced to poke through them manually.
Author
Owner

@HYBRID-BEING commented on GitHub (Feb 15, 2022):

Are you sure those files were not in use? (#14498)

@HYBRID-BEING commented on GitHub (Feb 15, 2022): Are you sure those files were not in use? (#14498)
Author
Owner

@jbruchon commented on GitHub (Feb 15, 2022):

@HYBRID-BEING In my case, no. They were only in use by qBT and I was asking for torrent deletion.

@jbruchon commented on GitHub (Feb 15, 2022): @HYBRID-BEING In my case, no. They were only in use by qBT and I was asking for torrent deletion.
Author
Owner

@HYBRID-BEING commented on GitHub (Feb 15, 2022):

Can't reproduce on 4.4.0. You might want to open a new issue for this.

@HYBRID-BEING commented on GitHub (Feb 15, 2022): Can't reproduce on 4.4.0. You might want to open a new issue for this.
Author
Owner

@thalieht commented on GitHub (Sep 28, 2022):

Duplicate of #4664

@thalieht commented on GitHub (Sep 28, 2022): Duplicate of #4664
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#11143
No description provided.