After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683700 - how to work with visio files? vdx full of errors
how to work with visio files? vdx full of errors
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: import
0.97.x
Other Windows
: Normal critical
: 0.97.3
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-10 08:14 UTC by Kirill
Modified: 2013-08-16 19:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
problem with the coding dia (212.56 KB, image/jpeg)
2012-09-10 08:14 UTC, Kirill
Details
DIA--appcrash (246.67 KB, image/jpeg)
2012-09-10 08:15 UTC, Kirill
Details
called appcharsh (458.98 KB, application/x-zip-compressed)
2012-09-10 08:20 UTC, Kirill
Details
called appcharsh.dia - imported and saved with current master (134.12 KB, application/x-compressed-tar)
2012-09-10 19:08 UTC, Hans Breuer
Details
Latest version saved as "called appcharsh-2012-09-24.dia" (132.98 KB, application/x-dia-diagram)
2012-09-24 17:58 UTC, Hans Breuer
Details

Description Kirill 2012-09-10 08:14:51 UTC
Created attachment 223881 [details]
problem with the coding dia

Many schemes in the format vsd. The problem is how to open it for editing in the DIA. The only contiguous format - VDX - in DIA opens incorrectly after having been created in Visio. Many elements of the offset, a violation of the group. Most often seen when working with documents Visio 2007-2010. how to get an editable and subsequent use of the scheme, without creating a new scheme?

except incorrect opening, DIA over time an error and crashes when it opened Vdx file.
Comment 1 Kirill 2012-09-10 08:15:57 UTC
Created attachment 223882 [details]
DIA--appcrash
Comment 2 Kirill 2012-09-10 08:20:54 UTC
Created attachment 223884 [details]
called appcharsh
Comment 3 Steffen Macke 2012-09-10 15:57:39 UTC
Not a fix, but possibly a workaround:
If you would like to import VSD files to Dia, you could try vsd2svg and import the resulting svg file: http://dia-installer.de/vsd2svg Besides importing, you can also insert the SVG files as image objects in Dia - this way, gradients will be preserved.
Comment 4 Hans Breuer 2012-09-10 19:08:41 UTC
Created attachment 223947 [details]
called appcharsh.dia - imported and saved with current master

I've checked your file with dia-0.97.2 and current master.
I see three issues besides some warnings:
 - somehow the anti-aliased rendering with cairo is broken
   diacairo-renderer.c:1008, invalid matrix (not invertible)
 - the error message dialog crashes when "Show repeated messages" is clicked
 - only with master some of the text is scrambled
Comment 5 Hans Breuer 2012-09-24 17:58:19 UTC
Created attachment 225084 [details]
Latest version saved as "called appcharsh-2012-09-24.dia"

The invalid matrix is no longer passed to cairo (scaling with 0):
http://git.gnome.org/browse/dia/commit/?id=49fb1a8638bc932b726add6cabb6b4dab3296ca7
Apparently the scrambled text is with both branches, now fixed on master:
http://git.gnome.org/browse/dia/commit/?id=99dc2c8bfa2bb3143a0d1f6247b98da2424f21f3

The master branch has changes related to the message dialog, too.
If someone would do the back-port to dia-0-97 that change should be
different. Just adding a newline to message_error() in vdx-xml.c
should be enough.

I'm attaching the newest version the diagram as imported with Dia master.
It still shows "Can't decode object EventMultiDrop" but it does not prohibit
further working with the file.

There are still smaller issues (Dia does not support rotated text, gradients, ...) but IMO the above changes justify to consider this fixed.
Comment 6 Hans Breuer 2013-08-16 19:21:00 UTC
Merge crash avoiding parts to dia-0-97 branch:
https://git.gnome.org/browse/dia/commit/?h=dia-0-97&id=61431fec37ed855db7284c6737cb3777577cc904