by TheBrew » Tue Aug 29, 2023 9:09 am
So the files are actually in the trash.. Here's what I'm thinking:
Version 6.0 fixed a crash that could occur when deleting many files at once in Grid mode.
I don't have super deep knowledge of how the APFS filesystem deletes files, but I know things are ..complicated. This filesystem supports fancy duplication without taking up more space until one of the files are actually changed. Lots of complexity. If you're on a Mac you'll probably also have noticed how deleting files (and emptying the trash) doesn't always mean you gain back any disk space ..immediately. Things got very weird with APFS. Nice, but weird.
There are many steps to the deletion process. In this case it looks like the files are registered as moved to the user trash folder, but their previous location is never removed from the file table? Perhaps because iOS crashed midway?
The thing is: If killing my app doesn't fix it, then there's no changes I can do in the app to fix it. It seems to be a filesystem corruption issue. I can do my best to avoid it happening again, which is what I'm pretty sure I did with version 6.0. Anyway, on to what you can do to fix this:
I'd try deleting the collection by tapping and holding the thumbnail in the collection overview and then picking 'Delete' from there. But I assume you've tried that and got an error?
If you can't delete the collection that way, the nuclear option would be to back up ShutterSnitch, delete the app documents, re-install it and restore the documents. It should also back up the "bad" collection, but when it's restored it's restored like nothing happened, and you should be able to delete the files without issue.
Here's what I'd do to backup+restore:
First, just to be sure, I'd go to Options -> Settings -> Advanced tab -> Share Configuration, Select All, and Share, including Login Credentials. Then pick 'Save to Files' and save it somewhere locally on your iPad. (Or you can AirDrop. That just makes it a bit more fiddly importing it again. But you do you.)
Then, download "Apple Configurator" from the Mac App Store (I'm assuming you have a Mac. If you have a PC, perhaps iMazing can help you..?). Open Apple Configurator and attach your iPad to your Mac. Once it shows up in the app, right-click it and select Export -> Documents from the context menu. Then select the ShutterSnitch folder and click "Choose" and point to the folder you want to save it to.
Once saved, delete ShutterSnitch and re-download it from the App Store. Launch it and go through the initial setup process, restoring your subscription. You should now be staring at a blank collection overview. Swipe up from the bottom of the screen and kill ShutterSnitch by swiping it off the top of the screen.
Then go back to Apple Configurator, right click the iPad and pick Add -> Documents. Choose the ShutterSnitch folder and then point to the archive you previously exported.
In case the documents restoration doesn't restore your settings/locations and so on, you can import the .ssconfig Configuration file you saved earlier.
Support the development of ShutterSnitch: Rate/review it on
The App Store,
Toot about it, make Youtube videos, blog about it.. Get the word out.