Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332129

Summary: Need API to cancel save operations
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: critical    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Remy Suen CLA 2010-12-08 08:55:48 EST
1. File > New > Untitled Text File
2. Make it dirty.
3. Repeat steps 1 and 2.
4. File > Exit
5. You will be prompted to save, click 'OK'.
6. Now you will be prompted to save the untitled text files as a file. Click 'Cancel'.
7. Another dialog prompts up (for the second file). This is wrong because the operation should have been overridden. Click 'Cancel' for this too.
8. Now the workbench shuts down, leading to data loss.
Comment 1 Remy Suen CLA 2010-12-09 10:42:22 EST
In 3.x, it was possible to cancel save operations by submitting a cancel request to the provided progress monitor. You could arguably do the same in 4.x but we're not currently checking that.
Comment 2 Eclipse Genie CLA 2019-04-26 04:51:17 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Lars Vogel CLA 2019-06-05 07:45:04 EDT
This is a mass change to close all e4 bugs marked with "stalebug" whiteboard.

If this bug is still valid, please reopen and remove the "stalebug" keyword.