[orca] Mouse Review: Don't update current object to row to read the full row
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Mouse Review: Don't update current object to row to read the full row
- Date: Tue, 26 May 2020 22:04:31 +0000 (UTC)
commit 92e4475fa1f3a867a44c8cd7970e584846b098e8
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue May 26 18:01:28 2020 -0400
Mouse Review: Don't update current object to row to read the full row
Recently the generation of table information was cleaned up so that it
is no longer necessary to update the mouse review object to the parent
row in a table when the user wants the full row read. Furthermore,
updating the mouse review object to the row causes it to no longer be
presented because we no longer present review objects whose text consists
solely of embedded object characters.
src/orca/mouse_review.py | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/src/orca/mouse_review.py b/src/orca/mouse_review.py
index 086d4f6ed..fbe9ca5d5 100644
--- a/src/orca/mouse_review.py
+++ b/src/orca/mouse_review.py
@@ -574,11 +574,6 @@ class MouseReviewer:
debug.println(debug.LEVEL_INFO, msg, True)
return
- if obj and obj.getRole() in script.utilities.getCellRoles() \
- and script.utilities.shouldReadFullRow(obj):
- isRow = lambda x: x and x.getRole() == pyatspi.ROLE_TABLE_ROW
- obj = pyatspi.findAncestor(obj, isRow) or obj
-
screen, nowX, nowY = self._pointer.get_position()
if (pX, pY) != (nowX, nowY):
msg = "MOUSE REVIEW: Pointer moved again: (%i, %i)" % (nowX, nowY)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]