Simple-Gallery
Simple-Gallery copied to clipboard
Subfolder Grouping Issue
Hello not sure if I will get help here but will try. I purchased the Simply Gallery Pro and on the "Change View Type" option I checked the "Group direct Subfolders" For some folders it seems to work and some folders don't. For example - Folder A has Folder 1, 2, 3 Folder B has Folder X, Y, Z
Main screen shows Folder A (3) Folder X Folder Y Folder Z
Shouldn't it be Folder A (3) Folder B (3) ??
Also Folders inside Folder B can't be moved get "Unknown error" Any solution for this problem?
what app version are you using?
just installed so recent? v6.15.2 pro
also mainly use SD card and not internal
Hi, Simple Gallery doesn't seem to put child folders in parent folders if the child folder doesn't have a picture in it. It may have folders in it with pictures in those folders but that's not enough apparently. Try putting an image in the folder that should be grouped. That's what fixed it for me. It's just a workaround for now, but it would be nice if the app didn't require an image to be in a folder for directories to be grouped/displayed properly.
+1 The grouping is quirky.
+1
Would be great if this can be fixed. I have my pictures grouped into folders like img/YEAR/EVENT and this bugs really messes up the listing. Thanks a lot! 😄
any plans for this bug to be fix in the future?
ye, some manual setting will be added, but Im not sure when
I can't get it to work either. Random nested folders pop up in top of hierarchy for no reason. I wish this feature would just stick to underlying folder hierarchy otherwise it's very confusing.
Edit: So the problem is related to parent folders with no files. I work around it by placing Simple Gallery logo in every "empty" folder in tree but it's not pretty :)
hello, is this issue still being under review?? still having trouble with the subfolders.... where multiple folders inside subfolders shows individually in main screen.
reopening this to partially revert the changes, but try fixing the acual issue
can you guys check if this versions grouping works as expected?
https://simplemobiletools.com/gallery-394.apk
Initially things still looked all over the place, though I have no idea if the initial scan was still ongoing and I was too impatient, or had actually somehow become stuck – after I forced another rescan things looked much better, though.
Even then, I've still found at least one scenario that doesn't work yet – when a subfolder with no files only contains one subfolder, like (to narrow things down, I excluded all folders on both the internal and external SD card and only manually added one folder to the list of included folders)
<root> (has some pictures directly inside)
↳ A (no files inside)
↳ 2006 (has one picture file)
↳ … more subfolders directly under <root>
then the top-level view will show two entries – one for <root> and one for 2006. If I'm entering the <root> folder, no entry for 'A' is visible.
If I then add a second non-empty sub-folder to 'A', i.e.
<root> (has some pictures directly inside)
↳ A (no files inside)
↳ 2006 (has one picture file)
↳ 2011 (has one picture file)
↳ … more subfolders directly under <root>
things start working as expected, i.e. the top-level view only shows <root>, inside that there's an entry for 'A', and clicking on that shows two entries for 2006 and 2011.
@esensar check the above report please
So, this brings us back to the issue of these 2 different approaches and trying to find the middle ground:
- grouping only folders that have media files
- grouping folders as they are on the filesystem
Covering the case from above brings us one step closer to grouping folders as they are on the filesystem. Right now, this works as following:
- only consider folders that have media
- between these folders, group direct subfolders under parents
- if there are multiple folders sharing the same parent, and that parent is not a media folder, add it as their group
If we removed the last condition, every folder would be eligible to be a group (except for folders that have nothing to do with media and have no media files anywhere in their subfolders). This was done in https://github.com/SimpleMobileTools/Simple-Gallery/pull/2898, but it was unfortunately not well accepted, since people wanted a bit more direct access to their media, rather than always having to go through all the folders on the way to their media.
Since I realize that there are obviously different expectations and preferences regarding this feature, I proposed adding additional option (https://github.com/SimpleMobileTools/Simple-Gallery/pull/2915), but I understand that also complicated things and makes these options a bit confusing.
Unfortunately, I can't think of a solution that can satisfy both sides. My last changes were an attempt to bridge that gap, by at least covering some of the cases mentioned in this thread. If we could come up with properly defined expectations out of this feature, I think it would be easier to handle, but I don't think coming up with these expectations is easy to do :smile: