Skip to content

Double Duplication of Scale Color Nodes Bug #705

@six7

Description

@six7

Bug: Double Duplication of Scale Color and Color Scale Nodes

When duplicating a combination of Scale Color and Color Scale nodes, the first duplication functions as expected. However, subsequent duplications result in two copies being created instead of one, leading to unintended double duplication.

Steps to Reproduce:

  1. Create a Scale Color node and a Color Scale node in the graph editor
  2. Select both nodes and duplicate them (Ctrl+D or right-click > Duplicate)
  3. The first duplication works correctly, creating one copy of each node
  4. Select the newly created copies and duplicate them again
  5. Observe that two copies of each node are created instead of one

Expected Behavior:
Each duplication should result in a single new copy of the node combination.

Actual Behavior:
The second duplication creates two additional copies instead of one.

Suggested Fix:
Investigate the duplication logic to ensure it only creates a single node upon each duplication request.

Slack thread: https://hyma-team.slack.com/archives/C03B3KA9LM8/p1747749482146119?thread_ts=1747749482.146119&cid=C03B3KA9LM8

Attachments

🎬 Video attachment: Screen Recording 2025-05-20 at 6.58.03 PM.mov (QuickTime Movie, 24352 KB)

Show all messages nuthan wrote: When duplicating a combination of Scale Color and Color Scale nodes, the first duplication works correctly; however, duplicating the copy results in two copies instead of one, leading to double duplication.

nuthan wrote: @issue_assistant create issue in tokens-studio/graph-engine

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions