vcl/source/window/floatwin.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 76f102e1a96c7e0906afb11854dd5c9e24247ccb Author: Caolán McNamara <caol...@redhat.com> Date: Tue Oct 17 15:13:26 2017 +0100
tdf#112845 get optimal size before showing popups because in rtl mode we need to know the final size in order to position it correctly according to the right edge Change-Id: Ia701626968f828fd23ab1637ed6171d0e3367c16 Reviewed-on: https://gerrit.libreoffice.org/43460 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 46b7b330efee..57c5f7ec26a8 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -686,6 +686,7 @@ void FloatingWindow::StartPopupMode( const tools::Rectangle& rRect, FloatWinPopu // compute window position according to flags and arrangement sal_uInt16 nArrangeIndex; + DoInitialLayout(); mpImplData->maPos = ImplCalcPos( this, rRect, nFlags, nArrangeIndex ); SetPosPixel( mpImplData->maPos );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits