Bug 498895

Summary: sftp worker appears to download file when deletion dialog is opened
Product: [Frameworks and Libraries] kio-extras Reporter: Ilia Kats <ilia-kats>
Component: SFTPAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: sitter
Priority: NOR    
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ilia Kats 2025-01-19 19:08:32 UTC
SUMMARY
When opening the file deletion dialog (Shift+Del) in Dolphin for a large-ish file accessed over the KIO SFTP worker, downstream network traffic increases and browsing the SFTP host becomes very slow, presumably because the file is being downloaded.

STEPS TO REPRODUCE
1. in Dolphin, navigate to an SFTP folder containing a large-ish file (a couple hundred megabytes). Keep a System Monitor open to monitor network traffic.
2. Select the large file and press Shift+Del.

OBSERVED RESULT
Download rate increases to the maximum possible and browsing the SFTP host becomes very slow.

EXPECTED RESULT
Deleting a file should not download it, let alone just opening the deletion confirmation dialog.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6,9.0
Qt Version: 6.8.1
Comment 2 Ilia Kats 2025-01-20 18:27:12 UTC
Apologies, it appears I was a bit premature. The download happens even before pressing Shift+Del, presumably for the preview generation. However, now the question is:
- Why is preview generation not aborted when the file is deleted?
- Why does this happen only with the sftp KIO worker? If I access the same file on an NFS mount, I don't see this extensive dowload. I'm assuming the the preview function seeks within the file and the sftp worker doesn't support seeking?
Comment 3 Bug Janitor Service 2025-02-04 03:46:58 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-02-19 03:46:47 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.