Bug 265182 - Umbrello doesn't obey when going back in command history and then crashes
Summary: Umbrello doesn't obey when going back in command history and then crashes
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-02 12:19 UTC by Alvaro Manuel Recio Perez
Modified: 2014-01-04 11:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Manuel Recio Perez 2011-02-02 12:19:17 UTC
Version:           unspecified
OS:                Linux

This report is for two bugs which I think are related.

The first is that when going back in command history, Umbrello asks the user if he really wants to delete a diagram. Despite clicking cancel, Umbrello deletes the diagram.

Then, going forward in command history makes Umbrello crash.

Reproducible: Always

Steps to Reproduce:
1. Open Umbrello.
2. Add a class to the default class diagram.
3. Create a new sequence diagram.
4. Drag the previous class to the sequence diagram.
5. In the "Command history" class click the first item, to go back to the initial state.
6. Umbrello will ask if you really want to delete the sequence diagram.
7. Click cancel. Umbrello *will delete* the diagram anyway (first bug).
8. Click the last item in "Command history". Umbrello will ask for the name of the sequence diagram.
9. Click cancel.

Actual Results:  
Umbrello crashes.

Expected Results:  
Umbrello shouldn't crash and should honor the user clicking cancel.

OS: Linux (x86_64) release 2.6.35-25-generic
Compiler: cc
Umbrello version: 2.6.0