Summary: | export as image error message | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Jessica <jess.jones.unitedkingdom> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | okellogg |
Priority: | NOR | ||
Version: | 2.32.0 (KDE releases 20.08.0) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
xmi file to export to an image
pacman.xmi manually fixed and then loaded/saved by recent Umbrello |
Description
Jessica
2022-01-29 22:46:34 UTC
I think this bug is caused by the current one: https://bugs.kde.org/show_bug.cgi?id=449661 *** Removed by KDE Sysadmin for violation of the KDE Community Code of Conduct *** Created attachment 154891 [details] pacman.xmi manually fixed and then loaded/saved by recent Umbrello Your pacman.xmi attachment was created using an Umbrello version that did not include the fix for bug 449662. The XMI has a similar problem as the one at bug 449662 and therefore an automatic repair by Umbrello is not possible. I manually deleted the line 1895: --- pacman.xmi 2022-12-30 02:20:36.793181827 +0100 +++ bug449347-pacman-manuallyfixed.xmi 2022-12-30 03:17:20.419500687 +0100 @@ -1892,7 +1892,6 @@ <startpoint startx="-95367" starty="-36474.6"/> <endpoint endx="-95166.4" endy="-36474.6"/> </linepath> - <floatingtext linecolor="#ff0000" usesdiagramfillcolor="1" linewidth="0" textcolor="none" usesdiagramusefillcolor="1" x="-4.29496e+09" showstereotype="1" y="-4.295e+09" text="sprites" font="MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0" localid="uvZ9yjorX7yeA" pretext="+" role="710" width="48" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="ue8vgCptWUQFL" autoresize="1" height="17"/> </assocwidget> <assocwidget linecolor="#ff0000" indexa="1" usesdiagramfillcolor="1" widgetbid="usqXSBLQbJKto" indexb="1" linewidth="0" seqnum="" textcolor="none" usesdiagramusefillcolor="1" totalcounta="2" totalcountb="2" widgetaid="u4G0r3VlSWV5Y" font="Sans Serif,9,-1,0,50,0,0,0,0,0" visibilityA="0" visibilityB="0" localid="urZwoh37DbF2C" usefillcolor="1" fillcolor="none" changeabilityA="900" xmi.id="uA7Wqwr0CVVcU" changeabilityB="900" autoresize="1" type="510"> <linepath layout="Direct"> because that floatingtext has illegal x and y values. After this deletion, loading the file into Umbrello was possible. The attachment bug449347-pacman-fixed-savedByUmbrello.xmi is the version after saving within Umbrello. With this file, it was also possible to export the diagram as image. In my comment #3 I referenced the wrong bug number, the correct reference is bug 449622. *** This bug has been marked as a duplicate of bug 449622 *** (In reply to Oliver Kellogg from comment #3) > [...] > The XMI has a similar problem as the one at bug 449662 and therefore an > automatic repair by Umbrello is not possible. On git master I improved the coordinate error handling so that the manual step is no longer needed, i.e. Umbrello now makes a minimal repair of bogus values and does not abort the load, see https://bugs.kde.org/show_bug.cgi?id=449622#c10 "Minimal" means that those widgets are placed at a fixed location near (0,0). Of course, manual correction within Umbrello is then still required. |