Community
Participate
Working Groups
Open two java files in the IDE and make sure you have the outline view visible. Click on the first editor tab (tab nearest to the left). The outline will show the correct information about that class. Now close the IDE and reopen it. Notice that the second editor tab is highlighted, but the outline is showing information from the first editor. This condition shouldn't happen so either the wrong tab was highlighted or the wrong editor was activated.
Problem with restoring workbench state from workbench.xml? Moving to Platform/UI for comment/redirection.
It looks very much like something happened to your workbench.xml file and Eclipse was unable to restore your state on startup. What happened when you shutdown just previous to this startup? Is there anything in your .log file? Did you experience any crashes? Do you have any non-standard plugins in your environment? Which version (exactly) of Eclipse are you using? Are you using 'Release Build: 2.1"?
I didn't get any errors shutting down or starting up. Actually you can hardly notice the problem unless you have the peripheral views like outline up. Then you will see that they are reffering to the editor which had focus on shutdown although the phsysically last tab is highlighted. It should be relatively easy to duplicate using my original description. Are you having trouble duplicating it? My exact build info is: Version: 2.1.0 Build id: 200303272130
Yes, I am having trouble duplicating this. What was in the .log file?
Yes, I see there was one more thing I did that you need to do to duplicate the problem. You also have to have the Navigator view highlight the file associated with the second editor (last physical tab) before closing down, but have the first tab selected. Then when reopening it seems to somehow force the tab selection to that same last file although the other views think the first file is active.
Also nothing is in the .log file, so it is apparently not an exception causing the behaviour.
Have been able to reproduce this with release build 2.1 using the following steps: - Java perspective - open 2 java files (in my case UIPlugin.java and MyUIPlugin.java) - have Navigator view up instead of Package Explorer - select 'Link With Editor' in Navigator view (so when you change editors, it updates the Navigator view) - select editor tab for UIPlugin.java (1st java file) - de-select 'Link With Editor' (UIPlugin is highlighted in Navigator) - select editor tab for MyUIPlugin.java (2nd editor tab) - Outline view shows MyUIPlugin, active editor is MyUIPlugin bug Navigator has UIPlugin highlighted - shutdow Eclipse - restart Eclipse - Outline view shows MyUIPlugin (same as before), active editor is UIPlugin (different), and Navigator has UIPlugin highlighted (same as before) Note, this is appears to be fixed in Release Candidate 1 for stream 2.1.1