Skip to content

Copying and pasting module order has side effects - or selective copy/paste broken? #15425

Closed as not planned
@kofa73

Description

Describe the bug

Selective copy/paste (of module order?) has side effects. See more below.

Steps to reproduce

  1. 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),
  2. Import them to darktable,
  3. 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):
    image
  4. 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):
    image
  5. 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:
    image
  6. Select 2023-09-24-10-09-05_P1010579.RW2, use Ctrl+Shift+V, keep only module order; paste the stack:
    image
  7. Observe that the duplicate is flipped around, and its aspect ratio changes:
    image
  8. Open the duplicate. Its stack contains 37 (with the _05 stack, 32) elements. Above the original sigmoid (entry 20), we have:
    image

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions