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 16034 - order of editor tabs not remembered
Summary: order of editor tabs not remembered
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on: 18366
Blocks:
  Show dependency tree
 
Reported: 2001-09-29 20:13 UTC by athompson
Modified: 2008-12-23 09:13 UTC (History)
3 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 athompson 2001-09-29 20:13:56 UTC
1. open more than one file editor.
2. restart ide

tabs restored in an arbitrary order (mostly, but not always, by type, then
sorted alphabetically). this is *not* what you want if one you intend to use
certain files much more often than others. for example, when creating a project
i create 2 text files: notes.txt and tasks.txt. i always want these files at the
beginning. right now they are placed after all java files.

using jdk1.4
Comment 1 Jan Lahoda 2001-09-30 22:41:01 UTC
I think this is problem of core/windowing system. Reassign if I am
wrong.
Could you please give us your build number?
Comment 2 athompson 2001-10-01 00:49:39 UTC
builds 27 sep and 28 sep at least. i believe as 21 sep also, not sure.
Comment 3 Jan Chalupa 2001-11-27 11:52:58 UTC
Target milestone -> 3.3.1.
Comment 4 Jan Chalupa 2001-11-27 11:56:34 UTC
Target milestone -> 3.3.1.
Comment 5 mslama 2001-11-29 10:35:11 UTC
I look at it.
Comment 6 mslama 2001-11-29 11:29:36 UTC
I am not able to reproduce it on JDK 1.4.0-rc1-b87. I put 2 txt files
and 2 java files into directory. I mounted that directory. I opened 2
txt files and 2 java files in Source Editor. Order od tabs is:
notes, tasks, PersistenceManager, PerimeterLayout (first 2 are txt
files, second 2 are java files). After IDE restart order of tabs is
the same as before. I tested my fresh build 200111291154 from branch
release33. You can check last NB 3.3 beta 6 available from web site.
If you find any problem please reopen.

Lukas please verify this. Thanks.



Comment 7 athompson 2001-11-29 16:53:53 UTC
sorry this problem went away a month or 2 ago. lost track of the bug.
Comment 8 Jan Zajicek 2001-12-03 13:25:21 UTC
I am able to reproduce this issue on jdk1.4.0-rc-88, build
#20011300330 (release33). So reopenning.
Comment 9 mslama 2001-12-13 10:42:57 UTC
Fixed. I also checked other components descending from
CloneableTopComponent and all are ok. Jan please verify.

Problem was caused by duplicate instances of
PropertiesCloneableTopComponent (when you open bundle editor in Source
Editor) in window system. => Top components was not sorted during
saving of window system.
Comment 10 Marian Mirilovic 2002-05-29 15:22:18 UTC
verified in [nb_dev](20020529)
Comment 11 Quality Engineering 2003-07-01 16:38:35 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.