diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-06-04 14:11:33 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-06-04 14:59:54 +0200 |
commit | 4dadbff74eff5f8ad00df99c659f8a2b914e09a1 (patch) | |
tree | d1c63067f0a3344387a0f53a28bb87e477cc0ab4 /sc/source/ui/undo | |
parent | ee6dd4d39e9169283e74a9210ace0b8f7f897da4 (diff) |
tdf#101086 sc autofilter popup: avoid flicker
Regression from commit a4cb27f61376d8f2d8faed0022c291af68d437bd
(refactor ScMenuFloatingWindow to use RenderContext, 2015-05-14), the
problem was that the change had two effects:
1) It removed incremental rendering that now causes flicker.
2) It added support for painting into a rendercontext, not on the window
itself.
Given that here a hierarchy of widgets have to be painted at once (to
avoid flicker), use vcl::Window::RequestDoubleBuffering() instead of the
much simpler vcl::BufferDevice.
This improves the situation on Windows, but explicitly blacklist the
focus rectangle case (gtk3) which is currently not compatible with this
higher level double-buffering (and there we already have lower-level
double-buffering anyway, similar to OpenGL).
Change-Id: I77aa951e14db668166dc8757e36c037ee98243bf
Reviewed-on: https://gerrit.libreoffice.org/73441
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/undo')
0 files changed, 0 insertions, 0 deletions