Bug 120455

Summary: fork/join symbol appears as a black box
Product: [Applications] umbrello Reporter: gabriele monfardini <gabrimonfa>
Component: generalAssignee: Oliver Kellogg <okellogg>
Status: RESOLVED FIXED    
Severity: normal CC: kap4020
Priority: NOR    
Version: 1.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Examples of bugs

Description gabriele monfardini 2006-01-19 14:24:50 UTC
Version:           1.5 (using KDE KDE 3.5.0)
Installed from:    Ubuntu Packages
Compiler:          gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) 
OS:                Linux

In state diagrams fork/join symbol appears as a black box. However it is yet possible to connect them with the states. Occasionally trying to move the black box has crashed Umbrello but it happens only sometime, while in most cases the behaviour is as expected.
No complex diagrams have been built, I'm new to the program, I've been only trying some diagrams.

Moreover also thick lines in activity diagrams (I don't know the english name because I've the italian translated version) appears as black boxes. Apparently the behaviour is regular as I can connect them, select them, move them.

I've installed Umbrello with KDE 3.5 on Kubuntu distribution. (4:3.5.0-0ubuntu0breezy1)
Comment 1 Oliver Kellogg 2006-01-19 22:07:51 UTC
I can't confirm this, although I do remember having seen such
during development of the ForkJoinWidget class.
Could you attach an XMI file for which this happens?
Comment 2 kaplun 2006-02-15 16:05:56 UTC
Created attachment 14708 [details]
Examples of bugs

Hi. This happens to me, too with umbrello 1.5(.1). Here is an example with the
bugs both in the activity diagram and state diagram
Comment 3 Alexander Stein 2006-03-06 22:32:53 UTC
Hi. Yes, this also happens to me (umbrello 3.5.1). I noticed it myself and saw this bug here. The emaple of bugs also shows me black boxes.
Comment 4 Oliver Kellogg 2006-03-07 22:53:00 UTC
Strange... I tried again and this time round it flew right in my face.
So, this one's on me :)
Comment 5 Oliver Kellogg 2006-03-07 23:22:53 UTC
SVN commit 516638 by okellogg:

updateComponentSize(): Force call to setSize() in the wt_ForkJoin case.
BUG:120455


 M  +1 -0      ChangeLog  
 M  +1 -1      umbrello/umlwidget.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #516637:516638
@@ -11,6 +11,7 @@
 * Documentation for association roles not saved (105661)
 * Default data types not added for old Java generator (115991)
 * Custom operations in sequence diagrams become class operations (120337)
+* Fork/join symbol appears as a black box (120455)
 * Multiplicity labels positioned incorrectly when moving entities (120598)
 * Types of entity's attributes are displayed instead of their names (120742)
 * Unable to delete entity from entity list in "UML Model" frame (120750)
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlwidget.cpp #516637:516638
@@ -1063,7 +1063,7 @@
     const QSize minSize = calculateSize();
     const int w = minSize.width();
     const int h = minSize.height();
-    if (getWidth() >= w && getHeight() >= h)
+    if (m_Type != Uml::wt_ForkJoin && getWidth() >= w && getHeight() >= h)
         return;
     setSize(w, h);
     adjustAssocs( getX(), getY() );  // adjust assoc lines
Comment 6 Oliver Kellogg 2006-03-30 20:51:36 UTC
*** Bug 124588 has been marked as a duplicate of this bug. ***