Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
No way to disable moving to .unwanted #9960
qBittorrent version and Operating System
qBittorrent v4.1.4, Linux 4.19.4
If on linux, libtorrent and Qt version
libtorrent 188.8.131.52, Qt 5.11.2
What is the problem
When a file is changed to not to be downloaded, it is moved to .unwanted directory and there is no way to disable this behavior. Seeding the same files to many places (i.e. cross-seeding), sometimes there is a slight difference in the files that the torrent has been made from. Therefore the file that another torrent says is not complete, may be complete on another torrent and actively seeded on it. It is common that this partial one is not allowed to download it's version on top of the already existing file, and thereby must be placed as do not download, which in qBittorrent moves the file elsewhere, causing the other torrent to not see the file anymore.
What is the expected behavior
Do not move the file anywhere when it's priority is changed. Let the file stay where it is. At least add an option to settings where the wanted behavior can be selected, with options to not move the files away, or then move them to the hidden directory.
Steps to reproduce
Download a torrent. Download the same torrent from elsewhere (with different hash), that has slight difference in a txt file for example. On this torrent, change the priority to do not download, the txt file is moved to .unwanted and then the first (complete) torrent can not seed it anymore.
Extra info(if any)
On earlier bug reports this has been explained as a reason caused by libtorrent, but since then libtorrent has been updated and other client using the exact same libtorrent version does not have this behavior, thereby meaning that moving the files away is intentionally done without a reason.
All I am asking here is for an option where this behavior can be disabled, so the files that have been selected not to be downloaded are left to their directory without moving, renaming or otherwise altering them. Therefore users can choose whether they want those files to be hidden or stay and everybody is happy.