https://bugs.kde.org/show_bug.cgi?id=471965
Bug ID: 471965
Summary: Starting a file transfer and cancelling it doesn't
delete the cached/temporary/partially copied file and
doesn't even shows up in the files. This fills up
unnecessary storage.
Classification: Applications
Product: kdeconnect
Version: unspecified
Platform: Apple App Store
OS: iPadOS
Status: REPORTED
Severity: major
Priority: NOR
Component: ios-application
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
***
When you start to transfer a large file from KDE Connect on any of the
platforms (I tested only from Android and Linux, both versions up to date) to
KDE Connect on iPad, and cancel the transfer either manually, or when the
iPadOS KDE connect app goes background or when iPad auto locks, that partially
copied file stays on the disk, taking up space, and it doesn't even shows up in
the Files up (even as a temp file that I can delete using a-shell App). Though
it takes space as it shows in the iPadOS Settings App's storage menu.
STEPS TO REPRODUCE
1. Start to copy a large (~2gb) file from some other device (on which app can
go background, such as Android) to iPadOS
2. After it's done around 50% (you can see a progress bar on android device),
cancel the transfer manually, or by backgrounding the app on iPad or locking
the iPad.
3. Android will say "Transfer Failed"
OBSERVED RESULT
Open Settings>General>iPad Storage>KDE Connect on the iPad. The "Documents and
Data" attribute will have an +1GB in it's size.
Open the KDE Connect folder in Files App, the partial file is nowhere to be
found. Use some method to "see hidden files", still no good!
EXPECTED RESULT
If any in progress transfer was cancelled, the partial file must be deleted.
Otherwise small file cancels will add up to a large quantity, and large files
will really fill up the storage.
SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Ubuntu 22.04 LTS
Android Version: Android 10
Android KDE Connect version: 1.26.2 (Latest)
iPadOS Version: 16.5.1 (20F75)
iPad KDE Connect version: 0.3.0 (9) (Latest)
KDE Plasma Version: N/A (GNOME)
KDE Frameworks Version: N/A
Qt Version: N/A
ADDITIONAL INFORMATION
To fix this temporarily I did the following:
1. Current "Documents and Data" size for KDE Connect: 2.26GB ( actual file
contents size in the files app: 533.8 MB )
2. Compress the KDE Connect folder in iPad , using the Files App. ( for backup
purposes)
3. Delete the KDE Connect App Folder, and then also from the Recently Deleted
bin
4. Current "Documents and Data" size for KDE Connect: 1.68GB ( with no files at
all, this is the failed partial file storage )
5. Delete the KDE Connect App from iPad, and reinstall it.
6. There shall be no entry for the App right now. Pair a new device and share
something, say a photo.
7. check files storage and settings storage
8. Current "Documents and Data" size for KDE Connect: 300kb ( size of the
copied photo, in my case )
9. Uncompress the archive back into the KDE Connect folder
10. Current "Documents and Data" size for KDE Connect: 534.1 MB ( actual size
of the real contents of the folder )
--
You are receiving this mail because:
You are watching all bug changes.