mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Single-file torrent file gets re-selected for download after restart #9923
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#9923
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FranciscoPombal on GitHub (Mar 23, 2020).
Please provide the following information
qBittorrent version and Operating System
Latest master, Ubuntu 18.04
If on linux, libtorrent-rasterbar and Qt version
libtorrent 1.2.5, Qt 5.9.5
What is the problem
File exclusion resets after restart in an incomplete single-file torrent.
What is the expected behavior
File exclusion should not reset in this case.
Steps to reproduce
ubuntu-18.04.4-live-server-amd64.iso).the progress of the torrent has been reset to what it was at before the file was unselected.EDIT: no longer happens, see https://github.com/qbittorrent/qBittorrent/issues/12226#issuecomment-692198806Additionally, notice that somewhere along this process an emptyEDIT: no longer happens, see https://github.com/qbittorrent/qBittorrent/issues/12226#issuecomment-692198806.unwantedfolder is created in the same directory that qBittorrent is downloading the file to. This folder will not get deleted even after the download finishes or gets deleted.Extra info(if any)
Probably related to https://github.com/qbittorrent/qBittorrent/issues/12225
@FranciscoPombal commented on GitHub (Mar 23, 2020):
Additional case, which works as expected:
If the torrent is downloaded completely and not paused, then if the file is excluded, the exclusion is not reset after restart. If the torrent is then paused, the exclusion will still be in effect.
@glassez commented on GitHub (Mar 23, 2020):
Excluding file of single file torrent as well as changing its priority seems to be completely meaningless and we shouldn't allow users to do it to avoid confusion.
@FranciscoPombal commented on GitHub (Mar 23, 2020):
@glassez
Ok, that's a good solution for the problem.
@Chocobo1 commented on GitHub (Mar 24, 2020):
IMO we should at least try find/fix the real root cause anyway.
@glassez commented on GitHub (Mar 24, 2020):
libtorrent can just revert it because of its meaninglessness so there is no real bug.
@FranciscoPombal commented on GitHub (Sep 14, 2020):
Update, post-removal of
.unwantedfolder feature:.unwantedis no longer created (obviously)However, the file still gets re-selected after restart.
The "Steps to reproduce" have been edited accordingly to reflect this.
@FranciscoPombal commented on GitHub (Sep 14, 2020):
Related issue: https://github.com/qbittorrent/qBittorrent/issues/6449.
@xavier2k6 commented on GitHub (Sep 14, 2020):
@FranciscoPombal that's a nifty little bug alright, just produced it myself on a master build.....