darktable-org / darktable-org/darktable
Clicking on directory name vs. expander in collection panel should have different effects
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.1k
- Forks
- 1.4k
- Avg merge
- 22h 14m
- Merged PRs (30d)
- 198
Description
Is there an existing issue for this?
- I checked and did not find my issue in the already reported ones
Describe the bug
The action of double clicking on a directory name in the "folder" view of the "collections" panel has two side effects:
- It populates the lighttable with all the images in the folder (desired)
- If the folder contains one or more subfolders, it will also collapse/expand the folder (unexpected)
Point (2.) is unexpected because subdirectories already have a "|>" indicator on their left that can be clicked to expand/collapse.
The opposite is also true. If one clicks on the expander to list the subfolders does not necessarily want all the images in the parent folder (which may be huge) to be displayed in the lightroom.
Steps to reproduce
- Go to "collections" view
- Select "folder" from the list of filters
- Double click on a folder which contains at least one subfolder to view all the images in it
Expected behavior
The images in the selected folder should be loaded in the lighttable and the double clicked folder should not change its collapsed/expanded state
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
5.2.1
What OS are you using?
Mac
What is the version of your OS?
MacOS Tahoe 26.0.1
Describe your system
No response
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
M4 pro
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior in darktable's Collections panel with the Folder filter and a folder containing subfolders. Trace the handlers for double-clicking a directory name and clicking the expander; done means each action has only its intended effect, with the folder's images loaded independently from its expanded or collapsed state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100