I upgraded my dev vm to Ubuntu 16.04 today, and immediately afterward noticed the FileChooser is no longer working. Here is the code I’m using from within a buttonClicked() inherited from Button::Listener:
FileChooser chooser( "Open Image", previous_directory, "*.JPG;*.jpg" );
const bool result = chooser.browseForFileToOpen();
That 2nd line hangs forever without ever showing the file dialog. Debugging into it, I see it is hung up on this line in juce_posix_SharedCode.h
: read() line 1157:
return (int) fread (dest, 1, (size_t) numBytes, readHandle);
I tried the JuceDemo, and it also hangs in the same place when I click on any of the “Load”, “Choose”, or “Save” buttons on the Dialog Boxes tab. If I disable “Use Native Windows”, then they all work fine.
Anyone else seeing this behaviour on Ubuntu 16.04?