It's not possible to use the find command when reading the result of content recognition; e.g. NVDA+r. From @LeonarddeR in #7361 (comment):
It is not possible to use the find functionality for the resulting cursor manager. You can open the find dialog and even find something, but as soon as you return, the focus will return back to the original focus object.
This occurs because the find command brings up a dialog and thus causes the fake focus to be lost. For #7361, I simply disabled the commands. However, this would be nice to support.
We can extend CursorManager.doFindText to first focus the result object again. The problem is that doFindText might bring up another dialog if the search fails and that one doesn't have a callback once dismissed. So, we might need to introduce some new overridable methods or something.
It's not possible to use the find command when reading the result of content recognition; e.g. NVDA+r. From @LeonarddeR in #7361 (comment):
This occurs because the find command brings up a dialog and thus causes the fake focus to be lost. For #7361, I simply disabled the commands. However, this would be nice to support.
We can extend
CursorManager.doFindTextto first focus the result object again. The problem is thatdoFindTextmight bring up another dialog if the search fails and that one doesn't have a callback once dismissed. So, we might need to introduce some new overridable methods or something.