Bug 508828 - Making a transparent gradient vector shape and reopening the file darkens the gradient
Summary: Making a transparent gradient vector shape and reopening the file darkens the...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Vector (other bugs)
Version First Reported In: 5.2.9
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-27 22:40 UTC by moonblastgd
Modified: 2025-08-28 08:28 UTC (History)
0 users

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


Attachments
A zip file containing the necessary logs, an example .kra and a .png that shows what the file should look like, and a screen recording showing the vector when reopening the file. (3.04 MB, application/zip)
2025-08-27 22:40 UTC, moonblastgd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description moonblastgd 2025-08-27 22:40:26 UTC
Created attachment 184513 [details]
A zip file containing the necessary logs, an example .kra and a .png that shows what the file should look like, and a screen recording showing the vector when reopening the file.

SUMMARY


STEPS TO REPRODUCE
1. Create a vector shape.
2. Select it using the select tool.
3. Set it to "Gradient" instead of "Solid" in the Fill section of the Tool Options
4. Set the Preset to "1. Foreground to Transparent" (second to last in the list).
5. Set the color to anything other than black (the lighter the color, the more evident it is).
6. Save the file as .kra and close it in Krita.
7. Reopen the file using Krita.

OBSERVED RESULT
The gradient becomes darker after reopening the saved file.

EXPECTED RESULT
The gradient should remain as intended when reopening the file.

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Updating the gradient's color in any way (eg. reapplying the preset, double-clicking the color slider) causes it to return to normal, meaning that the gradient's data is correctly stored, just not correctly displayed when reopening the file. Saving and reopening the file again still causes the same bug to happen.
I first encountered the issue in version 5.2.9, but updated to 5.2.11 to check that it still happens (it does).
(Slight addendum for the recording I provided - pressing "Cancel" in the color selector still causes the gradient to update and return to normal).