GNOME Bugzilla – Bug 707468
orca sticks when I try to read the attached e-mail
Last modified: 2015-07-22 22:21:50 UTC
Using the latest orca compiled from git, I can not read the attached e-mail using the arrows. To reproduce try the following: 1. Launch thunderbird and open the file that is attached to this bug. 2. Press ctrl+home. 3. Press down arrow until you here something like: Am 11.01.2013 um 15:00 schrieb Aaron Long <longwa@gmail.com>: 4. Press down arro again many times. Orca stays mute although there is more text in the message. 5. Press the up arrow. Orca reads something like: Am 11.01.2013 um 15:00 schrieb Aaron Long <longwa@gmail.com>: This doesn't happen with orca 3.8.2. Thanks.
Created attachment 254086 [details] e-mail to reproduce the bug
The commit that caused your problem (getting stuck) is one that fixed a different case in which our hacks for Gecko bugs was getting us stuck: commit 0d67dc31aace07c9d36d34ca570319469700010b Author: Joanmarie Diggs <jdiggs@igalia.com> Date: Mon May 27 14:41:31 2013 -0400 Remove an old hack from the Gecko script. It now causes us to get stuck on some pages. diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py index fbc03c6..6f5a518 100644 --- a/src/orca/scripts/toolkits/Gecko/script.py +++ b/src/orca/scripts/toolkits/Gecko/script.py @@ -3940,13 +3940,7 @@ class Script(default.Script): done = False while not done: [lastObj, start, end, string] = objects[-1] - - # The offset reported as the end offset can vary with Gecko. - # If the offset is one bigger than we expect, we are in danger - # of skipping over an object. Therefore, start by decrementing - # the end offset by 1. If we find the same object, try again. - # - [nextObj, nOffset] = self.findNextCaretInOrder(lastObj, end - 1) + [nextObj, nOffset] = self.findNextCaretInOrder(lastObj, end) if self.utilities.isSameObject(lastObj, nextObj): [nextObj, nOffset] = \ self.findNextCaretInOrder(nextObj, nOffset)
Given that we are close to code freeze, the nature of the problem, and the fact that there is an easy workaround, I'm hesitant to add yet another hack before 3.10. The real fix is to completely redo Orca's support for Gecko. As for the workaround, in such emails switch the caret control to Gecko. I can then read the full message.
José, are you still seeing this issue with Orca master?
(In reply to Joanmarie Diggs (IRC: joanie) from comment #4) > José, are you still seeing this issue with Orca master? No, seems that this bug can be closed. Thanks.