[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-6-4+backports' - 2 commits - sc/source vcl/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 28 08:57:59 UTC 2021


 sc/source/ui/view/gridwin.cxx |    4 ++--
 vcl/source/window/winproc.cxx |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 054b0df6ac77864146bab8654bcc99f049a39057
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Jun 14 13:53:51 2021 +0200
Commit:     Thorsten Behrens <thorsten.behrens at allotropia.de>
CommitDate: Mon Jun 28 10:57:40 2021 +0200

    tdf#142393 crash on filter by color dropdownlist (gen)
    
    the frame/window can become disposed during the early stages of this
    method
    
    Change-Id: I974cbeefa75a3b5274e397a6da70db8b7cf73528
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117157
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    (cherry picked from commit 3c0938c9bb63fa65ea44439b4e838ed0d9fa1260)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117550
    Tested-by: Thorsten Behrens <thorsten.behrens at allotropia.de>
    Reviewed-by: Thorsten Behrens <thorsten.behrens at allotropia.de>

diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 424b8b6cdbfa..cb4c6cd35d9e 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -510,6 +510,8 @@ bool ImplHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, MouseNotifyEvent
                 pMouseDownWin->ImplGetFrameData()->mbStartDragCalled  = true;
         }
 
+        if (xWindow->isDisposed())
+            return true;
         // test for mouseleave and mouseenter
         VclPtr<vcl::Window> pMouseMoveWin = pWinFrameData->mpMouseMoveWin;
         if ( pChild != pMouseMoveWin )
commit f9957621c060dbf1d35d913930419153d8ae7696
Author:     Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
AuthorDate: Wed May 19 14:21:27 2021 +0200
Commit:     Thorsten Behrens <thorsten.behrens at allotropia.de>
CommitDate: Mon Jun 28 10:57:26 2021 +0200

    tdf#76258 Fix color filter popup position
    
    Should be next to autofilter popup
    
    Change-Id: I2ca00fd078d18f8f5c7318115789ffe633a87dc3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115803
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
    (cherry picked from commit 950eb673b9ad4bc380b13281af577fc8c6842007)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116603
    Tested-by: Thorsten Behrens <thorsten.behrens at allotropia.de>
    Reviewed-by: Thorsten Behrens <thorsten.behrens at allotropia.de>

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index b8d89317c271..02a8d9e8f370 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -904,8 +904,8 @@ void ScGridWindow::UpdateAutoFilterFromMenu(AutoFilterMode eMode)
                     }
                     i++;
                 }
-
-                sal_uInt16 nSelected = pColorMenu->Execute(this, mpAutoFilterPopup->GetPosPixel());
+                Point pos(mpAutoFilterPopup->GetSizePixel().getWidth(), 150);
+                sal_uInt16 nSelected = pColorMenu->Execute(this, pos);
                 pColorMenu.disposeAndClear();
                 mpAutoFilterPopup->terminateAllPopupMenus();
 


More information about the Libreoffice-commits mailing list