Bug 363266

Summary: [ *.kpp brush preset ] Krita 3.0 don't want to save a *.kpp ( Ctrl+S ) to edit thumbnail
Product: [Applications] krita Reporter: David REVOY <info>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David REVOY 2016-05-19 10:42:46 UTC
Hi, 
This bug affect editing the brush preset thumbnails.

How to reproduce:
===============
1. Open a *.kpp paintoppreset from ~/.local/share/krita/paintoppresets
2. Edit the thumbnail
3. Save ( Ctrl+S)

Result:
======
Krita 3.0(git~master of today) can't save over a *.kpp : Krita3.0 will prompt user with a 'save-as' dialog and propose the filename with kra suffix attached.  ( eg. filenamekra )

Note:
=====
Krita 2.9 can save a *.kpp and just show the PNG compression dialog after a Ctrl+S.
Comment 1 Halla Rempt 2016-05-20 06:47:33 UTC
Git commit afc413188639b15b0aef73d3ddee9bef10658773 by Boudewijn Rempt.
Committed on 20/05/2016 at 06:41.
Pushed by rempt into branch 'master'.

Note: you need to _remove_ the plugins/impex/png directory before
rebuilding! CMake doesn't notice changes to json files.

M  +2    -2    plugins/impex/png/krita_png_export.json

http://commits.kde.org/krita/afc413188639b15b0aef73d3ddee9bef10658773