This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 44144 - closing an editor tab activates non-recent window
Summary: closing an editor tab activates non-recent window
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: jrojcek
URL:
Keywords:
: 55043 75589 (view as bug list)
Depends on:
Blocks: 50354
  Show dependency tree
 
Reported: 2004-06-02 09:40 UTC by mno
Modified: 2009-09-03 18:11 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mno 2004-06-02 09:40:48 UTC
After I close an editor tab i expect that the 
most recently used tab will become active. At 
the moment I see that the next tab will become 
active. It is quite annoying to me.
Comment 1 Milos Kleint 2004-06-21 14:08:56 UTC
The UI spec doesn't elaborate on behaviour when closing tabs (at least
I could not find it, it discusses only opening.

http://ui.netbeans.org/docs/ui/ws/ws_spec.html#3.6

reassigning to HIE for evaluation and decision.
Comment 2 _ tboudreau 2004-07-27 18:41:33 UTC
Consider also the case where you close a tab that is not the selected one - I suggest you 
restrict this case to when the user closes the window that is the selected one.  For the 
other cases, the current behavior is correct.
Comment 3 Marian Mirilovic 2006-08-17 07:50:41 UTC
*** Issue 75589 has been marked as a duplicate of this issue. ***
Comment 4 Marian Mirilovic 2006-08-17 07:56:48 UTC
*** Issue 55043 has been marked as a duplicate of this issue. ***
Comment 5 Jesse Glick 2009-09-03 18:11:34 UTC
NB has worked this way for some years now.

IMHO the previous close behavior was correct, it was the open behavior which was wrong: new tabs should be opened next
to the currently selected tab, rather than at the end as is currently done. In other words, the visible order of tabs
would more or less mirror their history, and no focus history need be kept. Firefox can be configured to behave this way
and it is useful. Ultimately there is not going to be universal agreement on any particular policy, of course.