Gradient selection in drop-down menu sometimes doesn't apply, unless fill is reset first
Steps to reproduce:
- Open or create a file in Inkscape that has a lot gradients used. (like, 100s of gradients)
- Select a single object with a gradient. (my objects have radial gradients, if that makes a difference)
- Go to Fill and Stroke panel. (Shift+Ctrl+F)
- On "Fill and Stroke dialog > Fill tab > Gradient:" drop-down menu. Select a different preexisting gradient in the list of gradients used in the document than the one being used.
- If the document is complicated enough(?), you'll have the bug happen & the gradient might not be applied to the object successfully, no matter how many attempts or where you switch it from.
- Still on the Fill tab in the Fill and Stroke panel, go to fill types & clear the fill on the object with the "×" button - No paint. (really any other fill type works actually)
- Click again on the same gradient type that was initially applied to the object - you'll get a default gradient.
- Try to choose a gradient again from the Gradient drop-down menu. It should work this time.
What happened?
I believe Inkscape isn't properly recognizing that a gradient is already applied to an existing object, until you reset the fill and set it back again. Then you can change the gradient.
What should have happened?
The gradient should change the first time I select it from the drop-down.
Inkscape Version and Operating System:
- Inkscape Version: Inkscape 1.3-beta ( inkscape@cedbd6c6, 2023-05-28)
- Operating System: Windows 10 Home x64
- Operating System version: Update 22H2/2009 [10.0.19045.3208]
GLib version: 2.76.3
GTK version: 3.24.38
glibmm version: 2.66.6
gtkmm version: 3.24.7
libxml2 version: 2.10.4
libxslt version: 1.1.38
Cairo version: 1.17.7
Pango version: 1.50.14
HarfBuzz version: 7.3.0
OS version: Windows 10 22H2
Edited by Andrea