Any changes made to a gradient aren't saved. To reproduce: Create a new gradient - this will automatically save in the gradients folder Make any change to that gradient Check the gradient file - it will remain unchanged Saving the current document or closing Krita makes no difference. When you re-open Krita the gradient will have reverted to the default yellow-red.
I am having a different issues with gradients when doing any updates. If there is any change done, the gradient saves. The problem is that it creates a new "version" of the gradient which isn't managed correctly. For example if I edit the same gradient 3 times, I will have 3 new gradients appear at the bottom of the gradient chooser. There must be something not being managed correctly with what gradient appears when it has multiple versions. tested on krita master build with commit 46f87d1e088b2
Git commit c1d6ed341fa9b62cb83967f673e393faa29f43c3 by Halla Rempt. Committed on 09/04/2021 at 13:49. Pushed by rempt into branch 'master'. Update existing gradients, instead of re-adding them, M +8 -2 libs/ui/widgets/kis_gradient_chooser.cc https://invent.kde.org/graphics/krita/commit/c1d6ed341fa9b62cb83967f673e393faa29f43c3