darktable-org / darktable-org/darktable

the order of modules in a style does not apply in export mode.

Open
#19,029 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity reproduce: peculiar scope: image processing
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

Hello team,
To use the “Google site” carousel, I have to print my photo on a white background, including it in a 4/3 frame, because the carousel zooms in on the smallest edge and the photo is no longer whole.
To frame the different formats (4/3, 3/2, 16/9 portrait or landscape) I've created a style that adds a “decorative frame” in 4/3 format in landscape mode.
As my signature is placed in this frame, I change the order of the modules by passing “watermark” just below “decorative frame”.
I have created the custom module mode corresponding to this change.
I've created a style with 3 lines:
_ order of modules
_ decorative frame
_ watermark.
When, in the light table, I apply the style to a photo processed with the “clone image and apply style” option, everything is ok and the operation is correct. The clone is generated with the signature in the right place.

However, if I want to export the photo and apply the style directly by adding it to the history, to avoid creating a clone, the order of the modules is not taken into account and my signature ends up in the frame.

Translated with DeepL.com (free version)

Steps to reproduce

here is the style file and screenshots

parameter.zip

corect is

Expected behavior

by applying the style to the export darktable should export the image directly as when generating a clone.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.2

What OS are you using?

Windows

What is the version of your OS?

w11

Describe your system

Processor 12th Gen Intel(R) Core(TM) i9-12900K 3. 20 GHz
Installed RAM memory 32.0 GB (31.8 GB usable)
System type 64-bit operating system, x64 processor
Windows 11 Professional Edition
Version 24H2

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Nvidia GeForce RTX 3060

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

I don't know if this was present on older versions because I just asked myself the question because of the creation of the website on Google site.
I don't have a lua script.
I only use RAWs.

20250120__1191_01.ORF.zip

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 export and clone workflows with parameter.zip and 20250120__1191_01.ORF.zip on darktable 5.2, comparing the module order in each result. Trace how styles are applied during export versus history or clone processing. Done means export preserves the configured decorative-frame-before-watermark order and places the signature correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.