[umbrello-devel] [umbrello] [Bug 316095] unable to export class diagram to image

Joris Steyn jorissteyn at gmail.com
Sun Sep 22 15:14:32 UTC 2013


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

Joris Steyn <jorissteyn at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jorissteyn at gmail.com

--- Comment #8 from Joris Steyn <jorissteyn at gmail.com> ---
At least we're getting somewhere :)

In reply to your comment: imageTypeToMimeType() is still handling one file type
per invocation.

The culprit is one filter can now contain multiple file extensions ("*.jpeg
*.jpg *.jpe *.jfif" - the KMimeType pattern). So for the PNG files, all is fine
("*.png" -> "png" == "png"), but JPEG fails ("*.jpeg *.jpg" -> "jpeg jpg" !=
"jpg") hence checking for contains("jpg") will make everything work as
intended.

I agree there must be a better way of mapping the selected filter back to a
mime-type.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list