Bug 486073 - Non-restorable views are restored after terminating application
Summary: Non-restorable views are restored after terminating application
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5.1   Edit
Hardware: PC Linux
: P3 normal with 4 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks: 549902
  Show dependency tree
 
Reported: 2016-01-18 18:08 EST by Ben Steffensmeier CLA
Modified: 2021-07-30 05:59 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.