qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.47k stars 3.99k forks source link

Files marked with priority "Do not download" get created at end of download #21822

Closed brocktopia closed 1 week ago

brocktopia commented 1 week ago

qBittorrent & operating system versions

qBittorrent: 5.0 Operating System: Win 11 23H2 Qt: 6.7.3 Libtorrent: 1.2.19.0

What is the problem?

When a torrent finishes downloading, any files that deselected to not download, get created in the download directory. The files all have a size of 0, so not an issue with wasting space, but definitely a clutter issue. I found this bug report: https://github.com/qbittorrent/qBittorrent/issues/4419, but it was pretty old and hadn't been commented on in years.

Steps to reproduce

  1. Select a torrent to download.
  2. Deselect files that you don't want downloaded.
  3. Begin download.
  4. Wait for download to complete.
  5. Open download folder in file explorer.

Additional context

Expected results: Deselected files are not downloaded.

Actual results: Empty containers with the file names are created at the end of the download for items marked as Do not download.

Log(s) & preferences file(s)

nothing useful in logs.

qBittUser commented 1 week ago

Duplicate of:

qBittorrent: 5.0

There's no such version.

Please make sure you're using the latest version before submitting issue reports, because v5.0.1 already includes a fix and there where huge amount of duplicate issue reports before it got released.

If you wish to keep on using v5.0.0, then as a workaround you should just disable Mark-of-the-Web setting in Tools - Options - Advanced.

brocktopia commented 1 week ago

Hadn't come across #21081 when I submitted this. Closing as duplicate.