Is there a way to expand folders without selecting them on the Collections module?

Hello everyone, I’m trying to find a way to expand folders in the Collections module without actually selecting it and loading every photo recursively within the whole directory.

I have a ton of photos and it takes forever to load whenever I try to navigate down the directory because it keeps loading every photo every time I open a “layer”. Darktable often hangs trying to load everything at once.

For example, say I want to open the “26.01.13” folder on the image above.
I would have to click on “Neptune” [loads every photo in that directory],
then click on “Photography” [loads again],
then click on “Import” [loads],
then click on “2026” [loads AGAIN]
then finally on “26.01.13”

I want to be able to expand folders without selecting them by clicking the arrow and only actually select the folder when I click on the folder name. Is there a way to do this currently? I’ve looked everywhere but haven’t found it.

Thanks!

Hi! You can try changing the view to Film Roll or filter on some other metadata to show the photos you want.

2 Likes

I am on windows 11 DT 5.4 and navigation is super quick through the folder structure. I wonder if your system is trying to generate new thumbnails each time. It might be worth checking your preferences for thumbnails. I am not an expert of this forum and will defer to more knowledgeable people, but just suggesting what idea pops into my head after testing on my system.

2 Likes

For me, a folder isn’t loaded unless I use a double click. Single clicks allow navigation through the folder tree without loading (or showing) any images. Probably a matter of configuration (system or dt).

Oh, and I use Linux (OpenSUSe, KDE Plasma).

1 Like

You could check in preferences in the lighttable section, if the option “use single-click in the collections module” is activated.

2 Likes

Terry thanks for the suggestion, I do have caching enabled.

@rvietor @deekay That definitely helped! Thanks!

I still think that clicking on the arrow shouldn’t automatically load the folder even with single click enabled, it would be a nice little UX update. But with this setting at least it doesn’t hang anymore. Thanks again for the help.

1 Like

so was single click selected in your preferences? In my screen shot and system single click is not selected.

I changed that setting some time ago because I didn’t want to double click on folders, but I didn’t know it affected the behavior when expanding folders. I don’t think it should, a click on the arrow and a click anywhere else on the folder should be treated differently.

3 Likes

I agree with you. Maybe put in a feature request on github?

Actually, I had already reported something related:

2 Likes

Thanks, I left a comment over there as well.

1 Like

I tried to fix this and came up with an idea:

2 Likes

Thank you so much for your work on this deekay.

Quick question about the solution; Is the folder now only selectable by clicking on the text itself or anywhere right of the expander button?

anywhere to the right of the triangle. Somehow, I automatically click on the text.

1 Like

Perfect, I was worried for a second that it would have to be clicked precisely on text but you got it. Again, thanks!

Just to make this clear: There is no guarantee that this will be merged into the codeline.