More web fixes. I think things are pretty stable now.
This commit is contained in:
@@ -1650,11 +1650,6 @@ class Script(default.Script):
|
||||
|
||||
self._saveFocusedObjectInfo(newFocus)
|
||||
|
||||
if self.utilities.inTopLevelWebApp(newFocus) and not self._browseModeIsSticky:
|
||||
announce = not self.utilities.inDocumentContent(oldFocus)
|
||||
self.enableStickyFocusMode(None, announce)
|
||||
return True
|
||||
|
||||
if not self._focusModeIsSticky \
|
||||
and not self._browseModeIsSticky \
|
||||
and self.useFocusMode(newFocus, oldFocus) != self._inFocusMode:
|
||||
@@ -1779,14 +1774,6 @@ class Script(default.Script):
|
||||
self.presentMessage(summary)
|
||||
|
||||
obj, offset = self.utilities.getCaretContext()
|
||||
if not AXUtilities.is_busy(event.source) \
|
||||
and self.utilities.isTopLevelWebApp(event.source):
|
||||
tokens = ["WEB: Setting locusOfFocus to", obj, "with sticky focus mode"]
|
||||
debug.printTokens(debug.LEVEL_INFO, tokens, True)
|
||||
cthulhu.setLocusOfFocus(event, obj)
|
||||
self.enableStickyFocusMode(None, True)
|
||||
return True
|
||||
|
||||
if self.useFocusMode(obj) != self._inFocusMode:
|
||||
self.togglePresentationMode(None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user