[Bug Report] Deleting folder galleries doesn't delete image files if zip file also contains the images.
Describe the bug Folder galleries do not delete their image files when the images are also in a zip file that a gallery was generated from. I would assume this is also an issue if you have two folder galleries with the same set of images, but I haven't tested it.
To Reproduce Steps to reproduce the behavior:
- Turn on
Create galleries from folders containing images - Locate a zip file containing images, and unzip it into a folder in your library.
- Also make sure the zip file is in a folder in your library.
- Scan the folder(s) containing the zip file and unzipped images.
- Delete the gallery created from the unzipped images, and make sure to select
Delete gallery folder/zip file and any images not attached to any other gallery.on the dialog - Check the folder you unzipped the images to. They won't be deleted.
- Repeat the process but delete the gallery created from the zip file this time.
- Check the folder with the zip file. The zip file will be deleted.
Expected behavior I would expect in step 6 for the files in the folder you deleted the gallery for to be deleted, since it's the images that are in a separate gallery, not the files. As shown in step 8, it works the other way (the zip file gets deleted, even though it contains images that are in another gallery), but I'd rather keep the zip file than the folder, so it would be nice if it worked when deleting the folder gallery.
**Stash Version: (from Settings -> About): v0.26.2
Desktop (please complete the following information):
- OS: Windows 10
- Browser Firefox
- Version 127.0.2 (64-bit)