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 622315 - dia: multiplicity labels overlap with class boxes
dia: multiplicity labels overlap with class boxes
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
0.97.x
Other Linux
: Normal normal
: 0.97.2
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-21 19:39 UTC by Roland Stigge
Modified: 2011-12-17 15:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Dia example file (1.23 KB, application/x-dia-diagram)
2010-06-21 19:39 UTC, Roland Stigge
Details
The window contents (1.31 KB, image/png)
2010-06-21 19:40 UTC, Roland Stigge
Details

Description Roland Stigge 2010-06-21 19:39:09 UTC
Created attachment 164241 [details]
Dia example file

Hi,

at Debian, we found the following:

=========================================================================
Lines connectig classes in UML diagrams look OK unless classes are aligned. In this case, multiplicity labels (like 1..*) move over the class box itself. It only happens when classes are perfectly aligned (i.e., via Object->Align menu). If you move the class object just one tiny bit, the label will  be displayed properly again.

[Further explanation:]

- swith off the snap to grid option.
- ramdomly place both classes with the mouse (just to ensure they are 
not aligned)
- slowly move one of the class objects with the arrow keys, trying to 
make the association line as straigth as possible.
- eventually, the labels will scramble.
=========================================================================

I can reproduce this.

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571250

I'm attaching a dia example file and the contents of the resulting window as png.

Thanks for considering.

bye,
  Roland
Comment 1 Roland Stigge 2010-06-21 19:40:01 UTC
Created attachment 164242 [details]
The window contents
Comment 3 Hans Breuer 2011-12-17 15:59:53 UTC
Cherry-picked to dia-0-97 branch.