selective copy paste: copy from lower instance of module overwrites higher instance on paste
Describe the bug
If you have 2 instances of a module, change the lower (in pixelpipe) instance, then copy and paste it to another image with both instances, the higher (in pixelpipe) instance is changed. If the instance has a label, the label is not changed so there isn't an indication that the incorrect instance got the change applied to it.
Tested the copy both instances work around that I found with #16375 and it works here also.
Steps to reproduce
-
Open an image with 2 instances of tone equalizer and change the lower to compress dynamic range.
-
Selectively copy the lower instance.
-
Paste the copy and then notice the upper instance changed, but the label remained the same.
Expected behavior
apply the change to the corresponding instance
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
downloaded from www.darktable.org
darktable version
4.7.0+630~gb0ebf97c59
What OS are you using?
Linux
What is the version of your OS?
ubuntu 22.04
Describe your system?
No response
Are you using OpenCL GPU in darktable?
None
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
This is expected to me or there is something I don't understand. If you copy a single instance then when pasting we see a single instance which gets pasted :
- In the first non hand named instance
- Or in a new instance is all instances are named
I can't reproduce it with https://github.com/darktable-org/darktable/pull/16373