Bug 140870 - unclickable use case diagram
Summary: unclickable use case diagram
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
: 140871 143759 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-30 04:22 UTC by SasQ
Modified: 2007-04-04 15:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SasQ 2007-01-30 04:22:23 UTC
Version:           1.5.5 (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.3.5-20050130 Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1
OS:                Linux

The diagram appears on the tree-view, but is "not working".

* How to reproduce:
1. File -> New.
2. Right-click on Use Case Perspective and choose New -> Use Case Diagram.
   The diagram appears on the tree-view, and the toolbar changes.
3. Choose actor tool from the toolbar and try to put new actor on the diagram.
   It's not working! Even the mouse pointer doesn't change to actor tool icon!
4. Click on Class Diagram. The toolbar will change to Class toolbar.
5. Click again on previously created Use Case Diagram.
   The toolbar will change back to Use Case toolbar and now it's possible to
   put new actors and other stuff on the diagram.

* Expected behaviour:
It should be possible to place new actors on newly created Use Case Diagram from the beginning, without having to click on other diagrams first.
Comment 1 Oliver Kellogg 2007-01-30 07:56:14 UTC
*** Bug 140871 has been marked as a duplicate of this bug. ***
Comment 2 Oliver Kellogg 2007-02-06 21:30:27 UTC
SVN commit 630936 by okellogg:

addView(): Fix error introduced by commit 577629.
http://sourceforge.net/mailarchive/forum.php?thread_id=31583721&forum_id=460
CCMAIL:plegal@appert44.org
BUG:140870


 M  +3 -1      ChangeLog  
 M  +2 -7      umbrello/umldoc.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #630935:630936
@@ -1,7 +1,9 @@
 Version 1.5.61
 
-* Fixed crash on anchoring note to diagram object
+* Bugs fixed from http://bugs.kde.org:
+* Fixed crash on creating various types of associations (140693, 141073, 141106, 141277)
   http://sourceforge.net/mailarchive/forum.php?thread_id=31539549&forum_id=460
+* Unclickable use case diagram (140870)
 
 Version 1.5.6
 
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umldoc.cpp #630935:630936
@@ -147,15 +147,10 @@
     if ( pApp->getListView() )
         connect(this, SIGNAL(sigObjectRemoved(UMLObject *)), view, SLOT(slotObjectRemoved(UMLObject *)));
 
-    UMLView * previousView = pApp->getCurrentView();
     pApp->setCurrentView(view);
     if ( ! m_bLoading ) {
-        if (previousView == NULL) {
-            view -> show();
-            emit sigDiagramChanged(view ->getType());
-        } else {
-            view -> hide();
-        }
+        view -> show();
+        emit sigDiagramChanged(view ->getType());
     }
 
     Settings::OptionState optionState = Settings::getOptionState();
Comment 3 Oliver Kellogg 2007-04-04 15:36:04 UTC
*** Bug 143759 has been marked as a duplicate of this bug. ***