SUMMARY Gradient effect that I make custom isn't saved, so when I reopen the file, Krita takes the current foreground color and background color as gradient effect, and also the mode is back to Normal/Multiply with 75% opacity (the default gradient effect settings. STEPS TO REPRODUCE 1. Make a custom gradient layer style 2. Save the file, then close the file 3. Reopen the file OBSERVED RESULT Custom gradient isn't saved, Krita instead picks new colors from foreground and background colors as the gradient, and gradient style is always back to Normal/Multiply. EXPECTED RESULT Gradient colors and mode stays the same (doesn't pick new colors) after the file is saved, closed, and reopened. SOFTWARE/OS VERSIONS Windows: 10 MacOS: - Linux/KDE Plasma: - (available in About System) KDE Plasma Version: - KDE Frameworks Version: - Qt Version: - ADDITIONAL INFORMATION
Thank you for your report. I can confirm the issue. I even get an assert when trying this: ASSERT: "segment != 0" in file /home/boud/dev/krita/libs/pigment/resources/KoSegmentGradient.cpp, line 251 ASSERT: "segment != 0" in file /home/boud/dev/krita/libs/pigment/resources/KoSegmentGradient.cpp, line 251 ASSERT: "segment != 0" in file /home/boud/dev/krita/libs/pigment/resources/KoSegmentGradient.cpp, line 251 ASSERT: "segment != 0" in file /home/boud/dev/krita/libs/pigment/resources/KoSegmentGradient.cpp, line 251 Re-raising signal for core dump handling. Aborted (core dumped)
This seems to have been fixed now, it works for me.