https://bugs.kde.org/show_bug.cgi?id=445281

            Bug ID: 445281
           Summary: Renamed MyPaint preset cannot be exported into a
                    bundle (and loaded after restart)
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Resource Management
          Assignee: krita-bugs-n...@kde.org
          Reporter: dimul...@gmail.com
  Target Milestone: ---

git sha1: e109a49e80eb47ffed80fafc9503e12a0af5d3df

STEPS TO REPRODUCE
1. Activate "i)_Wet_Knife_Plus_(mypaint)" preset in the editor, change it
diameter to make is dirty
2. Click "Save New Brush Preset" and save it under
"i)_Wet_Knife_Plus_(mypaint)_Version2"
3. Try to create a bundle with this new preset. It fails.
4) After restarting Krita there will be a lot of warnings that this preset
cannot be found/loaded

```
Could not open
"/home/appimage/.local/share/krita/paintoppresets/i)_Wet_Knife_Plus_(mypaint)_Version2.kpp"
for reading
KoResourceSP KisResourceLocator::resource "/home/appimage/.local/share/krita/"
"paintoppresets" "i)_Wet_Knife_Plus_(mypaint)_Version2.kpp" was not found
```

The problem is that the preset is saved under a wrong name:
i)_Wet_Knife_Plus_(mypaint)_Version2.kpp.myb

If you "Overwrite" the preset to create a new version, then everything starts
to work fine, the preset is saved under a proper name:
"i)_Wet_Knife_Plus_(mypaint)_Version2.0001.kpp"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to