Created attachment 179813 [details] First photo shows the creation of a vecor shape. Second photo shows lost transparency. Third photo is after a tiny adjustment to the color gradient. SUMMARY Transparency in vector shapes become grayish after closing then opening a Krita saved file. STEPS TO REPRODUCE 1. In a vector layer, make a selection then convert it to shape. 2. In the "Tool Options", select a gradient fill, then select any color. 3. Select the preset "Foreground to Transparent". 4. Save the file, close it, and then open it again. OBSERVED RESULT Transparency is lost, showing greyish color (image attached). EXPECTED RESULT Transparency should look just like it did before closing the file. SOFTWARE/OS VERSIONS Windows: 11 ADDITIONAL INFORMATION 1. Any tiny adjustment to the gradient color bar restores correct transparency immediately (image attached). 2. The "Undo History" records the difference. 3. Artists working with lots of transparency vector layers need to do a tiny adjustment for all the vector shapes in all layers to correct this, which is time consuming and anti-productive. I hope it will be fixed in the next release.
I can confirm the issue and it is a regression: 4.4.8 doesn't show the issue (so the file gets saved correctly, it's loading that's broken), 5.0.2 does, so it's been there for a long time.
Crate a vector shape with gradient fill, copy it, then paste it. The pasted vector shape will show the same bug instantly without closing/opening the file. A tiny adjustment to the gradient fixes it.
Wolthera suggested that this is caused by the icc-color parsing for 5.0, as that parses to kocolor and then to qcolor.