Replace color extension doesn't work on pattern unless nothing selected

Summary:

The extension does not work for patterns (e.g. stripes 1:1).

Steps to reproduce:

  • create a shape (rectangle)
  • fill with a pattern (stripes 1:1)
  • select the extension (Extensions -> Color -> Replace color...)
  • select "Color to replace" (black, 000000ff)
  • select "New color" (red, ff0000ff)
  • "Apply"

What happened?

Nothing happens.

What should have happened?

The black stripes should become red.

Version info


Inkscape 1.2 (dc2aedaf03, 2022-05-15)

It did work in 1.1.2.

Windows 10 Pro 21H2 19044.1741

Edited by Nathan Lee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information