diff options
author | Henry Castro <hcastro@collabora.com> | 2023-06-06 11:09:04 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2023-06-20 18:50:37 +0200 |
commit | f3421312cdba7b953c39d37527aecd8c8105e91e (patch) | |
tree | 022552a40bee28925f6fd2393ce53fb478f9e0ad /vcl | |
parent | a56040d28fb19187ac34abcce37ef337e5a8593d (diff) |
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 <hcastro@collabora.com>
Change-Id: I2cb101b07f1aa79ab8aa605637b276ad3a56ce88
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152681
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153328
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/floatwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |