History stack copy-paste does not preserve module order
Author: ho4codeCreated Sep 28, 2026Updated Sep 28, 2026
Is there an existing issue for this?
- I checked and did not find my issue in the already reported ones
Describe the bug
When copying the history stack that has a modified module order and then pasting it onto another image, the module order is not preserved
Steps to reproduce
- Open a photo in darkroom
- Create another instance of a module, e.g.
exposure - Make some adjustments in this new instance of the module
- Navigate to the "all enabled modules" tab
- Drag and drop the module to a new place, e.g. put the new
exposureabovecolor calibration - Leave the darkroom
- Copy the history stack of this photo
- Paste it onto a new, unedited photo
- Enter the darkroom with the second photo
- Observe the module order not being preserved, e.g. there's now two
exposuremodules one after another, instead of one instance being placed abovecolor calibration
Expected behavior
darktable should preserve module order when copy-pasting history stack
Logfile | Screenshot | Screencast
Original image:
Second image, after pasting the history stack:
Commit
No response
Where did you obtain darktable from?
GitHub nightly
darktable version
5.7.0+1033.g62ebe0a0f4
What OS are you using?
Mac
What is the version of your OS?
macOS 27
Describe your system
No response
Are you using OpenCL GPU in darktable?
I dont know
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
Source: darktable-org/darktable