Report status bar: find a UI Automation status bar by its control type when the position lookup finds none
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- accessibility, desktop
Research direction
Start by reading api.getStatusBar and the _get_statusBar implementations in appModules/notepad.py and appModules/explorer.py. Trace how the foreground UIA object and its descendants are queried, then add coverage for the fallback when the corner lookup finds no status bar. Done means a UIA StatusBar can be returned through that fallback while the existing position lookup remains first.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
NVDA+End (NVDA+Shift+End in the laptop layout) can't find the status bar of a UI Automation application whose window has the standard Windows 10/11 frame, even when the application exposes a correct status bar. api.getStatusBar asks the app module first; otherwise it takes the object at the foreground window's bottom-left pixel, objectFromPoint(left, top + height - 1), and walks up its ancestors to a status bar. The window's rectangle includes the invisible resize border, so that pixel is outside the application's content (and off the screen when the window is maximized), and NVDA says there is no status bar.
Example: WordCraft, an open-source word processor that draws its interface with egui and exposes it through AccessKit, has a UIA element with the StatusBar control type, named, with bounds and children (storytold/wordcraft#5130). NVDA+End says no status bar was found. With an add-on whose app module searches the UIA tree for the StatusBar control type (squalorso/wordcraft-nvda 0.2.1.4), it reads "Status Bar, Page 1 of 2, 361 words, English (United States), …".
NVDA already does this for its own targets: appModules/notepad.py (#13688, #14573) and appModules/explorer.py implement _get_statusBar by searching the UIA tree for the StatusBar control type.
Describe the solution you'd like
In api.getStatusBar, when the app module provides no status bar and the walk up from the corner object finds none, and the foreground object is a UIA object, search its descendants for the first element whose control type is UIA_StatusBarControlTypeId, as the Notepad and File Explorer app modules do, and return it. The position lookup stays first, so nothing changes where it works today.
Describe alternatives you've considered
- Per-app code, as now: every UIA application NVDA doesn't ship support for needs an add-on for this one command, although it already exposes the standard role.
- Probing a point inside the visible frame (DWM's extended frame bounds, or the client rectangle) instead of the window rectangle. That fixes the invisible-border case, but still depends on the status bar being at the bottom-left corner.
Additional context
NVDA 2026.3 on Windows 11 23H2 (10.0.22631). WordCraft: a build of storytold/wordcraft#5130. Related: #3323 (getStatusBar made API-independent), #9792 (the app module hook), #13688 (lists improving api.getStatusBar as an alternative).
Perhaps you will find more conventional applications to test this - I came across this during testing accessibility fixes in WordCraft, so I can't suggest it right now, sorry.
- 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