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 240260

Summary: Try a Sample Project - the Samples node is scrolled off the bottom of the list in New Project wizard
Product: platform Reporter: swpalmer <swpalmer>
Component: Dialogs&WizardsAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Dialog immediately after choosing "Try a Sample Project"

Description swpalmer 2014-01-11 03:50:36 UTC
The New Project UI is intended to come up with the Samples node expanded and presumably *visible*.

It looks like there may be a race condition with layout of the dialog and scrolling the node to a visible position.
Comment 1 Marian Mirilovic 2014-01-13 11:31:46 UTC
NB version/build number, JDK version ... messages.log file ... exact ssteps to reproduce ... please follow http://wiki.netbeans.org/IssueReportingGuidelines and report the bug again. Thanks in advance.
Comment 2 swpalmer 2014-01-13 16:47:23 UTC
Product Version: NetBeans IDE 8.0 Beta (Build 201401091443)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b63
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b121
System: Mac OS X version 10.9.1 running on x86_64; UTF-8; en_US (nb)

Exact Steps:

1. From the Start page "Learn and Discover" tab, click "Try a Sample Project"

Thats all.

The resulting dialog looks like the attachment I am about to add.
Comment 3 swpalmer 2014-01-13 16:48:31 UTC
Created attachment 143912 [details]
Dialog immediately after choosing "Try a Sample Project"
Comment 4 swpalmer 2014-02-02 03:15:10 UTC
New information from NB Build 201402010001

The "Samples" node is off the bottom the first time I go to that dialog by pressing "Try a Sample Project", but if I press Cancel and then click "Try a Sample Project" again, then the expanded Samples node is shown at the top of the list.
Comment 5 Stanislav Aubrecht 2014-02-05 12:00:52 UTC
core-main ac4f533c2404
Comment 6 Quality Engineering 2014-02-07 02:40:58 UTC
Integrated into 'main-silver', will be available in build *201402070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ac4f533c2404
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #240260 - make sure the selected node is fully visible