Bug 269791 - [EditorMgmt] Editor tabs are reordered every time one is closed.
Summary: [EditorMgmt] Editor tabs are reordered every time one is closed.
Status: RESOLVED DUPLICATE of bug 68684
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Boris Bokowski CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-24 04:55 EDT by Jason CLA
Modified: 2009-03-30 09:42 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason CLA 2009-03-24 04:55:19 EDT
Build ID: M20090211-1700

Steps To Reproduce:
1. Open enough documents in the editor such that there are more tabs than can fit.
2. Close some of the tabs by pressing the X on the tab.
3. Note that all tabs except the currently active one are randomly reordered each time a tab is closed.

Expected behavior is for tabs to not reorder. They should behave, for example, like Firefox tabs. Closing one tab should simply remove it from the tab sequence. The current system is frustrating and disorienting.

For an especially frustrating experience:

Open approximately 20 documents. Then pick 3 of the visible tabs in the editor. Challenge: Close the other 17 documents.

It's not pretty, and certainly not as simple as it sounds.
Comment 1 Remy Suen CLA 2009-03-24 13:40:27 EDT
From a simple snippet, this doesn't appear to be an SWT problem.
Comment 2 Boris Bokowski CLA 2009-03-30 09:42:13 EDT
This is caused by the infamous MRU logic which drives me nuts as well, but realistically, will not be changed in the 3.x stream. See bug 68684 comment 67 for a potential workaround.

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