sc/source/ui/view/gridwin2.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 1352b1fcfa1668081c3197a12d5362286f8f9710 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Tue Aug 13 13:38:04 2019 +0200 Commit: Xisco Faulí <xiscofa...@libreoffice.org> CommitDate: Tue Aug 13 17:48:57 2019 +0200 tdf#126848: sc pivot table popup: avoid flicker Follow-up of 4dadbff74eff5f8ad00df99c659f8a2b914e09a1 Regression from commit a4cb27f61376d8f2d8faed0022c291af68d437bd Change-Id: I4d0cd2ad2d7d239307c48c9bc8c1f1ced6597f47 Reviewed-on: https://gerrit.libreoffice.org/77408 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofa...@libreoffice.org> diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx index 248d978f793d..ebb73fe891ae 100644 --- a/sc/source/ui/view/gridwin2.cxx +++ b/sc/source/ui/view/gridwin2.cxx @@ -466,6 +466,12 @@ void ScGridWindow::DPLaunchFieldPopupMenu(const Point& rScrPos, const Size& rScr mpDPFieldPopup.disposeAndClear(); mpDPFieldPopup.reset(VclPtr<ScCheckListMenuWindow>::Create(this, pViewData->GetDocument())); + + // Avoid flicker when hovering over the menu items. + if (!IsNativeControlSupported(ControlType::Pushbutton, ControlPart::Focus)) + // If NWF renders the focus rects itself, that breaks double-buffering. + mpDPFieldPopup->RequestDoubleBuffering(true); + mpDPFieldPopup->setName("DataPilot field member popup"); mpDPFieldPopup->setExtendedData(std::move(pDPData)); mpDPFieldPopup->setOKAction(new DPFieldPopupOKAction(this)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits