[Libreoffice-commits] core.git: vcl/source
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 11 22:28:52 UTC 2019
vcl/source/treelist/svimpbox.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 7aaa7212f2f37606b34d44a039398f05c02d5660
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue Jun 11 13:18:45 2019 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Jun 12 00:27:47 2019 +0200
tdf#125814 sc autofilter popup: perform non-partial paint on entry invalidate
... in the double-buffering case. Commit
a4cb27f61376d8f2d8faed0022c291af68d437bd (refactor ScMenuFloatingWindow
to use RenderContext, 2015-05-14) changed the partial paints to
invalidate + full paint, so invalidate the whole treelist, this makes
sure that no checkboxes go missing on mouse click.
Change-Id: I43377b7e29d1cdfb43c60256bd57531a8251e2ed
Reviewed-on: https://gerrit.libreoffice.org/73815
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Tested-by: Jenkins
diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx
index c4b819ada619..e9b88fdf92b6 100644
--- a/vcl/source/treelist/svimpbox.cxx
+++ b/vcl/source/treelist/svimpbox.cxx
@@ -549,7 +549,11 @@ void SvImpLBox::InvalidateEntry( long nY ) const
return;
if( aRect.Bottom() > nMaxBottom )
aRect.SetBottom( nMaxBottom );
- m_pView->Invalidate( aRect );
+ if (m_pView->SupportsDoubleBuffering())
+ // Perform full paint when flicker is to be avoided explicitly.
+ m_pView->Invalidate();
+ else
+ m_pView->Invalidate(aRect);
}
}
More information about the Libreoffice-commits
mailing list