Version: 1.2-1 (using KDE KDE 3.1.5) Installed from: Debian testing/unstable Packages Compiler: gcc (GCC) 3.3.3 20040125 (prerelease) (Debian) OS: Other Exporting a class diagram as a EPS file cause the relation lines to be shorter that they should be and not to connect classes together. The following patch resolves the problem but I can't assert that it has no side effects. Tested on Debian Sarge and Mandrake 9.1. --- umbrello-1.2/umbrello/umbrello/umlview.cpp 2004-01-03 23:15:37.000000000 -0500 +++ umbrello-1.2-hacked/umbrello/umbrello/umlview.cpp 2004-03-06 12:33:38.000000000 -0500 @@ -1479,7 +1479,9 @@ // make sure the widget sizes will be according to the // actually used printer font, important for getDiagramRect() // and the actual painting - forceUpdateWidgetFontMetrics(painter); + if (!isEPS) { + forceUpdateWidgetFontMetrics(painter); + } QRect rect = getDiagramRect(); painter->translate(-rect.x(),-rect.y());
Created attachment 5048 [details] Patch for the EPS export problem Resent because it seems to be broken by the line wrapping in the comment box.
Created attachment 5049 [details] Sample broken EPS This is how my diagram gets exported.
Created attachment 5051 [details] Sample correct EPS This is how the diagram should be exported.
Created attachment 5052 [details] Umbrello project for both samples This is the project from which I exported both sample diagrams.
I can't confirm this problem, can anyone else?
I'm having the same problem with Umbrello from Debian Sarge (KDE 3.2.2). Relation lines end prematurely in the bottom and right edges of the classes. Sometimes exporting eps fixes some of the lines by making them start from the inside of the classes (e.g. the whole arrow of the "implements" association can't be seen on the screen but the eps is ok).
Unfortunatly I think I shall have to close this entry since I can not recreate it at all running KDE 3.2.2 on Debian unstable. If anyone else can be found to test the problem that would be most useful.
If it's any help, I noticed that this bug doesn't appear if I force the DPI of the X server to 75.
I have this (silly) problem! Debian Sarge - KDE 3.2.3 - Umbrello 1.2.2 Please correct this bug - eps output is the most important (IMHO)!
Um, did you try with umbrello-1.3? The respective code in umlview.cpp was changed.
There's no debian package for umbrello-1.3 :-( Have you tried eps export on that version? Could I help to make the deb package?
I have just packages a .deb for Debian Unstable. Strange that the Debian people havn't done so yet. http://uml.sf.net/download.php Please test.
Have you told to kde sdk people that a new release of umbrello exists? On packages.debian.org I can see that umbrello deb packages are maintained together in the kdesdk package by Ben Burton (bab@debian.org). I think that they should submit a new release of the kdesdk source package.
> Have you told to kde sdk people that a new release of umbrello exists? Umbrello is part of KDE, we release with KDE. >I think that they should submit a new release of the kdesdk source package. I'm sure there is a reason for kdesdk (which includes Umbrello) not being updated in Debian yet, they will be aware that there is a new release.
*** Bug 97779 has been marked as a duplicate of this bug. ***