https://bugs.documentfoundation.org/show_bug.cgi?id=152979

--- Comment #13 from Michael Weghorn <[email protected]> ---
(In reply to Michael Weghorn from comment #12)
> And if that makes the problem go away: Does the freeze also disappear if you
> undo that change and add a sleep instead, like this:
> 
> diff --git a/vcl/qt5/QtFrame.cxx b/vcl/qt5/QtFrame.cxx
> index 5517584b72d7..12af2103e965 100644
> --- a/vcl/qt5/QtFrame.cxx
> +++ b/vcl/qt5/QtFrame.cxx
> @@ -621,7 +621,10 @@ void QtFrame::SetModal(bool bModal)
>  
>          // modality change is only effective if the window is hidden
>          if (bWasVisible)
> +        {
> +            QThread::msleep(500);
>              pChild->hide();
> +        }
>  
>          pChild->setWindowModality(bModal ? Qt::WindowModal : Qt::NonModal);

Or maybe the `QThread::msleep(500);` would have to be added after the
`pChild->hide();`, at least that's what the original workaround in LO did.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to