Bug 486073

Summary: Non-restorable views are restored after terminating application
Product: [Eclipse Project] Platform Reporter: Ben Steffensmeier <Benjamin.P.Steffensmeier>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: gautier.desaintmartinlacaze, rolf.theunissen
Version: 4.5.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug
Bug Depends on:    
Bug Blocks: 549902    

Description Ben Steffensmeier CLA 2016-01-18 18:08:47 EST
To Reproduce:
1) Open a view with an extension that defines its 'restorable' attribute as 'false'
2) Leave the view open for as long as the "Workbench Save interval", 5 minutes by default
3) Terminate the application. Do not close normally, the application must be abnormally terminated. If it is run from eclipse because you can use the terminate button. You can get the same problem if the application crashes or by using the OS specific tools to force quit the application.
4) Restart the application

The expected result is that the non-restorable view should not be restored. 

Similar bugs have been reported before but this seems to have resurfaced because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=2369. The background workbench save job will not remove non-restorable views when it writes the workbench.xmi file. During a normal close operation the file is rewritten with the views removed but in the case where the application is terminated the background save file will be used resulting in the views being restored.
Comment 1 Eclipse Genie CLA 2021-07-30 05:59:15 EDT
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.