Skip to content

Copy-pasting history stack doesn't paste shape masks in modules #14534

Open
@lintujuh

Description

@lintujuh

Describe the bug

Copy-pasting history stack doesn't paste shape masks in modules. The parametric mask is copied, but the shape is not copied. When opening the module in darkroom, there it states in drawn mask: no mask used. This also applies to retouch module, where the retouching shapes are not copied.

Steps to reproduce

  1. Open an image and add a module where you also apply a geometric mask
  2. Create a duplicate of the image and erase the history stack
  3. Copy-paste the history stack from the first image to the second
  4. See the difference, the module is applied to the full image, not only the restricted area

Expected behavior

The geometric masks should be copy-pasted with the associated modules

Logfile | Screenshot | Screencast

image
The first image has a second exposure module applied with a geometric mask (see the dark spot). The second image has the history stack copy-pasted. The full image is darker, not only the spot in the middle.

Commit

No response

Where did you install darktable from?

self compiled

darktable version

4.3.0+2328

What OS are you using?

Windows

What is the version of your OS?

11 Enterprise 22H2

Describe your system?

No response

Are you using OpenCL GPU in darktable?

Yes

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

I haven't been able to test as I have build issues with my Fedora 38 (#14527).

Metadata

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