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 735430 - Exporting attached DIA file to VXD causes boxes to be corrupted
Exporting attached DIA file to VXD causes boxes to be corrupted
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: exports
0.96
Other All
: Normal normal
: 0.98
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-26 06:23 UTC by Christopher M. Penalver
Modified: 2014-09-06 12:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
blue_box.dia (660 bytes, application/x-dia-diagram)
2014-08-26 06:23 UTC, Christopher M. Penalver
Details

Description Christopher M. Penalver 2014-08-26 06:23:47 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.
Comment 1 Hans Breuer 2014-09-06 12:52:43 UTC
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.