GNOME Bugzilla – Bug 735430
Exporting attached DIA file to VXD causes boxes to be corrupted
Last modified: 2014-09-06 12:52:43 UTC
Created attachment 284479 [details] blue_box.dia Downstream bug report: https://bugs.launchpad.net/ubuntu/+source/dia/+bug/449997 1) lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 2) apt-cache policy dia dia: Installed: 0.97.2-15ubuntu1 Candidate: 0.97.2-15ubuntu1 Version table: *** 0.97.2-15ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages 100 /var/lib/dpkg/status 3) What is expected to happen via a terminal: cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/dia/+bug/449997/+attachment/817543/+files/blue_box.dia && dia --nosplash blue_box.dia File > Export > Visio XML Format (*.vdx) > open the exported file and it looks exactly the same. 4) What happens instead is the box is broken into segments. Each segment has its own border, ruining the original appearance of the box.
Dia master has two fixes now: - Implement VDXRenderer::fill_arc() https://git.gnome.org/browse/dia/commit/?id=15519d23f8a3799f5b4459f21095664bedd01055 Still "splitting into segments" but giving the right visual appearance. - vdx: Box rounding support for export and import https://git.gnome.org/browse/dia/commit/?id=11c3108a01a05ea1e3e249bc7be794b42ca7cdaf Exporting as rounded polygon and importing as rounded box.