From 7ad50cb0cac00573fab2b92f1cb930cf78aced80 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Sun, 28 Mar 2021 23:01:20 -0500 Subject: [PATCH] Bug 2703 - Mac: EGAT preview dialog is hidden behind the EGAT dialog --- src/widgets/ProgressDialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/widgets/ProgressDialog.cpp b/src/widgets/ProgressDialog.cpp index a902fc866..cca81b77c 100644 --- a/src/widgets/ProgressDialog.cpp +++ b/src/widgets/ProgressDialog.cpp @@ -1159,6 +1159,11 @@ bool ProgressDialog::Create(const TranslatableString & title, wxWindow *parent = #if defined(__WXMAC__), + // Bug 2703: In release builds, the progress dialog will fall behind + // the top level dialog (like effects dialogs). This does not happen + // in debug builds and I was not able to track down the reason. So, + // this is a workaround and should be reviewed as some point, like + // when upgrading to the next WX version. GetParentForModalDialog(mHadFocus, 0); #else GetParentForModalDialog(nullptr, 0);