Bug 502118 - Transparency lost in vector shapes
Summary: Transparency lost in vector shapes
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Layers/Vector (show other bugs)
Version: 5.2.9
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: regression, release_blocker
Depends on:
Blocks:
 
Reported: 2025-03-28 10:09 UTC by rbjazbbc
Modified: 2025-04-28 12:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
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. (626.19 KB, image/png)
2025-03-28 10:09 UTC, rbjazbbc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rbjazbbc 2025-03-28 10:09:28 UTC
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.
Comment 1 Halla Rempt 2025-03-28 10:42:58 UTC
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.
Comment 2 rbjazbbc 2025-04-13 18:08:09 UTC
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.
Comment 3 Halla Rempt 2025-04-28 12:59:59 UTC
Wolthera suggested that this is caused by the icc-color parsing for 5.0, as that parses to kocolor and then to qcolor.