darktable-org / darktable-org/darktable

Folder tree not reseting when a folder is removed

Open
#19,385 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity
Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is your feature request related to a problem? Please describe.

You can remove a folder in the Collections module by right-clicking on it and selecting Remove. When you do it, the folder tree disappears and goes back to the root folder, but very often you want to keep on working on the folders "around" the removed one.

Describe the solution you'd like

When a folder is removed in the Collections module, do not go back to the root folder but simply remove that folder from the current folder tree.

Alternatives

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Collections module and trace the folder-removal action from the context menu. Reproduce removing a folder while viewing its surrounding folders, then verify that the removed folder disappears without returning the tree to the root folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.