Skip to content

Bug: Copying a color pattern is not a deep copy #194

@Waboodoo

Description

@Waboodoo

Steps to Reproduce

  1. Find any color pattern in the UI
  2. Click the Dropdown button on the right
  3. Select "Copy pattern"
  4. On the copy, click the Dropdown button again
  5. Select "Edit pattern"
  6. Select any of the pattern's colors and change it

Expected Result

Only the selected color in the pattern being edited is changed

Actual Result

The selected pattern is changed, but also the original pattern from which it was copied. Even when that pattern is locked.

It seems that the copy is only a shallow copy, still sharing some parts with its original pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions