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

            Bug ID: 446588
           Summary: Brush preset reimport (same file) asks for overwrite,
                    does not recognize that the file is the same md5sum.
           Product: krita
           Version: 5.0.0-beta2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Resource Management
          Assignee: eoinoneill1...@gmail.com
          Reporter: eoinoneill1...@gmail.com
  Target Milestone: ---

SUMMARY
On Krita/5.0 branch, importing a brush preset twice will cause an overwrite
warning and the terminal will note that the MD5sum of the two presets do not
match.

STEPS TO REPRODUCE
1. Make a brush preset, copy it from `~/.local/share/krita/paintoppreset` to
some local folder. 
2. Close Krita, remove the krita configuration folder. (In my case,
`~/.local/share/krita`) 
3. Open Krita and import you brush; You will see that the import was
successfull.
4. Reimport the same brush file. 

OBSERVED RESULT

It will prompt you for an overwrite which is not correct as the MD5Sum and
filename should be the same.  Additionally, the terminal will read something
like:

```
A resource with the same filename but a different MD5 already exists in the
storage "paintoppresets" "/home/user/.local/tmp/c)_Pencil-2_Modification.kpp"
""
Proceeding with overwriting the existing resource...
```

EXPECTED RESULT

Importing should be bypassed, and the md5 sum should be the same.

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

Reply via email to