Gradient shortcut for transparent object makes it 0% opacity
Steps to reproduce:
- 1 open Inkscape
- 2 create any object
- 3 set any transparency to it
- 4 Press G, default shortcut for gradient.
- 5 Try creating a gradient, the object will turn 100% transparent
Gravação_de_tela_de_2023-10-15_23-04-15
What happened?
In the 4th step, the cursor should change for the gradient tool. It doesn't. Then, when clicking on the canvas (as you would for the gradient), the object opacity will be set to 0%. Not the fill or stroke, but the entire object opacity. In the record above, it created a second circle since I was using the ellipse tool before trying to switch to the gradient tool with the shortcut. This doesn't happen if I select the gradient tool with the mouse. This also will not happen if the object was created with a previous transparency. Only when it's with full opacity and THEN set to any transparency that this bug will happen.
This bug is aggravated by the fact the inkscape has this old odd behaviour for 0% opacity objects not being selectable. An user not familiar with the objects dialogue may even believe the object was deleted.
What should have happened?
The gradient should be set properly.
...
Inkscape Version and Operating System:
Ubuntu 23.10, official PPA package Inkscape 1.3 (1:1.3+202307231459+inkscape@0e150ed6)
GLib version: 2.78.0
GTK version: 3.24.38
glibmm version: 2.66.6
gtkmm version: 3.24.7
libxml2 version: 2.9.14
libxslt version: 1.1.35
Cairo version: 1.18.0
Pango version: 1.51.0
HarfBuzz version: 8.0.1