Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332129 - Need API to cancel save operations
Summary: Need API to cancel save operations
Status: RESOLVED WORKSFORME
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-08 08:55 EST by Remy Suen CLA
Modified: 2019-06-05 07:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.