vcl/win/window/salframe.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 00fca3e515027901e134eadaf73b4ccb862108cb Author: Jonathan Clark <[email protected]> AuthorDate: Tue Jan 27 07:59:56 2026 -0700 Commit: Jonathan Clark <[email protected]> CommitDate: Tue Jan 27 17:27:09 2026 +0100 tdf#170400 Fix crash when running Python ODK tests on Windows with IME Removes a callback from the Windows SAL_MSG_SETINPUTCONTEXT event handler, which was causing asserts in certain situations due to improper locking of the solar mutex. Change-Id: Ib2f6608b1e9bdb9b0b9c796ad84cc3dd8a2305c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198211 Tested-by: Jenkins Reviewed-by: Jonathan Clark <[email protected]> diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index 4e243ebc2044..b677efb95d21 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -2154,9 +2154,7 @@ static void ImplSalFrameSetInputContext( HWND hWnd, const SalInputContext* pCont // tdf#147299: To enable vertical input mode, Windows IMEs check the face // name string for a leading '@'. - SalExtTextInputPosEvent aPosEvt; - pFrame->CallCallback(SalEvent::ExtTextInputPos, &aPosEvt); - if (aPosEvt.mbVertical) + if (pContext->mpFont->GetFontSelectPattern().mbVertical) { std::array<WCHAR, LF_FACESIZE> aTmpFaceName; std::copy(aLogFont.lfFaceName, aLogFont.lfFaceName + LF_FACESIZE,
