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 109518 - New File does not select the new file in Files window
Summary: New File does not select the new file in Files window
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-12 14:57 UTC by matthies
Modified: 2014-05-12 13:10 UTC (History)
0 users

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 matthies 2007-07-12 14:57:00 UTC
After New File, the new file is selected in the Projects window, but not in the Files window.
Found in build 200707111200.
Comment 1 novakm 2007-07-16 11:11:43 UTC
I don't understand what do you mean. Could you describe what you did and what is your expected output, please?
Comment 2 matthies 2007-07-16 13:30:54 UTC
Steps to reproduce:

1. Select "New File..." from the "File" menu, or from a context menu, or press Ctrl+N etc.
2. Select some file type, for example "Java"->"Java class", press "Next", enter a class name and location and 
press "Finish".

Result:

The specified file is created, the treeview in the "Projects" window is expanded if necessary to show the newly created 
file, and it becomes selected (highlighted & has keyboard focus). (This happens regardless of whether the "Project" 
window has focus or not.)

Expected behavior:

In addition to the above, have the treeview in the "Files" window behave like for "Projects", that is expand it to show 
the newly created file if necessary, and make it the selected file. (Regardless of whether the "Files" window has focus 
or not.)
Comment 3 novakm 2007-07-16 14:39:44 UTC
Oh I see now. Reassigning to core for evaluation
Comment 4 mslama 2007-07-25 19:38:49 UTC
Files tab is in projects/ui
Comment 5 Milan Kubec 2007-07-26 08:33:29 UTC
Well, it's rather RFE IMO.
Comment 6 Milan Kubec 2007-08-06 08:40:06 UTC
Changing to enhancement.
Comment 7 Lukas Hasik 2008-04-10 21:41:54 UTC
moving opened issues from TM <= 6.1 to TM=Dev