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 15937 - Field/method nodes are not resorted after renaming some of them
Summary: Field/method nodes are not resorted after renaming some of them
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-26 16:03 UTC by Petr Slegr
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 Petr Slegr 2001-09-26 16:03:38 UTC
[dev-200109250100]

Field/method nodes are not resorted after renaming some of them.

1. Let have fields named a, b, c. Their nodes are sorted alfabet. in Explorer.
2. Rename e.g. "b" to "u" (from explorer or editor)
Nodes will stay un-resorted.

Note: there was more general bug in openide (e.g. in Pilsen) that this bug also 
applied for renaming of packages etc.
Comment 1 Jan Becicka 2001-09-26 16:14:19 UTC
I think, that this is not P2 bug. No data loss or functionality 
constraint.
Comment 2 Svata Dedic 2001-09-26 16:16:34 UTC
What primary functionality is broken in order to qualify the bug as P-2 ?
Comment 3 Jan Becicka 2001-09-26 16:22:14 UTC
I think, that member's nodes should be sorted in same way, as they 
appear in source code, not in alphabetical order.
Comment 4 Petr Slegr 2001-09-26 16:39:35 UTC
Ad 1 and 2:
I chose P2 because priority means also how quickly I is fix wanted. 
IMO this is VERY visible STUPID bug and its fix is relative simple.

Ad 3:
I agree with you, Honza, that user could want textual order of 
elements. But better way is possibility for switching between various 
orders.

Now the order is evidently alphabetical. So it should be kept also 
after renaming.
Comment 5 Svata Dedic 2001-09-26 17:42:10 UTC
Oh well. Let's sort them. You'll loose focus/selection on the node. 
If unhappy, file a bug against explorer (reselect node after rename).
Fixed in trunk.
Comment 6 Petr Slegr 2001-09-27 11:41:08 UTC
Issue filed against openide/explorer:
http://www.netbeans.org/issues/show_bug.cgi?id=15971
Comment 7 Petr Slegr 2001-09-27 11:42:50 UTC
Fixed in [dev-20010927]. Thanx Svata
Comment 8 Quality Engineering 2003-07-01 13:15:10 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.