Bug 475533

Summary: Ktorrent shows "not responding" for several seconds when completing a download to an NFS share
Product: [Applications] ktorrent Reporter: Jonathan Bennett <jbennett>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: REPORTED ---    
Severity: normal CC: olivier.delaune
Priority: NOR    
Version First Reported In: 23.08.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jonathan Bennett 2023-10-12 20:27:46 UTC
SUMMARY
I have an NFS4 share on a local server, mounted on a directory in my home folder on the local Fedora machine. When using Ktorrent to download a file to that location, when the download is somewhere around 95% finished, ktorrent goes to "not responding" for several seconds, only becoming responsive again when the download has finished.


STEPS TO REPRODUCE
1. Mount NFS share on local machine
2. Download torrent to that location

OBSERVED RESULT
Ktorrent hangs the UI for several seconds

EXPECTED RESULT
Never block the UI thread

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 38/wayland
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
I've confirmed that I don't get the hang when saving to a normal local folder. I'm not using the feature to automatically move the file on completion.