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 154541 - Incorrect column resize behavior in classpath editor
Summary: Incorrect column resize behavior in classpath editor
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-03 23:45 UTC by trcorbin
Modified: 2016-07-07 07:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
My project properties window after I've selected the Libraries tab. Notice how hard it is to read the jar files listed. (87.07 KB, image/png)
2008-12-05 00:26 UTC, trcorbin
Details
The project properties dialog after I've resized the window and moved the divider between Name and Package. (100.30 KB, image/png)
2008-12-05 00:27 UTC, trcorbin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description trcorbin 2008-12-03 23:45:44 UTC
When I end up adding a number of jar files to a project it's always annoying that the project properties window doesn't
remember it's size and position.   Because I sent the font size to be larger than the default, I have to expand the
window quite a bit to be able to use it, especially when working with the Libraries tab.   Also, it would be nice if the
window remembered what tab I was working with last.

I have to go through these steps every time:

1. Open the project properties window.
2. Expand the window to the left and right.
3. Select the Libraries tab.
4. Move the divider between the library Name and Package columns to the right so that I can see the name of the jar
files that are already there.

It would be nice if I didn't have to do anything but open the project properties window the 2nd, 3rd... 8th, 9th time
and steps 2-4 were already done for me because the window remembered the state from the 1st time I did it.
Comment 1 trcorbin 2008-12-05 00:26:05 UTC
Created attachment 74562 [details]
My project properties window after I've selected the Libraries tab.  Notice how hard it is to read the jar files listed.
Comment 2 trcorbin 2008-12-05 00:27:32 UTC
Created attachment 74563 [details]
The project properties dialog after I've resized the window and moved the divider between Name and Package.
Comment 3 trcorbin 2008-12-05 00:28:23 UTC
Note that these are with the gtk look and feel, but it's been a continuing problem, even with ocean and a large font.
Comment 4 _ wadechandler 2008-12-19 01:06:42 UTC
Just an FYI to anyone who might attempt a fix. Please see:
http://www.netbeans.org/issues/show_bug.cgi?id=88174
http://www.netbeans.org/issues/show_bug.cgi?id=88175

Issue 88175 especially. There are some details about an issue with trying to set the column sizes to fit the screen.
Some Swing issue seemed to make that way too difficult to tell it to automatically do that...had to code the behavior.
One, you can set it to autosize, but then what happens is that you get no horizontal scrollbars if you have long path
names, and that makes it hard to deal with as you get a bunch of ... on the end of the names, so you can't always tell
what libraries you are using in a project, so autosize is bad for that (was bad for it). You can see the patches
comments or the source code for the reason etc.

That is very hard to deal with in a larger project. Anyways, I saw where Thomas wrote to NB users about this issue and
remembered having giving this a whirl at the start of 2007. If persistence were used on the column sizes after the
initial open and close, and those values written when the dialog is closed to the user directory, maybe on a project by
project basis even, with a shutdown hook for timely cleanup if resources go unused, then that would certainly solve the
problem I believe. I wanted to make sure nobody added the autosize back however as that is worse than the current situation.

I may try to give a fix a whirl for this issue at some point. I'll add myself to the CC so I can find it easier, and tag
it for a possible future patch from me @wadechandlerpatch (helps me find it easier in the context of something I may be
able to patch).
Comment 5 Jesse Glick 2010-05-13 14:37:00 UTC
Incorrect column resize behavior in classpath editor.
Comment 6 Jesse Glick 2010-05-13 14:37:17 UTC
More helpful summary.
Comment 7 Martin Balin 2016-07-07 07:18:29 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