Non-native FileBrowserComponent not displaying new files


#1

it seems that the non-native FileBrowserComponent does not get the new files that are created in the system.

If I open a "load file browser" in the juce demo and go to a directory, I would expect the file list to be updated if I create (using the osx finder for instance) a new file in that directory, exactly as with the native ones.

Is there something wrong with its DirectoryContentsList scanning process or is that the expected behaviour and I should handle that myself?

 


#2

You'd probably need to call refresh() on the list to make it check - I didn't want it to sit there constantly re-checking the disk while it's open.