Community
Participate
Working Groups
1. Open an editor. 2. Detach it. 3. Make it dirty. 4. Window > Reset Perspective > OK 5. No prompt is made for the dirty editor resulting in data loss. Broken as of v1.178 of WorkbenchPage for the fix to bug 341010.
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.