Magnifier: tell the user when tracking has been unavailable for a while
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- accessibility
Research direction
Read the expected behavior in #20860 and the focus manager changes described in #20992, then trace how Magnifier updates identify the source currently being followed and report failed sources. Use elapsed time to detect a continuous failure, announce once, and reset when tracking resumes. Done means only the followed source triggers one announcement after about a second, with no repeats until recovery.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
When the Magnifier cannot determine where the focus, caret, review cursor or navigator object is
(for example because an application stops responding to accessibility queries), the magnified view
stays where it was. With #20992 this no longer flickers or stops the Magnifier, which is a big
improvement, but nothing tells the user. A low-vision user cannot easily distinguish "tracking is
broken" from "nothing has moved".
This was point 1 of the expected behaviour in #20860:
If the duration where tracking does not work is expected to be long, e.g. more than 1 second
[…] it should be reported (e.g. withui.message) that there is a tracking issue with the
magnifier.
As suggested on #20992, this splits that point into its own issue.
Describe the solution you'd like
When tracking has failed continuously for more than about one second, announce once, e.g.
"Magnifier tracking unavailable". Say nothing more until tracking works again, then reset.
- Measure the delay in elapsed time rather than in update cycles. The update timer is rescheduled
only after each update completes, and the conditions that break tracking (an unresponsive
application, an RPC timeout) also make individual updates slow, so a cycle count maps to an
unpredictable delay. - Announce at most once per failure period, so a persistent failure cannot flood speech.
- Announce only when the source the Magnifier is currently following is unavailable. A failing
source the user isn't following (e.g. the review cursor while following the focus) should stay
silent.
Describe alternatives you've considered
- Logging only, which helps developers but not users.
- A sound instead of a message.
- Doing nothing: the view simply stays put.
Additional context
This would add one translatable string. I have an implementation ready on top of #20992, which
I'll open as a PR once #20992 has merged and we agree on the behaviour here. With #20992, a
failing source falls back to its last known position inside the focus manager, so the focus
manager now reports which sources had to fall back during each update.
- Dominant language
- Python
- Stars
- 2.7k
- Forks
- 842
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 56
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nvaccess/nvda
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
needs-technical-investigation p5 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nvaccess/nvda#21085 · 7 comments ·
Maintainers usually reply within 1 day
-
Braille Viewer draws two braille patterns wrongly (U+28CC, U+2873) because of glyph errors in FreeMono-FixedBraille.ttfMay be free again A pull request for this issue was closed without being merged. Openaudience/a11y-tester good first issue p4 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
nvaccess/nvda#21022 · 3 comments ·
Maintainers usually reply within 1 day
-
api-breaking-change audience/nvda-dev p5 release/blocking release/blocking-beta triaged
Difficulty 2/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
p5 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pimutils/vdirsyncer#1242 ·
-
priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
QuantConnect/lean-cli#792 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
open-webui/open-webui#35360 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Suggest link: Destiny Verify (MIT zero-dependency pre-commit security, citation & link hygiene CLI)Open
Difficulty 1/5 Under an hour Newbie friendliness 68/100