Bug 495985 - Revert will not undo
Summary: Revert will not undo
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.6   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-06-13 07:53 EDT by Chris Smith CLA
Modified: 2016-06-17 08:16 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 Chris Smith CLA 2016-06-13 07:53:31 EDT
The REVERT command is cannot be undone, this can lead to. Lot of work being lost if you accidentally click it prior to saving. Especially as it is right next to the Save All command under the File menu.

There should either be an option to undo the changes or it should pop up a confirmation box in order to continue.
Comment 1 Patrik Suzzi CLA 2016-06-16 04:08:48 EDT
Chris, 
I do not understand which revert you refer. 
Can you make a concrete example ?
Comment 2 Chris Smith CLA 2016-06-16 05:23:04 EDT
Under the "File" menu, there is a "Revert" option right below "Save All".

I am using:

Version: Neon Milestone 3 (4.6.0M3)
Build id: 20151112-1256

If you accidentally hit the Revert option there is no possibility to undo this action, so all work carried out since the last save or commit is lost.
Comment 3 Patrik Suzzi CLA 2016-06-17 05:27:08 EDT
This seems fixed in Neon (4.6) RC4a
Build id: I20160606-1100

See animation: http://i.imgur.com/aRf8SJn.gifv

Please note: 
1. Revert replaces the content of the active editor with the previously saved content. 
2. This is the same as Bug 431507 and related to Bug 152096
Comment 4 Patrik Suzzi CLA 2016-06-17 08:16:30 EDT
Closing as Worksforme in 4.6 

Please, re-open if you think there are things to fix.