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
Do not create save folder in advance. Closes #5422 #5443
Conversation
@@ -1284,10 +1284,6 @@ void TorrentHandle::moveStorage(const QString &newPath) | |||
if (QDir(oldPath) == QDir(newPath)) return; | |||
|
|||
qDebug("move storage: %s to %s", qPrintable(oldPath), qPrintable(newPath)); | |||
// Create destination directory if necessary | |||
// or move_storage() will fail... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asking precautionary: You have tested now what the comment says, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Besides, I deal with move_storage()
internals recently so I know exactly how it works.
Thank you then. |
Release notes in the News section of the qBittorrent site says this bugfix was included in 3.3.6. I have Do not start the download automatically checked and Pre-allocate disk space for all files is not checked in my settings. My understanding is with these settings that the base directories for added torrents should not be created. I upgraded to 3.3.6 (Win8.1), added a couple of torrents, and their base directories were still created. |
Please describe in more detail what do you mean. How do you add torrents, where etc. |
I downloaded a couple of torrent files into a monitored directory, specified in the settings. I then started qBt which automatically added these torrents into the application. They are both multi-file torrents which will eventually be downloaded into their own directories. They do not start downloading immediately, as per the Do not start the download automatically setting, thus have a Status of Paused. I immediately check in my qBt Default Save Path directory and both torrent content directories were created as part of the torrent add functionality. These directories are empty, which I would expect given Pre-allocate disk space for all files settings is not checked. My understanding is these empty directories should not have been created. |
Will this be fixed and included in the next release? |
Hey glassez, you there? Your changes didn't work, are you going to fix? |
I'm unavailable at this time.
I made some core changes here and they work. Apparently your problem is caused on some other application layer. |
No they do not work... did you even test this? Adding a torrent also creates the save directory, no matter how it is added. With development & testing attitudes like yours is it any wonder qBt is riddled with bugs. You are far to concerned with protecting your precious ego than creating a quality FOSS app. |
@sueridgepipe Well, where did you see my excessive concern for my ego? P.S. But if you're going to continue to speak out in your manner above, I prefer to end this discussion (and I will devote my free time drinking beer rather than fixing qBittorrent bugs). |
Do not create the save folder as long as the torrent will not start downloading.