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 208194 - Creating new file in wrong directory (using keyboard)
Summary: Creating new file in wrong directory (using keyboard)
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2012-02-09 12:21 UTC by ludvikroubicek
Modified: 2012-02-14 19:41 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 ludvikroubicek 2012-02-09 12:21:01 UTC
Hello,
this problem regards only to keyboard and projects browser.
When I create new directory within another directory using keyboard only (using menu key instead of right click) and then try to make some file in the directory (still using keyboard only, file type doesn't matter), the directory in New file dialog (Folder item) *is empty (should not be)* and when you don't notice it, the new file will be created in project root directory. The problem is that the Folder dialog item is not prefilled by any value.
When I use mouse right click, the Folder item contains path where the new file will be created, e.g. 'mods\references\0001'.
I have met the problem several times when creating PHP, JS and CSS files.
BR
Ludvik

Ludvik Roubicek
+420608202550
Comment 1 ludvikroubicek 2012-02-13 11:03:45 UTC
It just now happened using rightclick of mouse as well, you can test it this way:

Click on some folder and then rightclick on subdirectory of the folder and choose to make a new file and Folder item of the New file dialog will be *sometimes* empty.

It doesn't depend on any previous step. I have tried to click on directory and then rightclick on it's subdirectory several times without doing anything else - just canceling the New file (PHP, CSS, JS...) dialog and trying again.

BR
Ludvik
Comment 2 Jesse Glick 2012-02-14 19:41:00 UTC
I am afraid I cannot reproduce this.