Comment 6 for bug 602877

Revision history for this message
In , WaywardGeek (waywardgeek) wrote :

I've located the problem, and think I understand it. It seems that TakeFocus() fails to work when called from setCaretOffsetCB, because it doesn't want to set to focus on things you can't tab to. I've added a flag to SetFocus called movedFocus, which basically forces the focus to be set. This is only done in calls from setCaretOffsetCB. Several files needed to be patched to deal with the new parameter, but the change really is that simple. One side effect is that the block of text being read by Orca is now highlighted with a box around it. I really like this. Apple does this with their screen reader as well.