Community
Participate
Working Groups
This is in our RCP Application, Archi - http://www.archimatetool.com If I have an Editor Part open that is dirty, then split the Editor via Ctrl+_ or Ctrl+{, and then close the Editor Part I see a dialog window, "Save Parts" inviting me to save the Editor Part. As I return false on EditorPart#isSaveOnCloseNeeded() this should not happen. This behaviour is only happening when the Editor is split. Related perhaps to Bug #428664.
This is still happening in 4.12. I wonder if it is related to issues such as Bug #543442 and Bug #550419
Created attachment 279693 [details] Test RCP Project Test RCP Project that demonstrates the problem. Run this from Eclipe 4.12 or 4.13. When you run it there will be one EditorPart open that is marked "dirty" (it's a Browser component in the EditorPart) From the app's "File" menu select "Split" to split the EditorPart. You will be prompted to save the resource even though the Editor Part returns false for EditorPart#isSaveOnCloseNeeded()
New Gerrit change created: https://git.eclipse.org/r/150047
Gerrit change https://git.eclipse.org/r/150047 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=aad67ee35882623e872d82f25ce81f95fad7c0d6
Thanks! Will test soon.
Tested with the commit from Gerrit on Windows 10 and I can confirm the fix works. Thanks!
This caused javadoc failure to build. https://download.eclipse.org/eclipse/downloads/drops4/I20190930-1800/compilelogs/platform.doc.isv.javadoc.txt
New Gerrit change created: https://git.eclipse.org/r/150410
Gerrit change https://git.eclipse.org/r/150410 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.common.git/commit/?id=47c7a7d1f76f26a7a048ed3cd1585d5d7bbff809
Should be fixed now.
(In reply to Alexander Kurtakov from comment #10) > Should be fixed now. Thanks.