[orca/gnome-3-34] Mouse Review: Don't return early for description of non-focused object
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-34] Mouse Review: Don't return early for description of non-focused object
- Date: Wed, 20 Nov 2019 13:49:03 +0000 (UTC)
commit f5ba414cf62ec0028f349218bd8d4988fb140179
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Nov 20 08:46:46 2019 -0500
Mouse Review: Don't return early for description of non-focused object
src/orca/scripts/web/speech_generator.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/speech_generator.py b/src/orca/scripts/web/speech_generator.py
index acaa1969a..ce3fa2173 100644
--- a/src/orca/scripts/web/speech_generator.py
+++ b/src/orca/scripts/web/speech_generator.py
@@ -133,7 +133,8 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
if obj != orca_state.locusOfFocus:
if role in [pyatspi.ROLE_ALERT, pyatspi.ROLE_DIALOG]:
return super()._generateDescription(obj, **args)
- return []
+ if not args.get('inMouseReview'):
+ return []
formatType = args.get('formatType')
if formatType == 'basicWhereAmI' and self._script.utilities.isLiveRegion(obj):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]