[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 59774] crash when cutting last diagram left
From:       Jonathan Riddell <jr () jriddell ! org>
Date:       2003-07-05 17:09:51
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=59774     




------- Additional Comments From jr@jriddell.org  2003-07-05 19:09 -------
Two problems, first one (reported by Sebastian) is that it crashes when 
cutting the last diagram in existance.  It tries to delete the widgets from 
the diagram after it has been deleted.  The problem is in UMLApp::slotEditCut, 
the fromview variable is set to true even though it is not from the view that 
we're cutting.  Need to find a better way to set fromview.  I've made a 
temporary fix in the mean time in UMLApp::slotDeleteSelectedWidget(). 
 
The problem Stephen reported occurs when deleteing diagrams that have been 
saved and loaded and which contain associations.  UMLView::removeAllWidgets 
uses queryList("UMLWidget") which in these situations returns a count much 
higher than it should and some of the QObjects it contains causes the program 
to crash as soon as you touch them.  I have no idea what could cause that.  
Everything works fine for diagrams which contain associations but which havn't 
been saved and loaded.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic