vcl/source/app/salvtables.cxx | 9 +++++++++ 1 file changed, 9 insertions(+)
New commits: commit 7ee6e771e2b267650a3f5042ffc5322069102491 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Jul 22 21:31:44 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Jul 23 10:38:06 2020 +0200 defeat IsReallyVisible for subedit of forms navigation-bar edit paint Change-Id: I2baaf9f58831f52ae9d8d479bb409d8ffb70451d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99259 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 699c06287e05..ccc31697397c 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -72,6 +72,7 @@ #include <bitmaps.hlst> #include <calendar.hxx> #include <verticaltabctrl.hxx> +#include <window.h> #include <wizdlg.hxx> #include <salvtables.hxx> @@ -1144,8 +1145,16 @@ namespace xOutput->SetOutputSizePixel(aSize); xOutput->DrawOutDev(Point(), aSize, rPos, aSize, rOutput); + //set ReallyVisible to match Visible, we restore the original + //state after Paint + WindowImpl* pImpl = pWindow->ImplGetWindowImpl(); + bool bRVisible = pImpl->mbReallyVisible; + pImpl->mbReallyVisible = pWindow->IsVisible(); + pWindow->Paint(*xOutput, tools::Rectangle(Point(), aSize)); + pImpl->mbReallyVisible = bRVisible; + rOutput.DrawOutDev(rPos, aSize, Point(), aSize, *xOutput); xOutput.disposeAndClear(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits