[umbrello] [Bug 371990] Crash when removing pin widgets after owning component has been removed before

Ralf Habacker bugzilla_noreply at kde.org
Tue Nov 15 00:49:00 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=371990

--- Comment #13 from Ralf Habacker <ralf.habacker at freenet.de> ---
Comment on attachment 102196
  --> https://bugs.kde.org/attachment.cgi?id=102196
Turn PinPortBase into child item

I checked if this it works using the following use cases: 
1. Add component diagram
2. Add component
3. add two pins
4. save file
5. load file -> okay 
6. delete second pin
7. delete first pin
8. undo both delete -> okay
9 set different color for component and each pin
10. save and reload -> okay

Looks good :-) 

11. delete second ping
12. delete component
13. undo component delete
14. undo -> regardless of number of undo the first pin is not restored and need
to be readded manual (may be a different bug)

Running after creating a new file
1. Add component diagram
2. Add component
3. add two pins
4. delete second ping
5. delete component
6. undo component delete
7. repeated undo -> I get Q_ASSERT in CmdBaseWidgetCommand::widget()

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list