From 61606e7eb9c2f8d70e551643e666ab6741139201 Mon Sep 17 00:00:00 2001 From: Michael Curran Date: Mon, 1 Feb 2016 12:17:33 +1000 Subject: [PATCH] Google Chrome: navigating in an Input Composition for east-Asian characters no longer fails with an error. Fixes #4080 --- source/NVDAObjects/IAccessible/chromium.py | 3 +++ user_docs/en/changes.t2t | 1 + 2 files changed, 4 insertions(+) diff --git a/source/NVDAObjects/IAccessible/chromium.py b/source/NVDAObjects/IAccessible/chromium.py index 0837b471f..e03367bbe 100644 --- a/source/NVDAObjects/IAccessible/chromium.py +++ b/source/NVDAObjects/IAccessible/chromium.py @@ -20,6 +20,9 @@ class ChromeVBuf(GeckoVBuf): def __contains__(self, obj): if obj.windowHandle != self.rootNVDAObject.windowHandle: return False + if not isinstance(obj,ia2Web.Ia2Web): + # #4080: Input composition NVDAObjects are the same window but not IAccessible2! + return False accId = obj.IA2UniqueID if accId == self.rootID: return True diff --git a/user_docs/en/changes.t2t b/user_docs/en/changes.t2t index 7dea263f5..cc023e278 100644 --- a/user_docs/en/changes.t2t +++ b/user_docs/en/changes.t2t @@ -45,6 +45,7 @@ - Touch screen hovers are no longer reported in input help. (#5652) - NVDA no longer fails to list comments in the Elements List for Excel if a comment is on a merged cell. (#5704) - In a very rare case, NVDA no longer fails to read sheet content in Excel with report row and column headers enabled (#5705) +- In Google Chrome, navigating within an Input composition for east-asian characters no longer fails with an error. (#4080) == Changes for Developers == -- 2.11.0