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 63374 - Documents dialog should preselect node corresponding to active editor window
Summary: Documents dialog should preselect node corresponding to active editor window
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-08-30 22:39 UTC by Jesse Glick
Modified: 2008-12-22 22:36 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 Jesse Glick 2005-08-30 22:39:47 UTC
If you have an editor window selected, you would expect the Documents dialog
(S-F4) to select the corresponding node in its list, but it always selects the
first item. This makes it take longer to get a full file path for the current
file in the clipboard by pressing

S-F4 A-P C-A C-C

Also, a minor thing: the list of windows usually corresponds to the order in
which they are open in the editor. But if you reorder editor tabs using D&D, it
keeps the old order.
Comment 1 Stanislav Aubrecht 2005-12-01 13:17:18 UTC
fixed
(files in the documents window are sorted alphabeticaly)

Checking in DocumentsDlg.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/DocumentsDlg.java,v  <--
 DocumentsDlg.java
new revision: 1.20; previous revision: 1.19
done
Comment 2 Tomas Bilka 2006-02-17 13:47:06 UTC
verified in 6.0 200602161900 (jdk1.6.0-b59)