Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to disable moving to .unwanted #9960

shlandturtle opened this issue Dec 3, 2018 · 2 comments

No way to disable moving to .unwanted #9960

shlandturtle opened this issue Dec 3, 2018 · 2 comments


Copy link

@shlandturtle shlandturtle commented Dec 3, 2018

qBittorrent version and Operating System

qBittorrent v4.1.4, Linux 4.19.4

If on linux, libtorrent and Qt version

libtorrent, 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.
Therefore the client is unsuitable for cross-seeding, unlike other libtorrent-based clients, such as Deluge.

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.


This comment has been minimized.

Copy link

@githubuserthatsright githubuserthatsright commented Aug 16, 2019

Completely agree and feel this is a huge issue as well.


This comment has been minimized.

Copy link

@qgustavor qgustavor commented Dec 30, 2019

To disable this I just need to remove those lines from the code or there's something else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.