Bug 318259

Summary: KOrganizer misses the opportunity to restore a closed appointment.
Product: [Applications] korganizer Reporter: Christopher Yeleighton <giecrilj>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: critical    
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.11

Description Christopher Yeleighton 2013-04-12 19:28:28 UTC
When the operator closes the appointment window, the question whether to discard the appointment appears too late and in vain.

Reproducible: Always

Steps to Reproduce:
1. Tell KOrganizer to create a new appointment. 
2. Set appointment title to some value.
3. Tell the window manager to close the appointment window.
4. Tell KOrganizer not to discard the appointment.
Actual Results:  
3. The appointment window disappears.  KOrganizer asks whether to discard the appointment.
4. (Nothing happens.)

Expected Results:  
4. The appointment restored.
Comment 1 Allen Winter 2013-06-08 21:19:36 UTC
Git commit 2a8a21b2dc2c41bfe8aa21bd9455de9057850af5 by Allen Winter.
Committed on 08/06/2013 at 23:17.
Pushed by winterz into branch 'master'.

catch a closeEvent in the IncidenceDialog, detect ifDirty and allow
the user a chance to continue without cancelling.
FIXED-IN: 4.11
REVIEW: 110900

M  +18   -1    incidenceeditor-ng/incidencedialog.cpp
M  +3    -0    incidenceeditor-ng/incidencedialog.h

http://commits.kde.org/kdepim/2a8a21b2dc2c41bfe8aa21bd9455de9057850af5