summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-05-20 20:29:59 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-05-21 19:50:59 +0200
commitf4c24da1e7f11664e0d2f688d2531f068e4a3bc0 (patch)
treef5da660c5e42a100b5f4c250c4f4e43f4580f683 /vcl
parentbfc8221c9e903ffe843fceb502b054921a647035 (diff)
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.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window.cxx6
1 files changed, 1 insertions, 5 deletions
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);
}