Community
Participate
Working Groups
Issue detected in eclipse 4.6 but still present in head of master branch. Branch : Master Commit : 0d9138c769945c3073db163fd43ee92168e4d5bd In org.eclipse.ui.internal.WorbenchPage the method closeAllPerspectives(boolean saveEditors, boolean closePage) is not using the value of the boolean saveEditors when calling closePerspective(IPerspectiveDescriptor desc, String perspectiveId, boolean saveParts). Instead, the method closePerspective is called with false as value for the parameter saveParts. As a result, when closing a perspective on eclipse RCP with a view containing unsaved changes, the user is never prompted to save the view. Hacking the eclipse jar org.eclipse.ui.workbench_3.108.3.v20170216-1539 to behave as described above, it works the expected way (the user is prompted to save dirty views when closing a perspective).
Please provide a test case or sample project.
Please provide a Gerrit patch, ideally with a test case. See https://wiki.eclipse.org/Platform_UI/How_to_Contribute
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.