Version: svn trunk OS: Linux If I create a new preset giving a name and clicking the "save to presets" button, Krita doesn't save it into the "paintoppresets" folder; so closing and reopening the program, the preset disappears from the list. I'm using the last version compiled from git under Mint 10 (Ubuntu Maverick). Reproducible: Always Expected Results:
I've just deleted all configuration files and restarted Krita. It seems to work correctly now..
Ohi-ohi, sometimes Krita saves the preset into the "paintoppresets" folder, but after restarting doesn't show it... ;^^
Hm... Sounds like something is going wrong with the blacklist we use to hide deleted presets.
Could you attach the kis_paintoppresets.blacklist and the preset that doesn't load?
It's too late... ;^^ After the latest changes in git, Krita worked perfectly for me and I deleted everything thinking the problem was solved. I'm so sorry! :( I don't have any problem now and can't reproduce the bug. Sorry, again...
Ok, I'm closing the bug as works. If it reappears please reopen.
Created attachment 65784 [details] Preset added to blacklist.
Created attachment 65785 [details] Blacklist.
The problem appeared again, but this time I've kept a sample of the preset! ^^ Please, look in attachment! Just as Boudewijn said, sometimes Krita adds the presets to the blacklist without reason...
File are only added to the blacklist if the file is removed. Could it be that you removed a preset and then added one with the same name?
Bingo! This is the problem... I've just tried! 1) Create a new preset. 2) Delete it. 3) Create a new one with the same name. 4) Close Krita. 5) Reopen Krita. Result: the preset doesn't appear since it's in the blacklist! ^^
Good detective work!
Git commit cdacaf63e643e54541d107c4eb7e0ced860d20e5 by Sven Langkamp. Committed on 16/12/2011 at 21:43. Pushed by langkamp into branch 'master'. if file already exists, save resource with a new name BUG:286108 M +4 -12 krita/ui/kis_paintop_box.cc M +14 -1 libs/widgets/KoResourceServer.h http://commits.kde.org/calligra/cdacaf63e643e54541d107c4eb7e0ced860d20e5