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 48049

Summary: Wizard - Source packages folders not fully visible
Product: projects Reporter: zikmund <zikmund>
Component: AntAssignee: David Konecny <dkonecny>
Status: CLOSED FIXED    
Severity: blocker CC: jrojcek
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 42682    

Description zikmund 2004-08-27 09:21:15 UTC
Build 200408262030

1) Invoke wizard of Freeform Java Project
2) On 2nd page set project folder and Location to
distinct folders
3) Go to 4th page "Source Packages Folders"
4) Add a source folder
5) ERROR:
If the folder name is too long, the folder path is
not fully visible -- there is missing vertical
scrollbar and/or tooltip on the folder with full path.
Comment 1 Jesse Glick 2004-08-27 21:38:30 UTC
True, should set a tooltip on the entry, I suppose.

To reproduce:

mkdir -p
/tmp/48049/ahfgakjhdsfajkhsd/adsjfhgdfkjhgskdjfhae/zcxgadsjkhfgaksjdhfgaskdf/asdfjhgsadkfhgads

Edit
/tmp/48049/ahfgakjhdsfajkhsd/adsjfhgdfkjhgskdjfhae/zcxgadsjkhfgaksjdhfgaskdf/asdfjhgsadkfhgads/build.xml
to contain

<project default="x"/>

Make new freeform project. Set source dir to /tmp/48049/[etc]. Set
project dir to /tmp/48049test. On source roots panel, add
/tmp/48049/[etc]. File path is too long to see in list (and shows
start, not end, of path, which is also less useful). Can only see
remainder by making wizard wider.
Comment 2 David Konecny 2004-09-01 15:00:00 UTC
Horizontal scrollbar will appear in case source package does not fit
on screen. Please test (on other platform then WinXP) that scrollbar
does not appear when not needed. 


Fixed in:
src/org/netbeans/modules/ant/freeform/ui/SourceFoldersPanel.form;
new revision: 1.5; previous revision: 1.4
src/org/netbeans/modules/ant/freeform/ui/SourceFoldersPanel.java;
new revision: 1.21; previous revision: 1.20
Comment 3 Jesse Glick 2004-09-01 20:51:49 UTC
Looks OK to me on Linux/Ocean.