svx/source/accessibility/AccessibleShape.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 13bb526930749a2f45592c53fedb13f9508212fc Author: Justin Luth <[email protected]> Date: Tue Dec 29 16:15:56 2015 +0300 tdf#96685 - set initial focus of accessible editeng objects signalIMDeleteSurrounding searches for the focused accessible object. Since newly created accessible objects were not inheriting the focus setting of their peer, the search returned nothing until some event triggered the focus to be adjusted. Change-Id: I92f980b4bbe741d8ce9196165eff51059c807a2b Reviewed-on: https://gerrit.libreoffice.org/21002 Tested-by: Jenkins <[email protected]> Reviewed-by: Justin Luth <[email protected]> (cherry picked from commit 3b14cdf7386f41395d1b089c3b9dde7d4429cf38) Reviewed-on: https://gerrit.libreoffice.org/21562 Reviewed-by: Miklos Vajna <[email protected]> diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx index 310ef49..f38852e 100644 --- a/svx/source/accessibility/AccessibleShape.cxx +++ b/svx/source/accessibility/AccessibleShape.cxx @@ -181,6 +181,8 @@ void AccessibleShape::Init() ::std::unique_ptr<SvxEditSource> pEditSource( new SvxTextEditSource ( *pSdrObject, nullptr, *pView, *pWindow) ); mpText = new AccessibleTextHelper( std::move(pEditSource) ); } + if( pWindow->HasFocus() ) + mpText->SetFocus(); if( bOwnParaObj ) delete pOutlinerParaObject; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
