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.
The UI for the Open Project browser has changed in an unexpected way. Now when I browse through folders, if a given folder is a project folder, double-click opens the project rather than descends into the subdirectory. This is un-intuitive because in all other file browser UIs I have used double-click always means 'go into subfolder.' The overhead is pretty high, because not only do I have to start over, I also have to wait for the project to open, and then close it. I would prefer right-click->Open to open the project, and double-click to descend into the subdirectory.
This is the change that works very well for new users. It would cause problems to existing users who put projects into subfolders of another project. But I would say it's more important that it works well for new users. Therefor I recommend to mark this as WONTFIX. Maybe an idea that would help existing users to realize the behavior has changed: Replace the badged icon for project folder by a special 16x16 project icon that doesn't resemble folder. Ideally this icon would be the same as icon of individual project types, but I assume we probably cannot do that for performance reasons. A general project icon would be fine IMO.
I agree here with Jano, we have to choose between two possibilities - either allow double click to open project, or reserve it just for diving into subfolder. From these possibilities, first is better, as it allows users to open project like in all apps, by doubleclicking. As we now use tree, diving into subfolders is easy enough by clicking on tree expansion arrow. However I agree with icon - please design it for me and attach here to this issue, I'll happily integrate it.
Created attachment 43610 [details] Project icon
I've attached the project icon. Note that the spacing between items in the tree would need to increase by 1 or 2 pixels on Win XP. Otherwise there would be no empty space between the icons. I checked spacing between items in Win Explorer's folder tree and it's 1 pixel bigger than in our dir chooser. Also the spacing in NB file chooser is 2 pixels bigger than in the dir chooser on Win XP.
*** Issue 107974 has been marked as a duplicate of this issue. ***
I think this is an issue (it is even regression) and I don't understant why it is marked as WONTFIX. The usability should be considered from wider perspective. In this case the only one issue was solved and many new appeared.
asotona, please take your time and at least read whole description when you are reopening the bug. this is usability decision, agreed with HIE, and I won't go against it. Please, talk on usability mailing lists if you want to change that decision.
added special icon for nb projects: Checking in DirectoryChooserUI.java; /cvs/core/swing/dirchooser/src/org/netbeans/swing/dirchooser/DirectoryChooserUI.java,v <-- DirectoryChooserUI.java new revision: 1.19; previous revision: 1.18 done Checking in DirectoryNode.java; /cvs/core/swing/dirchooser/src/org/netbeans/swing/dirchooser/DirectoryNode.java,v <-- DirectoryNode.java new revision: 1.3; previous revision: 1.2 done RCS file: /cvs/core/swing/dirchooser/src/org/netbeans/swing/dirchooser/resources/main_project_16.png,v done Checking in resources/main_project_16.png; /cvs/core/swing/dirchooser/src/org/netbeans/swing/dirchooser/resources/main_project_16.png,v <-- main_project_16.png initial revision: 1.1 done