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.
The Projects build now uses a new file(object) chooser, which displays all local drives. When a new directory has been created externally outside the IDE (e.g. c:\newfolder), the chooser will not see it, because there is no automatic refresh. Moreover, refresh can not be done manually, because the popup menu on the folder is disabled in dialogs. I suggest the filechooser refreshes all folders that the user expands - this way the user sees all the new folders. This also does not have as disastous effects as the periodic refresh that we had in the past.
It's not defect for me, but a ask for new functionality. Which specification defines correct and excepted behavior to determine DEFECT vs TASK vs. ENHANCEMENT? Moreover, it's not task to wizard's target chooser but to DataFolderEditor. => reassigned to core/property editors. Petr, have in mind that 2nd panel in Template wizard is based on DataFolderEditor.
Ok, I agree we can make this a TASK. I am not sure where in the implementation this should be done, but I strogly feel this should be addressed.
Changing this to enhancement - it's assigned to me, and I'm more likely to see it in the list of things I should work on that way. Also with Projects cancelled, I'm not sure this issue is still relevant: I assume we're talking about DataObjectEditor here? If so, I'd like to postpone any discussion of this until the status of Filesystem Extension is resolved. Basically there are a number of structural and threading related problems in DataObject editor: - The JFileChooser loads the contents of its file list asynchronously - The files it displays are DataObjects, which will often be parsed and identified on their own thread, also asynchronously - The refresh requested would probably also end up being an asynchronous operation, completing at some undetermined time So basically, counting the AWT thread, we'd potentially have four threads running simultaneously all potentially altering the contents of the file chooser. The possibilities for problems are endless...
Passing property editor issues to new owner, Jirka
At least, when right click on a folder or project, there should have "refresh" item to force the NB to check files security setting. Right now, when the project's files change settings, NB does not know. When I close the project and come back, only some of them get refreshed.
tak416 - I think you are talking about something different than what this bug is about - this is specific to a file chooser (which, incidentally, doesn't even exist anymore in any form that resembles what this project is about). If you are having a problem with the IDE not refreshing files (it should whenever the main window regains focus after losing it), please file a new issue. Dafe, does this issue have anything to do with anything anymore?