Bug 451005 - ktorrent infinitely downloads to read only device
Summary: ktorrent infinitely downloads to read only device
Status: REPORTED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 21.12.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-01 15:31 UTC by Andrew
Modified: 2022-03-01 15:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2022-03-01 15:31:19 UTC
SUMMARY
Some logic is broken when trying to download part of torrent to readonly device.

STEPS TO REPRODUCE (some might be not really needed)
1. Add torrent with multiple files (size of each is 400..500 MB for my case). Download couple of them to separate partition.
2. Exit ktorrent and remount that partition as read-only.
3. Open ktorrent again and select couple of more files for downloading.

OBSERVED RESULT
ktorrent consumes a lot of network traffic downloading files infinitely (?) with small progress not increasing.

EXPECTED RESULT
ktorrent should display error telling that partition is read only.

SOFTWARE/OS VERSIONS
All software from Linux Fedora 35 repos:
ktorrent 21.12.2
Qt 5.15.2 (build with 5.15.2)
KDE Frameworks 5.91.0
plasma-workspace-libs-5.24.2-1.fc35.x86_64