BR: FileChooser:: browseForFileToOpen previewComponent no longer works on Windows
Code: https://github.com/FigBug/juce_bugs/blob/master/FileChoose/Source/MainComponent.cpp
BR: FileChooser:: browseForFileToOpen previewComponent no longer works on Windows
Code: https://github.com/FigBug/juce_bugs/blob/master/FileChoose/Source/MainComponent.cpp
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.
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.