[orca] Chromium: Hack around setting caret not updating focus
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Chromium: Hack around setting caret not updating focus
- Date: Mon, 12 Nov 2018 16:31:31 +0000 (UTC)
commit 002d45a3842d22979afe90324a5039c08f790d03
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Nov 12 11:30:27 2018 -0500
Chromium: Hack around setting caret not updating focus
src/orca/scripts/toolkits/Chromium/script_utilities.py | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/orca/scripts/toolkits/Chromium/script_utilities.py
b/src/orca/scripts/toolkits/Chromium/script_utilities.py
index 54b0ef849..cdd447270 100644
--- a/src/orca/scripts/toolkits/Chromium/script_utilities.py
+++ b/src/orca/scripts/toolkits/Chromium/script_utilities.py
@@ -157,3 +157,9 @@ class Utilities(web.Utilities):
return state.contains(pyatspi.STATE_HAS_POPUP)
return False
+
+ def grabFocusWhenSettingCaret(self, obj):
+ # HACK: Remove this when setting the caret updates focus.
+ msg = "CHROMIUM: HACK: Doing focus grab when setting caret on %s" % obj
+ debug.println(debug.LEVEL_INFO, msg, True)
+ return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]