Copy pasting leads to weird swapping of swatch colours
Summary:
Swatch colours are mysteriously modified when the object is copied and pasted (not duplicated as duplication does not regenerate styles) - found while investigating inbox#11215 (moved), minimal example was also generated from the attached file in the issue
Steps to reproduce:
- open Inkscape, and open copypastebugminimal.svg
- Select the only group and copy it
- Paste it
What happened?
The fill of the second die turned black
What should have happened?
The fill of the second die remains green?
Version info
Inkscape 1.4 (40280c0668, 2024-10-20)
Compile (Run)
GLib version: 2.80.3
GTK version: 3.24.43 (3.24.43)
glibmm version: 2.66.7
gtkmm version: 3.24.9
libxml2 version: 2.12.8
libxslt version: 1.1.42
Cairo version: 1.18.0 (1.18.0)
Pango version: 1.54.0 (1.54.0)
HarfBuzz version: 8.5.0 (8.5.0)
OS version: Fedora Linux 40 (Workstation Edition)