vcl/source/treelist/svimpbox.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit ece8aa80a9f0b59eb2b542571dcb777b9a74abde Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Tue Jun 11 13:18:45 2019 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Wed Jun 12 14:25:40 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. (cherry picked from commit 7aaa7212f2f37606b34d44a039398f05c02d5660) Conflicts: vcl/source/treelist/svimpbox.cxx Change-Id: I43377b7e29d1cdfb43c60256bd57531a8251e2ed Reviewed-on: https://gerrit.libreoffice.org/73862 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx index ede98aa18f7f..1016d7e095b1 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 ); - pView->Invalidate( aRect ); + if (pView->SupportsDoubleBuffering()) + // Perform full paint when flicker is to be avoided explicitly. + pView->Invalidate(); + else + pView->Invalidate(aRect); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits