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 183738 - New platform file chooser broken after first use
Summary: New platform file chooser broken after first use
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Directory Chooser (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-08 21:46 UTC by _ tboudreau
Modified: 2010-04-14 04:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch (5.69 KB, patch)
2010-04-13 14:53 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2010-04-08 21:46:38 UTC
Start NB on a clean userdir (I am doing this with javacard.kit installed, but it probably does not matter).

Install a Java Platform - you don't need to finish the wizard, just browse in the file chooser a little.  If you have trouble reproducing this, try adding a Java Card platform first.

Close the platform wizard.

Now click Add Platform again.  On the file chooser page, there is a file chooser but it is always empty.  You can navigate directories, and browse the folder combo box, but the files view never shows anything.  Happens with Java or Java Card platforms.  Does not work until a restart.

I'm guessing something goes wrong with the custom FileSystemView that badges potential platforms?
Comment 1 Tomas Zezula 2010-04-13 14:53:12 UTC
Created attachment 97217 [details]
Patch
Comment 2 Tomas Zezula 2010-04-13 14:54:23 UTC
Reassigning to o.n.swing.dirchooser
Comment 3 David Simonek 2010-04-13 15:28:48 UTC
Changeset: ccebea3c2bca
Author:    Dafe Simonek <dsimonek@netbeans.org>
Date:      2010-04-13 17:29
Message:   #183738: UpdateWorker rewritten tobe static and use RP for queuing, so there is no need to detect closing of dialog or wizard, which is fragile
Issue #183738 - New platform file chooser broken after first use
Comment 4 David Simonek 2010-04-13 15:33:25 UTC
Thanx Tomas for cooperation, I reproduced on my Ubuntu and confirmed we've fixed this.
Comment 5 Quality Engineering 2010-04-14 04:40:57 UTC
Integrated into 'main-golden', will be available in build *201004140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ccebea3c2bca
User: Dafe Simonek <dsimonek@netbeans.org>
Log: #183738: UpdateWorker rewritten tobe static and use RP for queuing, so there is no need to detect closing of dialog or wizard, which is fragile
Issue #183738 - New platform file chooser broken after first use