[orca] Preserve duplicated/redundant names in SayAll so we're sure to present something



commit 2a07f019e6fb7cb25f91e4ff8d5c372f4c3f8349
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Jul 3 13:01:00 2019 -0400

    Preserve duplicated/redundant names in SayAll so we're sure to present something

 src/orca/scripts/web/speech_generator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/speech_generator.py b/src/orca/scripts/web/speech_generator.py
index cdccce958..1f26470f1 100644
--- a/src/orca/scripts/web/speech_generator.py
+++ b/src/orca/scripts/web/speech_generator.py
@@ -189,7 +189,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
             return []
 
         if obj.parent and obj.name and obj.name == obj.parent.name \
-           and obj != orca_state.locusOfFocus:
+           and obj != orca_state.locusOfFocus and not self._script.inSayAll():
             return []
 
         # TODO - JD: Once the formatting strings are vastly cleaned up


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]