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 52524 - Scroll bar disappearing
Summary: Scroll bar disappearing
Status: RESOLVED DUPLICATE of bug 58200
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-15 21:04 UTC by petervc
Modified: 2005-11-03 10:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot of the problem (149.15 KB, image/jpeg)
2004-12-16 16:50 UTC, petervc
Details
Screen shot showing horizontal scrollbar (131.18 KB, image/jpeg)
2004-12-16 16:56 UTC, petervc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description petervc 2004-12-15 21:04:09 UTC
1) Open the "Project Properties" dialog.
2) Click on "Compiling Sources.
3) Add enough (in number and path length) 
entries that would cause both a horizontal and 
vertical scroll bar to be displayed.

The horizontal scroll bar will not show if there 
is a vertical scroll bar.
Comment 1 Milan Kubec 2004-12-16 08:07:46 UTC
Not sure if it's projects issue or java/project one.
Comment 2 Petr Hrebejk 2004-12-16 09:32:17 UTC
OK Just tried on J2SE project and did not repoduce it. If it was meant
for another project type. Please reopen and reassign.
Comment 3 petervc 2004-12-16 16:50:30 UTC
Created attachment 19340 [details]
Screen shot of the problem
Comment 4 petervc 2004-12-16 16:56:22 UTC
Created attachment 19341 [details]
Screen shot showing horizontal scrollbar
Comment 5 Jesse Glick 2004-12-16 17:31:43 UTC
This is a web project. Reporter, next time please provide adequate
instructions to reproduce a problem.
Comment 6 petervc 2004-12-16 18:09:20 UTC
Oops.  My appologies.
Comment 7 zikmund 2004-12-17 08:42:09 UTC
I think it's as designed. Tooltip shows full path. I don't think we
are able to show scrollbar and ensure that the checkboxes will be
visible too.
Comment 8 Pavel Buzek 2005-01-29 14:04:18 UTC
I do not agree this is OK, we should figure out how to add the scroll
bar. Maybe put the checkbox to the left or something.
Jano, please advice and reassign to rnajman (or me) to fix.
Thanks.
Comment 9 jrojcek 2005-03-02 13:42:37 UTC
This is a limitation of table component that is used.

We can move the deploy column to the left and make the horizontal scroll bar visible 
(which would require the table columns to stretch according to the widest value in the 
column). This might work in this case but not for other cases where we use the table 
component (like the source/test packages lists). Because important columns might be 
hidden due to the horizontal scrolling.

Another option is to use our treetable component which allows the horizontal scrolling of 
the tree column (or list column). The way it is used in debugger. I don't think this is the 
right approach in a dialog.

In general, if we use the table component all columns can have the "space problem". I 
think the right solution for this problem would be to abbreviate the values in a different 
way and provide a common place where the selected value appears fully visible. Something 
like:

The full path:
"/home/user/projects/myproject/lib/mylib.jar"
would be abbreviated to:
/home/user/.../lib/mylib.jar"
and would be fully visible in the status line if it is selected. Other products use the status 
line for showing detailed information for selected objects and if this is used consistently 
the user would learn to look at it if needs more information.

For 4.1, I would keep this issue open.
Comment 10 jrojcek 2005-10-13 17:52:26 UTC
Reassigning to web team for evaluating if the proposal in the previous comment can be implemented.
Comment 11 Radko Najman 2005-11-03 10:33:55 UTC
This issue has been already fixed by issue #58200. There is a possibily to
resize column width and if the width is bigger than table width, horizontal
scrollbar will appear.

*** This issue has been marked as a duplicate of 58200 ***