BR: FileChooser:: browseForFileToOpen previewComponent no longer works on Windows

BR: FileChooser:: browseForFileToOpen previewComponent no longer works on Windows

Code: https://github.com/FigBug/juce_bugs/blob/master/FileChoose/Source/MainComponent.cpp

1 Like

I see the windows preview, shouldn’t I see a bug pink rectangle I created:

1 Like

This is a known issue: JUCE6: Problems using native file chooser and FilePreviewComponent

The tl;dr is that we switched to the newer IFileChooser API, which looks a bit more modern and has nice features like the quick access pane and search, but which doesn’t support the hooks API which we used to use for custom preview components.

I should be able to investigate a fix next week.

2 Likes

Ok, that would be great thanks.

I’ve now updated the win32 FileChooser so that it will use the old-style window with hooks support if the user requests a custom preview component, but will use the new-style window otherwise.

3 Likes