Bug 498895 - sftp worker appears to download file when deletion dialog is opened
Summary: sftp worker appears to download file when deletion dialog is opened
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: SFTP (other bugs)
Version First Reported In: 24.12.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-19 19:08 UTC by Ilia Kats
Modified: 2025-02-19 03:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.