NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.56k stars 333 forks source link

Custom BG colour is not preserved when copying a node or a group #813

Closed savchenko closed 2 years ago

savchenko commented 2 years ago

Make sure to follow our issue report guidelines

Natron version

Natron 2.4.3 Release

Operating system

MS Windows 10 21H2

System specs

32GB RAM AMD Ryzen 3700X AMD 6600 XT

Did you install Natron using the official installer?

Custom installation path

No response

What were you trying to do?

Duplicate group that has a custom background and font colours.

What did you expect to happen? What happened instead?

Expected

Group colour preferences are preserved between copies.

Reality

Pasted group duplicate reverts to the default black-on-grey.

Step-by-step reproduction instructions

  1. Group some nodes
  2. Set group background / foreground to non-default values
  3. Create a copy of the group

Additional details

image

rodlie commented 2 years ago

Confirmed on node background color, the text however is correct

YakoYakoYokuYoku commented 2 years ago

Could replicate with ungrouped nodes too. Adding the current color of a node to its serialization might be the fix in this case.

rodlie commented 2 years ago

Could replicate with ungrouped nodes too. Adding the current color of a node to its serialization might be the fix in this case.

Yes, as nodes are serialized before copy/paste. I can add it (nodeColor) if wanted.