[orca] Clear AT-SPI2's cache on switcher object before checking showing and visible
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Clear AT-SPI2's cache on switcher object before checking showing and visible
- Date: Thu, 7 Mar 2019 15:44:58 +0000 (UTC)
commit 4e8f00c4b6efe889f363ecf32ed15aa07ff69723
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Mar 7 16:44:06 2019 +0100
Clear AT-SPI2's cache on switcher object before checking showing and visible
src/orca/scripts/switcher/script_utilities.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/orca/scripts/switcher/script_utilities.py b/src/orca/scripts/switcher/script_utilities.py
index fdf783cbf..efebc8652 100644
--- a/src/orca/scripts/switcher/script_utilities.py
+++ b/src/orca/scripts/switcher/script_utilities.py
@@ -73,6 +73,8 @@ class Utilities(script_utilities.Utilities):
if index >= 0:
return True
+ obj.clearCache()
+
if self.isShowingAndVisible(obj):
msg = "SWITCHER: Ignoring bad index of %s" % obj
debug.println(debug.LEVEL_INFO, msg, True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]