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 106061 - Double-click on a folder opens a project when I would expect to enter into the folder
Summary: Double-click on a folder opens a project when I would expect to enter into th...
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Directory Chooser (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: UI, USABILITY
: 107974 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-07 21:56 UTC by David Vancouvering
Modified: 2008-12-22 14:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project icon (385 bytes, image/png)
2007-06-13 12:34 UTC, jrojcek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Vancouvering 2007-06-07 21:56:19 UTC
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.
Comment 1 jrojcek 2007-06-11 13:20:39 UTC
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.
Comment 2 David Simonek 2007-06-12 13:43:47 UTC
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.
Comment 3 jrojcek 2007-06-13 12:34:35 UTC
Created attachment 43610 [details]
Project icon
Comment 4 jrojcek 2007-06-13 12:39:28 UTC
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.
Comment 5 David Simonek 2007-06-27 09:45:46 UTC
*** Issue 107974 has been marked as a duplicate of this issue. ***
Comment 6 Adam Sotona 2007-06-27 10:18:17 UTC
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.
Comment 7 David Simonek 2007-06-27 10:52:54 UTC
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.
Comment 8 David Simonek 2007-06-27 11:47:41 UTC
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