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 123894 - Random tab placement in editor
Summary: Random tab placement in editor
Status: RESOLVED DUPLICATE of bug 121218
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-12 17:24 UTC by roger_rf
Modified: 2008-12-22 11:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roger_rf 2007-12-12 17:24:13 UTC
Hi,
In NetBeans 6.0 under WinXP SP2, when you open a new file in the editor, there's no telling where the tab for the newly
opened file will be placed among the previous tabs. Sometimes it will become the first tab, others it will become the
last, which is very confusing. NB 5.5.1 didn't show this inconsistent behavior, as newly opened files were always placed
in the last tab. Cheers,
Roger
Comment 1 Vitezslav Stejskal 2007-12-13 07:30:39 UTC
Yeah, I think this behavior was changed for Nb6. The file should open next to the tab that's currently visible. The idea
was that for browsing sources (eg. goto declaration or ctrl-mouse-click on an identifier) this new behavior would keep
related files together (close to each other). Instead of for example opening the new file always at the end.

I'm not certain about the actual behavior, so passing to openide/text where I think this was implemented for further
evaluation. Thanks
Comment 2 Petr Nejedly 2007-12-13 13:28:34 UTC
Editor didn't change the behavior for normal open. Only for debugger auto-opens, the editor may choose to replace last
such auto-opened tab. If the tab placement for newly opened sources changed, it was windows system change.
Comment 3 Lukas Hasik 2008-02-07 14:50:36 UTC
Stando, you fixed something similar, right?
Comment 4 Stanislav Aubrecht 2008-02-07 14:58:30 UTC
nope, it was about closing tabs...
cc'ing marek:)
Comment 5 Stanislav Aubrecht 2008-02-13 15:18:29 UTC
marek, could it be related to your recent changes in window system?
pls evaluate and pass if it isn't related, thanks
Comment 6 mslama 2008-02-20 17:11:04 UTC

*** This issue has been marked as a duplicate of 121218 ***