darktable-org / darktable-org/darktable
5.4.1 - copy and pasted "crop" settings incorrectly crops to top left pixels
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.1k
- Forks
- 1.4k
- Avg merge
- 22h 14m
- Merged PRs (30d)
- 198
Description
See https://github.com/darktable-org/darktable/issues/20516#issuecomment-4093414542
Is there an existing issue for this?
- I checked and did not find my issue in the already reported ones
Describe the bug
I'm not sure why these files have issue reading, but just noticed it while going through my library.
link to files: https://drive.google.com/drive/folders/1o5uuQpY3xMI4i933i7VMVVKs6RB0yzBt?usp=sharing
I made a copy of the file, and it then can be read, but Darktable can't edit them.
- can't change exposure
- can't change lens correction
it's almost like it's in some sort of "read-only" state.
Steps to reproduce
- import DNG files
- open in Darktable
Expected behavior
load the DNG file
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?
Mac
What is the version of your OS?
26.3 (25D125)
Describe your system
- Macbook Air 15"
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
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 with the reproduction details and the linked issue comment, then download the provided DNG files and reproduce the behavior in darktable 5.4.1 on macOS. Check why imported files cannot be edited and why copied crop settings produce a top-left crop. Done means the affected DNGs load normally, editing controls work, and crop settings are applied to the intended image area.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100