darktable-org / darktable-org/darktable

Landscape format snapshot gets rotated by 90° when activating it on a portrait format image (and vice versa)

Open
#20,135 4 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 there an existing issue for this?
  • I checked and did not find my issue in the already reported ones
Describe the bug

In darkroom, I create a snapshot of a landscape format image. Then I switch to a portrait format image and activate the snapshot taken before. The snapshot now gets rotated by 90° to the left. The other way round, a snapshot of a portrait shot gets rotated 90° to the right, when activated on a landscape take.

Steps to reproduce

see above

Expected behavior

darktable should keep the orientation of the snapshot taken

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

self compiled

darktable version

5.5.0+85~a7815a46

What OS are you using?

Linux

What is the version of your OS?

Linux Mint 22.2

Describe your system

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Intel Iris Xe; i915 / neo 25.44.36015.5

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 in darktable's darkroom by reproducing the snapshot activation sequence with landscape and portrait images. Trace the snapshot activation and orientation handling, then verify that activating a snapshot preserves its original orientation in both directions.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.