Community
Participate
Working Groups
Sometimes, when creating and restoring the Eclipse workbench, a view that resided in a folder of views gets lost during the save/restore cycle. I've checked the memento that is saved by creating an xml memento using IWorkbenchWindowConfigurer.saveState() and the view doesn't get listed in the list of views under the <info folder="..." part=".." ...> element. The view does show up under <perspective activePart="viewName"...> though. To reproduce this, I created a simple perspective with just two views side by side, dragged the left view to the right of the second view in tabbed formation, closed the workbench and restored the workbench. (I also called saveState to get a memento for debugging).
Created attachment 46008 [details] This is the output of saveState(IMemento memento) The name of the view that goes missing is com.ibm.notes.samples.custombuddylistcomponent.CustomBuddyListId:5_G0Q03FH208HD9026ICQ4AU00D6 It should appear in the same folder as com.ibm.workplace.noteswc.views.NotesViewData:5_G0Q03FH208HD9026ICQ4AU00D3
Investigate for 3.2.1
I think I need help from you with this (hoping that you have a reproducible case). Could you please put a breakpoint at the beginning of PerspectiveHelper.collectViewPanes(List) and step through to see why your view is not added to the result? Thanks.
Boris if you are not planning to address this for 3.2.1 you should remove the tag. The release candidates start next week.
There is no time left to fix this for 3.2.1. Since I haven't heard back yet, I have to move this to 3.3.
Deferring.
Turns out this was due to something I was doing wrong.