[
https://issues.apache.org/jira/browse/PIVOT-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048586#comment-13048586
]
Yawning Angel commented on PIVOT-756:
-------------------------------------
That's odd, the sample does call close() before spawning a new sheet, sorry for
the confusion with the shoddy sample, I couldn't think of a clever way to
demonstrate odd behavior quickly since there doesn't appear to be a way for a
application to pull out the directory listing contents.
I take it there won't be any problems if I included a corrected copy of
TerraFileBrowserSkin, and call Theme.getTheme().set() in my app's startup
method? I could just ship a corrected JAR, but I'm somewhat hesitant to do
that for logistical reasons.
> FileBrowserSheet displays incorrect directory listing.
> ------------------------------------------------------
>
> Key: PIVOT-756
> URL: https://issues.apache.org/jira/browse/PIVOT-756
> Project: Pivot
> Issue Type: Bug
> Components: wtk-terra
> Affects Versions: 2.0
> Environment: Windows 7 Professional, Sun JRE 1.6.0_25
> Reporter: Yawning Angel
> Fix For: 2.0.1
>
> Attachments: FileBrowserSheet.png, FileBrowserSheetTest.java
>
>
> I've ran into intermittent issues with FileBrowserSheet displaying a
> incorrect directory listing.
> The symptoms that I see are:
> * The file list includes files/directories from user.home (despite
> setRootDirectory(somewhereElse) being called prior to the open().)
> * The file list has duplicate entries.
> It's reproducible with a short test case on my system, so I highly doubt that
> it's a issue with my application code.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira