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

Bug 460039

Summary: [Perspectives] Reset perspective does not reset File > Save tool item
Product: [Eclipse Project] Platform Reporter: Noopur Gupta <noopur_gupta>
Component: UIAssignee: Andrey Loskutov <loskutov>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, loskutov
Version: 4.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 420956    

Description Noopur Gupta CLA 2015-02-16 11:43:59 EST
- Go to CPD and uncheck File > Save.
- Invoke Reset Perspective...
- "File > Save" does not come back though it is checked in CPD.

This does not work even with the code at commit:
http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=1d3294204c71b0cd1e7e2e831feb2faf6133ec38

However, taking the code up to its parent commit and adding the reset perspective fix "legacyWindow.updateActionSets();" to WorkbenchPage.resetPerspective() makes the issue disappear.

Hence, looks like some other change from the above mentioned commit is causing this.
Comment 1 Andrey Loskutov CLA 2015-02-16 12:17:08 EST
Noopur, can you try if this review fixes this issue too: https://git.eclipse.org/r/#/c/41378/
Comment 2 Andrey Loskutov CLA 2015-02-16 13:48:12 EST
(In reply to Andrey Loskutov from comment #1)
> Noopur, can you try if this review fixes this issue too:
> https://git.eclipse.org/r/#/c/41378/

Yes, it also fixes this issue.

*** This bug has been marked as a duplicate of bug 395601 ***