darktable-org / darktable-org/darktable

Exposure selected area not saved

Open
#20,874 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug: invalid no-issue-activity scope: UI
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

When I use the automatic exposure based on selected area on a picture (picture A), then I switch to another one (picture B), the selected area by default is the one set on the previous picture.
But if I set a new area for picture B, then I go back to picture A to see the area, it's the one from B that applies.

Steps to reproduce
  1. Go to picture A
  2. Enable exposure adjustment from a selected area
  3. Select an area
  4. Go to picture B
  5. Enable exposure adjustment from a selected area (it shows the one selected for picture A by default)
  6. Fix the selected area to better fit picture B
  7. Go back to Picture A
  8. Click again on exposure adjustment from a selected area (the one from Picture B applies)
Expected behavior

Each exposure module on each picture should save its own area

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.4.1

What OS are you using?

Windows

What is the version of your OS?

Windows 11

Describe your system

64GB RAM,

Are you using OpenCL GPU in darktable?

I dont know

If yes, what is the GPU card and driver?

Radeon RX 7900 XTX

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

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 by reproducing the eight steps in the issue with two pictures, checking whether the selected exposure area is retained separately for each picture. Trace the exposure-adjustment entry point and its per-picture state, then verify that returning to picture A restores A's area while picture B retains its own.

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
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.