Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345050

Summary: [Workbench] Durable folder flag is not remembered
Product: [Eclipse Project] Platform Reporter: Marco Maccaferri <macca>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact: Paul Webster <pwebster>
Severity: major    
Priority: P3 CC: prakash, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch none

Description Marco Maccaferri CLA 2011-05-07 04:07:50 EDT
Build Identifier: 3.7M7-201104280848

The return state from WorkbenchWindowAdvisor.isDurableFolder is not remembered across sessions. It works well, the folder remains visible when all its childrens are closed, when the perspective is reset, but it doesn't work anymore when the application is restarted. Looks like the status is never checked after the initial perspective setup nor it is saved or restored from the workbench persisted settings.


Reproducible: Always

Steps to Reproduce:
1. Return true from WorkbenchWindowAdvisor.isDurableFolder
2. Reset perspective
3. Exit and restart the application
Comment 1 Marco Maccaferri CLA 2011-05-13 05:09:24 EDT
Created attachment 195567 [details]
Patch

Patch to save and restore durable flag and view stack state.
Comment 2 Marco Maccaferri CLA 2011-10-11 17:00:20 EDT
Seems that this bug was fixed in Eclipse 3.8M2. WorkbenchWindowAdvisor.isDurableFolder is called when the perspective is restored so no need to save the state.
Can anyone confirm ?
Comment 3 Remy Suen CLA 2011-10-11 17:25:43 EDT
Marco, I believe this is the same bug as bug 355750?
Comment 4 Marco Maccaferri CLA 2011-10-11 18:08:22 EDT
Yes, the bug is the same.
Comment 5 Remy Suen CLA 2011-10-11 18:20:32 EDT

*** This bug has been marked as a duplicate of bug 355750 ***