| commit | 7aaa7212f2f37606b34d44a039398f05c02d5660 | [log] |
|---|---|---|
| author | Miklos Vajna <vmiklos@collabora.com> | Tue Jun 11 13:18:45 2019 +0200 |
| committer | Miklos Vajna <vmiklos@collabora.com> | Wed Jun 12 00:27:47 2019 +0200 |
| tree | 07c876818883f2656978870cbd158562e343631b | |
| parent | 593cb90d5846f1c94ef209b6f0cd9b318c89ee65 [diff] |
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@collabora.com> Tested-by: Jenkins
diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx index c4b819a..e9b88fd 100644 --- a/vcl/source/treelist/svimpbox.cxx +++ b/vcl/source/treelist/svimpbox.cxx
@@ -549,7 +549,11 @@ 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); } }