Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346200 - Revert file after several undo's reverts to the state before Save Actions
Summary: Revert file after several undo's reverts to the state before Save Actions
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 05:27 EDT by Didier Loiseau CLA
Modified: 2019-10-29 01:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Didier Loiseau CLA 2011-05-18 05:27:21 EDT
Build Identifier: 20100617-1415

If you save a file (which runs Save Actions), undo at least twice (the first time reverts the Save Actions, the second one reverts one of your changes) and then use "Revert file", it reverts to the state before Save Actions.

This is probably related to bug 344548.

Reproducible: Always

Steps to Reproduce:
1. Configure Save Actions
2. Perform some modification on a file, and ensure that your changes will trigger some Save Action
3. Save the file
4. Undo twice (as if you which to quickly see the state of your file before your modifications)
5. Trigger File > Revert
6. The file is now reverted to the state before Save Actions, which is probably not what you wanted (and you probably won't notice).
Comment 1 Dani Megert CLA 2011-05-18 06:48:28 EDT
Reproduced in I20110517-0800.

>This is probably related to bug 344548.
Yes.
Comment 2 Eclipse Genie CLA 2019-10-29 01:29:08 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.