qbittorrent / qBittorrent

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

Execution log wrongly states "Torrent content removed" even though some files are left over #21813

Open nokti opened 1 week ago

nokti commented 1 week ago

qBittorrent & operating system versions

qBit v5.0.1 Win 10 Pro x64 (22H2) 19045.5073 Qt 6.7.3 Lt 2.0.11

What is the problem?

When removing torrents and selecting "Also remove the content files", the execution log will just say "Torrent content removed" even though some files are left over.

Steps to reproduce

  1. Download torrent
  2. Add a text file inside the sub-folder
  3. Click Remove and select "Also remove the content files"
  4. Folder will still be there as well as the text file

Additional context

Up to v4.6.7 the execution log would warn that some of the content couldn't be deleted. I think we should bring that back or have qBit delete everything including the files that were not part of the original download. But that last option may not be possible if files are not downloaded in sub-folders.

Log(s) & preferences file(s)

qbittorrent.log