Unchecking downloaded files does nothing #14379

Open
opened 2026-02-22 01:00:07 -05:00 by deekerman · 6 comments
Owner

Originally created by @Goury on GitHub (Mar 1, 2023).

qBittorrent & operating system versions

qbittorrent: 1:4.3.9.99~202110311443-7435-01519b5e7~ubuntu20.04.1
qbittorrent: 4.5.2 appimage from the website
qt: 5.12.8+dfsg-0ubuntu2.1
libtorrent-rasterbar: 1.2.14+git20211025.eb4bbfd49c-1ppa1~20.04

What is the problem?

Unchecking downloaded files does nothing

Steps to reproduce

  1. Add torrent/magnet with multiple files
  2. Download em all
  3. Uncheck one of the files

Additional context

Expectation: file will be partially removed, keeping only parts of intersecting chunks.
Actual reality: literally nothing.

However, it you uncheck those unwanted files before downloading em, qbittorrent does what's expected.
So why can't we fix this bug that is bogging me for a decade?

Log(s) & preferences file(s)

No response

Originally created by @Goury on GitHub (Mar 1, 2023). ### qBittorrent & operating system versions qbittorrent: 1:4.3.9.99\~202110311443-7435-01519b5e7\~ubuntu20.04.1 qbittorrent: 4.5.2 appimage from the website qt: 5.12.8+dfsg-0ubuntu2.1 libtorrent-rasterbar: 1.2.14+git20211025.eb4bbfd49c-1ppa1~20.04 ### What is the problem? Unchecking downloaded files does nothing ### Steps to reproduce 1. Add torrent/magnet with multiple files 2. Download em all 3. Uncheck one of the files ### Additional context Expectation: file will be partially removed, keeping only parts of intersecting chunks. Actual reality: literally nothing. However, it you uncheck those unwanted files before downloading em, qbittorrent does what's expected. So why can't we fix this bug that is bogging me for a decade? ### Log(s) & preferences file(s) _No response_
Author
Owner

@Goury commented on GitHub (Mar 1, 2023):

Also #9923

@Goury commented on GitHub (Mar 1, 2023): Also #9923
Author
Owner

@glassez commented on GitHub (Mar 1, 2023):

Actual reality: literally nothing.

Unchecking file means literally "Don't download" (not "Delete" or something else).

@glassez commented on GitHub (Mar 1, 2023): > Actual reality: literally nothing. Unchecking file means literally "Don't download" (not "Delete" or something else).
Author
Owner

@Goury commented on GitHub (Mar 1, 2023):

means literally

No, it doesn't.
Literal meaning for a checkbox is not defined in any literature.
Intuitively it means "I don't want it".

Not wanting it before it has been downloaded produces very different result from not wanting it after, which is confusing.
And you are just douchebagging the fact that there is no convenient way to remove a file, even though it's a known issue for a decade.

@Goury commented on GitHub (Mar 1, 2023): > means literally No, it doesn't. Literal meaning for a checkbox is not defined in any literature. Intuitively it means "I don't want it". Not wanting it before it has been downloaded produces very different result from not wanting it after, which is confusing. And you are just douchebagging the fact that there is no convenient way to remove a file, even though it's a known issue for a decade.
Author
Owner

@thalieht commented on GitHub (Mar 1, 2023):

Intuitively it means "I don't want it".

Too bad for your intuition then because the risk of being able to delete stuff with a simple misclick is too great. It's never going to happen, at least not by simply unchecking the checkbox.

@thalieht commented on GitHub (Mar 1, 2023): >Intuitively it means "I don't want it". Too bad for your intuition then because the risk of being able to delete stuff with a simple misclick is too great. It's never going to happen, at least not by simply unchecking the checkbox.
Author
Owner

@Goury commented on GitHub (Mar 1, 2023):

@thalieht can you douche any more about this?
I've never said this is how it should work, so stop placing your words into my mouth.
But it is clear enough that not having any functional way to clean up is even worse.

@Goury commented on GitHub (Mar 1, 2023): @thalieht can you douche any more about this? I've never said this is how it should work, so stop placing your words into my mouth. But it is clear enough that not having any functional way to clean up is even worse.
Author
Owner

@glassez commented on GitHub (Mar 1, 2023):

There is no ability provided by libtorrent neiher to delete already downloaded files nor to ignore existing ones. Related issue: https://github.com/arvidn/libtorrent/issues/7143. So the only way of implementing it currently is using some workaround that requires to completely reload torrent internally (i.e. disconnect all the peers etc., and most likely re-download affected cross-file pieces).

@glassez commented on GitHub (Mar 1, 2023): There is no ability provided by `libtorrent` neiher to delete already downloaded files nor to ignore existing ones. Related issue: https://github.com/arvidn/libtorrent/issues/7143. So the only way of implementing it currently is using some workaround that requires to completely reload torrent internally (i.e. disconnect all the peers etc., and most likely re-download affected cross-file pieces).
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#14379
No description provided.