Copying and pasting module order has side effects - or selective copy/paste broken? #15425
Closed as not planned
Closed as not planned
Description
Describe the bug
Selective copy/paste (of module order?) has side effects. See more below.
Steps to reproduce
- Get the raws and the sidecars from https://tech.kovacs-telekes.org/files/2023-10-15module-order-copy-paste-side-effect/ (note: 2023-09-24-10-09-05_P1010579_05.RW2.xmp is a lighter stack for the 2nd image; the screenshots were made using the original stack, 2023-09-24-10-09-05_P1010579.RW2.xmp, so your output will be somewhat different, but the effect is still obvious),
- Import them to darktable,
- Open 2023-09-18-19-49-32_P1010520.RW2; check the module order - it should be custom (filmic and sigmoid have been swapped for this demo):

- Open 2023-09-24-10-09-05_P1010579.RW2. Check it module order; should be v3.0 RAW; the history stack should have 20 elements, the last one being sigmoid(with the _05 stack, 14 modules, the last being crop):

- In the lighttable, select 2023-09-18-19-49-32_P1010520.RW2, duplicate it, then use Ctrl+Shift+C, keep only module order; copy the stack:

- Select 2023-09-24-10-09-05_P1010579.RW2, use Ctrl+Shift+V, keep only module order; paste the stack:

- Observe that the duplicate is flipped around, and its aspect ratio changes:

- Open the duplicate. Its stack contains 37 (with the _05 stack, 32) elements. Above the original sigmoid (entry 20), we have:

Expected behavior
darktable should only apply the selected item: module order
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you install darktable from?
self compiled
darktable version
4.5.0+908~g84906440ed
What OS are you using?
Linux
What is the version of your OS?
Ubuntu 23.04
Describe your system?
No response
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
NVidia 1060/6GB, 525.125.06
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response