vcl/source/window/window.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit f4c24da1e7f11664e0d2f688d2531f068e4a3bc0
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sat May 20 20:29:59 2023 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sun May 21 19:50:59 2023 +0200

    Revert "tdf#63130 when getting the size, do not do a full paint"
    
    because it is triggering many CppunitTest_toolkit_a11y failures
    
    This reverts commit 67c3b3becab2aa2b9522e3a092d46bfe507c3101.
    
    ImplCallResize is not called on the same Window after that
    commit than it was originally called on.
    
    Change-Id: I0c3721d2674067ac7f0bf765e0fe1097b1d67dbf
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152026
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index a38cc54d4742..659ae60b27d4 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -2415,11 +2415,7 @@ Size Window::GetSizePixel() const
     {
         VclPtr<vcl::Window> xWindow( const_cast<Window*>(this) );
         mpWindowImpl->mpFrameData->maResizeIdle.Stop();
-        // This is a copy of the code inside the resize Idle callback
-        // __except__ that we are not calling the paint idle callback
-        // which we don't want to do here, to avoid double work.
-        if( mpWindowImpl->mbReallyVisible )
-            xWindow->ImplCallResize();
+        mpWindowImpl->mpFrameData->maResizeIdle.Invoke( nullptr );
         if( xWindow->isDisposed() )
             return Size(0,0);
     }

Reply via email to