Community
Participate
Working Groups
- open 2 Resource perspectives - create a .txt file - open it in both perspectives - modify and close it in one - there is no prompt to save - close it in the other - it prompts This seems reasonable on the surface, but can actually be quite confusing. The expectation is that if I close an editor with unsaved changes, it prompts me. People often use this as a shortcut for hitting save: they expect to get prompted. This is especially confusing if the other perspective has its editors hidden. If so, you don't find out about the unsaved changes until you try and exit. While document sharing should work across perspectives, it should still prompt to save when closing an editor with unsaved changes. Also when closing the perspective or window containing it. NOTES:
PRODUCT VERSION: 129
Should still prompt to save even if still open in other perspective.
The fix is to delete the method "isSaveOnCloseNeeded()" from AbstractTextEditor. Kai, do you see any side efect? Can we delete this method?
The fix is not to delete the method but not to call it.
Fixed and released.