| Summary: | [Compatibility] Dirty parts in detached windows will not be saved when resetting a perspective | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Remy Suen <remy.suen> | ||||
| Component: | UI | Assignee: | Remy Suen <remy.suen> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Remy Suen <remy.suen> | ||||
| Severity: | critical | ||||||
| Priority: | P3 | CC: | Mike_Wilson | ||||
| Version: | 1.0 | Flags: | Mike_Wilson:
pmc_approved+
emoffatt: review+ |
||||
| Target Milestone: | 4.1 RC4 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Remy Suen
Created attachment 197896 [details]
WorkbenchPage patch v1
The change here is to move the part saving code to the top of the reset call. We ignore editors inside the shared area and then prompt to save all other parts that are in the current perspective. This could mean that parts that will still be there after the reset are prompted but I believe this to be a minor inconvenience compared to the potential data loss our users will be facing without any changes.
Patch looks OK as long as we test for edges like a single dirty editor in a DW... Post-4.1 release we should take another look at this area; for example is the 'hideLocalPlaceholders' call still necessary? (In reply to comment #1) > Created attachment 197896 [details] > WorkbenchPage patch v1 Patch released to CVS HEAD. |