From 85bd3c4e78e7e98fdb1422a43e0242cca111d85b Mon Sep 17 00:00:00 2001 From: James Teh Date: Fri, 10 Jul 2015 15:25:15 +1000 Subject: [PATCH] In browse mode in Internet Explorer and other MSHTML controls, the correct content is now reported when an element appears or changes and is immediately focused. MSHTML vbufBackend: force an instant update of the content for onfocus events in case the focus moves to something that was newly created/changed. Fixes #5040. --- nvdaHelper/vbufBackends/mshtml/node.cpp | 3 +++ user_docs/en/changes.t2t | 1 + 2 files changed, 4 insertions(+) diff --git a/nvdaHelper/vbufBackends/mshtml/node.cpp b/nvdaHelper/vbufBackends/mshtml/node.cpp index b0179013cc7..c8f7bf374a4 100755 --- a/nvdaHelper/vbufBackends/mshtml/node.cpp +++ b/nvdaHelper/vbufBackends/mshtml/node.cpp @@ -127,6 +127,9 @@ class CDispatchChangeSink : public IDispatch { this->storageNode->backend->forceUpdate(); } return S_OK; + } else if(dispIdMember==DISPID_EVMETH_ONFOCUS) { + this->storageNode->backend->forceUpdate(); + return S_OK; } return E_FAIL; } diff --git a/user_docs/en/changes.t2t b/user_docs/en/changes.t2t index d268ce87e8b..4ee00a53d1d 100644 --- a/user_docs/en/changes.t2t +++ b/user_docs/en/changes.t2t @@ -21,6 +21,7 @@ - In Windows 10, extraneous information is no longer reported when pressing alt+tab or alt+shift+tab to switch between applications. (#5116) - Typed text is no longer garbled when using certain applications such as Microsoft Outlook with a braille display. (#2953) - When using text expansion functionality in software such as AutoHotkey, expanded text is no longer garbled when NVDA is configured to handle keys from other applications. (#4499) +- In browse mode in Internet Explorer and other MSHTML controls, the correct content is now reported when an element appears or changes and is immediately focused. (#5040) = 2015.2 =