Hi, I have submitted a patch for review:
https://gerrit.libreoffice.org/1533 To pull it, you can do: git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/33/1533/1 fdo#40465 fix to maintain focus whilst zooming Change-Id: I3fab5d62d8f479a5efe242693d2fbe33375206f8 --- M dictionaries M helpcontent2 M sw/source/ui/uiview/viewmdi.cxx 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dictionaries b/dictionaries index f0c914a..1595bf1 160000 --- a/dictionaries +++ b/dictionaries -Subproject commit f0c914a43e7e6540300da25c935a77aebb672094 +Subproject commit 1595bf11e295d96123fcb327ba9919307aa5b127 diff --git a/helpcontent2 b/helpcontent2 index d5d84f0..1909df0 160000 --- a/helpcontent2 +++ b/helpcontent2 -Subproject commit d5d84f0ec4584e32147eeab355d0ab73e7dd9172 +Subproject commit 1909df07cbd54bf753514cc6dc4137b7b69af63c diff --git a/sw/source/ui/uiview/viewmdi.cxx b/sw/source/ui/uiview/viewmdi.cxx index 286435e..17a1ac5 100644 --- a/sw/source/ui/uiview/viewmdi.cxx +++ b/sw/source/ui/uiview/viewmdi.cxx @@ -65,6 +65,9 @@ void SwView::SetZoom( SvxZoomType eZoomType, short nFactor, sal_Bool bViewOnly ) { _SetZoom( GetEditWin().GetOutputSizePixel(), eZoomType, nFactor, bViewOnly ); + + //fdo40465 force the cursor to stay in view whilst zooming + pWrtShell->ShowCrsr(); } void SwView::_SetZoom( const Size &rEditSize, SvxZoomType eZoomType, -- To view, visit https://gerrit.libreoffice.org/1533 To unsubscribe, visit https://gerrit.libreoffice.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3fab5d62d8f479a5efe242693d2fbe33375206f8 Gerrit-PatchSet: 1 Gerrit-Project: core Gerrit-Branch: master Gerrit-Owner: Winfried Donkers <o...@dci-electronics.nl> _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice