Version: (using KDE KDE 3.5.8) Installed from: Compiled From Sources OS: Linux When exporting graphics all the elementse in a component diagram get resized to their original size. This MAY be ok for components, because they go back to fit their content (the name), but for sure it makes the rectangle tool unuseful. I drawed some text and rectangles around my picture but I cannot export it because the rectangle's native size is a small square. Can you fix this AND backport to 3.8 please? Thank you.
*** Bug 156537 has been marked as a duplicate of this bug. ***
I see this bug in umbrello version 1.5.8 on KDE 3.5.8 on linux. The same problem occurs when printing the diagram. The note-box and rectangle box return to their native size.
I have also this problem in version 1.5.8 on KDE 3.5.9. This error happends to me when I try to export a diagram to svg or eps, but not in other format. I have taken a look to the source code and I haven't found the root of the problem, but I have managed to avoid the bug commenting in "umlviewimageexportermodel.cpp" file, on exportViewToEps and exportViewToSvg functions the following lines (262, 280, 344 and 356 lines): view->forceUpdateWidgetFontMetrics(painter); and view->forceUpdateWidgetFontMetrics(0); The problem seems to be in UMLView::forceUpdateWidgetFontMEtrics() function, but I get lost trying to find the bug. Regards, Orlando García.
Same here (KDE-3.5.9, umbrello 1.5.8).
And the same here (Qt: 4.4.1, KDE: 4.1.1 Umbrello UML Modeller: 2.1.1)
*** This bug has been confirmed by popular vote. ***
*** Bug 151943 has been marked as a duplicate of this bug. ***
*** Bug 199419 has been marked as a duplicate of this bug. ***
I hope, the following changes will fix the bug: new lines for widgets/boxwidget.h: 57a58,62 > > /** > * Overwrites method from UMLWidget > */ > virtual QSize calculateSize(); new lines for widgets/boxwidget.cpp: 44a45,51 > > QSize BoxWidget::calculateSize() > { > //return QSize(40, 80); > return QSize(UMLWidget::getWidth(), UMLWidget::getHeight()); > } >
The same problem for initial and final state on state diagram.
While the affected widgets may be different, the root cause of this bug is the same as the bug this is a duplicate of. *** This bug has been marked as a duplicate of bug 152757 ***