Skip to content

Auto-apply Preset applying to JXL despite de-selecting non-raw #20047

@pettijohn

Description

@pettijohn

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

I have a preset to auto-apply lens correction to all RAW images. When I add JPEG images to darktable, the preset correctly does not apply. When I add JXL images, the preset incorrectly (I think) applies. When importing files into darktable, "ignore non-raw" excludes JXL files, so at least the meaning of non-raw is inconsistent between import and auto-apply.

Image

Steps to reproduce

  1. Configure an auto-apply preset on Lens Correction, unchecking non-raw (see screenshot).
  2. Import a RAW file; lens correction will auto-apply.
  3. Export the RAW file as JPEG
  4. Export the RAW file as JPEG XL 16-bit unsigned int
  5. Import the JPEG and JPEG XL files to darktable.
  6. Observe that the JPEG file does not have lens correction applied, while the JPEG XL file has lens correction applied (distorting the images since it was previously applied to the RAW).

Expected behavior

JPEG XL is not raw and the preset should not apply.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.4.0

What OS are you using?

Windows

What is the version of your OS?

Windows 11 25H2

Describe your system

HP Omnibook, Intel(R) Core(TM) Ultra 7 258V

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Intel Arc 140V 16GB driver version 32.0.101.8331

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

No response

Metadata

Metadata

Assignees

Labels

bug: pendingsomeone needs to start working on thatreproduce: confirmeda way to make the bug re-appear 99% of times has been foundscope: image processingcorrecting pixels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions