vcl/source/window/floatwin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f3421312cdba7b953c39d37527aecd8c8105e91e
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Tue Jun 6 11:09:04 2023 -0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Tue Jun 20 18:50:37 2023 +0200

    lok: vcl: fix "ImplConvertToAbsPos" function
    
    The conversion to absolute position is ignored for mirrored graphics,
    otherwise, the popup window will be closed after the mouse up event.
    
    Signed-off-by: Henry Castro <hcas...@collabora.com>
    Change-Id: I2cb101b07f1aa79ab8aa605637b276ad3a56ce88
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152681
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153328
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index eeb4566f680d..c634bb625e08 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -485,7 +485,7 @@ Point FloatingWindow::ImplConvertToAbsPos(vcl::Window* 
pReference, const Point&
     const OutputDevice *pWindowOutDev = pReference->GetOutDev();
 
     // compare coordinates in absolute screen coordinates
-    if( pWindowOutDev->HasMirroredGraphics()  )
+    if ( pWindowOutDev->HasMirroredGraphics() && 
!comphelper::LibreOfficeKit::isActive() )
     {
         if(!pReference->IsRTLEnabled() )
             pWindowOutDev->ReMirror( aAbsolute );

Reply via email to