netbeans export svg uml diagram bug with openjdk

Bug #350481 reported by jolay
2
Affects Status Importance Assigned to Milestone
Netbeans Core
Confirmed
Unknown
netbeans (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: netbeans

up to date Kubuntu 8.10 with KDE 4.1.4
NetBeans IDE 6.1 (Build 080905)
Java: 1.6.0_0; OpenJDK Client VM 1.6.0_0-b12
System: Linux version 2.6.27-14-generic running on i386; UTF-8; fr_FR (nb)

Netbeans IDE does not export UML state diagram correctly into SVG format. The shapes and arrows in the diagram seem to be correctely rendered but the texts are moved outside the image bounding box. Export in JPG or PNG are OK.

In inkscape, one can correct the SVG manually by flipping vertically the texts twice: first, flip the group of text, and second, flip individually. see file "test-openjdk.svg"

Workaround: use sun-java6
I might better report this bug under openjdk but I am not sure of the export process in netbeans...
1. Add sun-java6 from the menu "Tools/Java Platforms"
2. Change the default jdk by editing /etc/netbeans.conf in order to use sun-java6:
netbeans_jdkhome="/usr/lib/jvm/java-6-sun"
3. export again the same state diagram in SVG. The obtained SVG file is correct. see file "test-sun-java6.svg"

Revision history for this message
jolay (jo-lay) wrote :
Revision history for this message
jolay (jo-lay) wrote :
Revision history for this message
Marek Slama (mslama-email) wrote :

Please file this into NetBeans Issuzilla at netbeans.org. Or if you cannot let me know I will do it.

Revision history for this message
jolay (jo-lay) wrote : Re: [Bug 350481] Re: netbeans export svg uml diagram bug with openjdk
Changed in netbeans:
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.