GimpPdbDialog appears behind plug-in dialogs
Submitted by Sven Neumann
Link to original bug (#360106)
Description
The dialogs for selecting a brush/gradient/pattern which are created from the GimpSelectButton widgets in libgimp are actually shown by the core. In current CVS, these dialogs are made transient for the progress window. In the case of Script-Fu this is the plug-in window and the popup window appears correctly above the Script-Fu dialog. Normal plug-ins usually don't set a progress window and the core implicitely creates a GimpProgress that uses the image window. This causes the popup dialogs to appear above the image window but below the plug-in dialog.
We need to fix this but I am not quite sure how this would best be fixed. If we had a plug-in dialog widget, we could make this widget the progress window. This would also fix a similar problem with plug-ins using g_message() while their dialog is shown.
An alternative solution could be to let the GimpSelectButton install a progress handler. However that progress handler should only set the progress window, it would have to delegate the other progress functionality to the core. AFAIK, this is not possible with the current API but it could perhaps be added somehow.
Version: git master