I just switched the app I’m working on to use asynchronous file choosers. This is generally fine, but I’m having trouble with key commands on MacOS.
If I create a chooser with the code below, cmd-A doesn’t select the whole file name, cmd-V doesn’t let me paste a file name, etc. I can paste from a contextual menu.
Is this a bug, or is there something wrong with my implementation?
fileChooser = std::make_unique<juce::FileChooser>(title,
file,
patterns);
const auto flags { juce::FileBrowserComponent::saveMode | juce::FileBrowserComponent::canSelectFiles };
fileChooser->launchAsync(flags, onFileChosen);
