Bug 327046 - "diagram->export as picture ..." creates corrupt images
Summary: "diagram->export as picture ..." creates corrupt images
Status: RESOLVED DUPLICATE of bug 316095
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.10.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Ralf Habacker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-02 18:39 UTC by arne anka
Modified: 2013-11-20 21:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.3


Attachments
two exported pictures, both corrupt. (128.59 KB, application/x-bzip)
2013-11-02 18:42 UTC, arne anka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arne anka 2013-11-02 18:39:46 UTC
"diagram->export as picture ..."  creates unusable, corrupt images and no eps at all.
images are plain black or occasionally with a little rainbow at the top.
i'll attach two specimen.

ps: and now it stopped altogether, always throwing "An error happened when exporting the image:
A problem occurred while saving diagram in /tmp/class diagram.png."

Reproducible: Always
Comment 1 arne anka 2013-11-02 18:42:01 UTC
Created attachment 83301 [details]
two exported pictures, both corrupt.

two exported pictures, both corrupt.
Comment 2 Ralf Habacker 2013-11-02 18:45:52 UTC
no problem here with 4.11.2 aka 2.11.2. Any chance to check with a newer version or git master ?
Comment 3 Ralf Habacker 2013-11-03 11:02:12 UTC
Took a look in the log: 
2.10.5
....:exportViewToPixmap: saving to file  "/tmp/Klassendiagramm.bmp."  , imageType= ""  , width= 922  , height= 461  , successful= false
master, 4.11.3
...:exportViewToPixmap: saving to file  "/tmp/Klassendiagramm.bmp" , imageType= "bmp" , width= 343 , height= 153 , successful= true

The main difference is that there is a '.' at the end of the filename and there is no imageType choosen. This has been fixed in bug 316095, wich will be available with 4.11.3
BTW: The version mentioned in #comment 2 needs to be read as KDE/4.11 git branch. the published version 4.11.2 do not include the required patch.

*** This bug has been marked as a duplicate of bug 316095 ***