Deleting all downloaded chapters directly on the manga view doesn't reduce disk usage to 0B. #1226
Open
2 tasks done
Labels
bug
Something isn't working
The original issue was found to have a solution, I still think theres an issue to be solved though, see #1226 (comment)
Brief summary
When downloading chapters kotatsu creates
index.json
andcover.*
(one of multiple image formats) metadata files alongside the*.cbz
files representing the actual chapters. These do not get deleted when the user deletes all downloaded chapters through the app and can only be removed manually using a file management app. I expect the app to clean up those files, especially when their disk usage is shown in the UI.I think deleting them when the last downloaded chapter gets deleted is best.
![Screenshot_2024-12-26-23-46-39-39_a5af3585a93e2016f6667aaf7e1e2f32](https://private-user-images.githubusercontent.com/64852250/398810730-beb64bfc-e19b-4684-97ce-55757c5673f6.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDkzMTMsIm5iZiI6MTczOTAwOTAxMywicGF0aCI6Ii82NDg1MjI1MC8zOTg4MTA3MzAtYmViNjRiZmMtZTE5Yi00Njg0LTk3Y2UtNTU3NTdjNTY3M2Y2LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwMDMzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI4MjMxODMxNThiM2FiMzQ4MDVlMzBhMThkZWQ0YjA0ZDhhZDMzNWFiN2I1OWE4MDFmZTE2MzQxMmJhNWM2NzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OZpjlS1Eszv9ejFKo07oapofv1ujip_w6b45mGbf0hQ)
An alternative would be to just add a button and let people do it manually in the app. That button could be placed in the "Saved manga" popup next to the "Delete read chapters" button:
Steps to reproduce
Kotatsu version
7.7.4
Android version
12
Device
OnePlus 7 Pro
Acknowledgements
The text was updated successfully, but these errors were encountered: