darktable icon indicating copy to clipboard operation
darktable copied to clipboard

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

Open kofa73 opened this issue 2 years ago • 2 comments

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

kofa73 avatar Oct 15 '23 06:10 kofa73

Can reproduce with 4.5.0+1014-g5f25f79812, Ubuntu 22.04

  • Happens also if copy is done in darkroom, if the stack of the source image is minimal, if other images are used or if the copy is done the "other way round" (read: copy V3.0 RAW over custom).
  • Does not happen if only one additional item is added to module order (two items copied, for example module order and crop)

pehar1 avatar Oct 28 '23 08:10 pehar1

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Dec 28 '23 00:12 github-actions[bot]