Bug 84828

Summary: umbrello crashes, becomes unstable freezes in load/save/autosave with large drawing size
Product: [Applications] umbrello Reporter: James McGuigan <james>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description James McGuigan 2004-07-09 20:23:08 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3.3 
OS:                Linux

Start with two classes in a class diagram, they are associated and the association has labeled multiplicities. Occasionally when moving one of these classes (to another point in the drawing) one of the labels on the association (usually the multiplicity label) will start shooting off in a random direction (Though usually towards the bottom right hand corner). This has the side effect of massivly increasing the "grid area" of the diagram (as it can move many screens away into the corner).

The workaround for this is to "Select All" and move all the objects a fraction, this resets all the label positions. It could also be done by just selecting both objects on either end of the association and moving them a fraction (Though its not always clear which association a displaced label is refering to).

Once a massive drawing (in terms of "grid area") has been created as part of the file, it seems to cause several problems such as crashing and becoming unstable. Also the program tends to freezes during load/save/autosave and this can take (upto a few minutes).

This seems to affect the program as long as such a file is loaded, even if its not being directly worked upon. I suffered this problem for quite a long time, before realizing I had two or three very large area class diagrams in the file. It made the program almost unusable.

Having deleted some of these diagrams and fixed the problem in the reming one, the program seems a little more responsive, though as I only noticed this "solution" as I was cleaning up the "final verson" for my project, I havn't used the program that much since so I cannot confirm this 100% solves the problems (but it seems to).

I hope this helps locate the underlying bug thats causing this.
Comment 1 James McGuigan 2004-07-09 20:24:13 UTC
PS. This is umbrello v1.2.1
Comment 2 Oliver Kellogg 2004-07-10 09:22:11 UTC
> PS. This is umbrello v1.2.1

Does this also happen with the current CVS version?
On particular change since 1.2.1 that could have fixed your problem is
described here,
http://sourceforge.net/mailarchive/forum.php?thread_id=5018578&forum_id=472
Comment 3 Sebastian Stein 2004-07-13 22:05:45 UTC
James McGuigan <james@worldfuturecouncil.org> [040710 01:22]:
> Start with two classes in a class diagram, they are associated and the
> association has labeled multiplicities. Occasionally when moving one of
> these classes (to another point in the drawing) one of the labels on the
> association (usually the multiplicity label) will start shooting off in a
> random direction (Though usually towards the bottom right hand corner).
> This has the side effect of massivly increasing the "grid area" of the
> diagram (as it can move many screens away into the corner).

I was able to see the shooting off of the labels. But Umbrello does not get
unstable or even crashes. So if you can not confirm this bug for CVS HEAD as
still crashing, I will change the priority to normal.

Sebastian

Comment 4 Oliver Kellogg 2005-04-14 21:25:08 UTC
Please reopen with a more fitting title.