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

            Bug ID: 396143
           Summary: Reference images with mismatching extension and MIME
                    type break save feature
           Product: krita
           Version: 4.1.0
          Platform: Appimage
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Tools/Reference Images
          Assignee: krita-bugs-n...@kde.org
          Reporter: jazzv...@gmail.com
  Target Milestone: ---

This is a bit of a weird case, but some websites do lie about file type, and it
might make someone lose their progress unless they'll guess to clear
references, so I've decided to report it anyway.

Steps to reproduce:
* Give a png image .jpeg extension (or vice versa)
* Add it via reference tool

What happens:
* No error message, but image isn't actually added on the canvas either
* Can no longer save the file, unless "Delete all reference images" button is
clicked and the ghost reference is deleted

When trying to save (manually or with autosave), I get an error:

  Could not save /home/jazz/test.kra
  Reason: Failed to save the annotations for layer Layer 2..
  Failed to save the annotations for layer Layer 1.

Console log:
krita.lib.store: Store is already opened, missing close
krita.lib.store: Store is already opened, missing close
krita.lib.store: Store is already opened, missing close
krita.lib.store: Store is already opened, missing close
krita.lib.store: Store is already opened, missing close
krita.lib.store: Store is already opened, missing close
saving binary data failed

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

Reply via email to