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

Bug 340520

Summary: [EditorMgmt] Tabs are unpredictable
Product: [Eclipse Project] Platform Reporter: Mark Davis <mark>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3 CC: prakash
Version: 4.1   
Target Milestone: ---   
Hardware: All   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Mark Davis CLA 2011-03-20 14:25:51 EDT
Build Identifier: 20100917-0705

When you open a file that doesn't already have a tab in the editor, which tab disappears is unpredictable. I'd expect it to be the rightmost, or maybe the oldest (either last viewed or last edited), but that does not seem to be the case. In any event, it is quite often exactly the tabs that I am working in, which is frustrating.

Best would be a predictable algorithm, like always the rightmost one. Then I could ensure that the tabs I am working in are on the left.

Reproducible: Always

Steps to Reproduce:
1. Open a bunch of files.
2. Edit and view different ones.
3. Now, look over the tabs and predict which will disappear when you open a new file
4. Open the new files.
5. Your guess is almost always wrong.
Comment 1 Remy Suen CLA 2011-03-21 09:09:16 EDT
I think bug 68684 comment 95 may do what you want.

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