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 65479 - Group classpath entries for libraries in a tree beneath the library names in the Libraries panel of Library Manager
Summary: Group classpath entries for libraries in a tree beneath the library names in ...
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-09-30 06:31 UTC by nikos_kyprianou
Modified: 2016-07-07 08:38 UTC (History)
2 users (show)

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 nikos_kyprianou 2005-09-30 06:31:44 UTC
Taking Tools -> Library Manager -> Class Libraries -> JAX-RPC 1.6 as an example:

Users are just not comfortable scrolling horizontally. However, the way we
present our data forces them to do so.

What is the important information in this frame? It is the paths to the jar files.
Can the users take in this information effortlessly? No, they must scroll.

As an alternative I propose that information such as in the example above is
displayed in another model. 

For example the path (directories) could be the root of a tree (default
expanded) with the jar files being the children. No immediate need for multiple
levels of nesting, ie
/a/b/c/1.jar
/a/b/c/2.jar
/a/1.jar

could be flattened/displayed as
/a
  1.jar
/a/b/c
  1.jar
  2.jar

Obviously this 'tree' idea could be implemented with a list/table.

This would some additional issues for the developers, as certain actions would
have to be disabled when the root is being selected. However it could also be an
opportunity to add more functionality into the ide, eg in the case above Remove
(or some other new button) could be used to remove all jar files under a directory
Comment 1 Jesse Glick 2005-10-04 00:12:00 UTC
Probably better fixed by reducing the cases where the classpath items are not
all displayed at once, e.g. by making the right pane larger relative to the
left. Or, perhaps best, display simple JAR names in the list, and add a r/o text
field beneath them showing the complete path for reference.
Comment 2 Tomas Zezula 2005-10-04 10:21:37 UTC
Showing only simple names and add an tooltip with the complete path sounds good.
Jano, should we change it?
Comment 3 Jesse Glick 2005-10-04 17:15:08 UTC
FWIW I recommend a r/o text field over a tooltip because

- works with KB (tooltips generally don't, or it's too hard)

- you can take your time looking at the path; no need to move mouse again after
a couple of seconds

- you can copy & paste the path

- more discoverable
Comment 4 jrojcek 2005-10-10 16:57:19 UTC
I suggest to use a simple list of JARs with folders in parentheses. Parentheses and folder names would 
be in gray color:

1.jar (/a)
1.jar (/a/b/c)
2.jar (/a/b/c)
Comment 5 Martin Balin 2016-07-07 08:38:51 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss