[orca] Handle instance in which the "end" of a container is the container's ancestor
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Handle instance in which the "end" of a container is the container's ancestor
- Date: Sat, 11 Mar 2017 16:24:27 +0000 (UTC)
commit 65f169c9ca3f4113e8cb220174ec876bea914dba
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Mar 11 11:18:59 2017 -0500
Handle instance in which the "end" of a container is the container's ancestor
src/orca/structural_navigation.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index 0ebea92..58951b3 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -903,6 +903,8 @@ class StructuralNavigation:
if not newObj:
document = self._script.utilities.getDocumentForObject(obj)
newObj = self._script.utilities.getNextObjectInDocument(obj, document)
+ elif pyatspi.findAncestor(container, lambda x: x == newObj):
+ newObj, newOffset = self._script.utilities.nextContext(newObj, newOffset)
newContainer = self.getContainerForObject(newObj)
if newObj and newContainer != container:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]