Ok, I'll check that. I also found out that doing the following fixes the problem under Windows. If I reset modality to FALSE, and then to TRUE again right before opening the window, it works correctly, i.e.
static void safe_open_modal_window(GtkWidget *window)
This fix also works with GtkFileChooserButton, except that I have to access the private field "dialog" in
Once I have a handle to the file dialog, I can then apply the patch by resetting modality using:
This works fine but of course it's a pretty hackish workaround so I should better file a Bugzilla report about it so that it hopefully gets fixed.