Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345050 - [Workbench] Durable folder flag is not remembered
Summary: [Workbench] Durable folder flag is not remembered
Status: CLOSED DUPLICATE of bug 355750
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Paul Webster CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-07 04:07 EDT by Marco Maccaferri CLA
Modified: 2011-10-11 18:20 EDT (History)
2 users (show)

See Also:


Attachments
Patch (3.58 KB, patch)
2011-05-13 05:09 EDT, Marco Maccaferri CLA
no flags Details | Diff

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