1.5-dev: Recolor Selection does not update colors after undo/redo on canvas

Ishaan Arora
2026-03-27T20:58:10Z

#### Summary:

When using Recolor Selection I can manipulate the selected objects on the canvas. If I do that I can undo the new colors that recoloring changes but the popover will not update the Original colors.

#### Steps to reproduce:

- open Inkscape
- create few objects
- open Fill and Stroke dialog, click on Recolor Selection button
- change the color
- select objects on the canvas (click again or move them)
- Undo (Ctrl + Z) (either once or twice)
- Redo (Ctrl + Shift +Z)

#### What happened?

![Screencast From 2026-03-28 01-48-07.mp4](/uploads/c41ee06e313c2e6aca787aec80a9110a/Screencast_From_2026-03-28_01-48-07.mp4)

The color changes on the canvas but the Original column stays the same.

#### What should have happened?

The Recolor Selection should update its Original colors.

#### Version info

```
Inkscape 1.5-dev (a28888488f, 2026-03-20)

Compile (Run)
GLib version: 2.84.1
GTK version: 4.18.6 (4.18.6)
glibmm version: 2.83.1
gtkmm version: 4.18.0
libxml2 version: 2.12.10
libxslt version: 1.1.43
Cairo version: 1.18.2 (1.18.2)
Pango version: 1.56.3 (1.56.3)
HarfBuzz version: 10.4.0 (10.4.0)
Poppler version: 25.02.0

OS version: Fedora Linux 42 (Workstation Edition)
```