Skip to content

Beta to master#19760

Merged
SaschaCowley merged 4 commits into
masterfrom
beta
Mar 9, 2026
Merged

Beta to master#19760
SaschaCowley merged 4 commits into
masterfrom
beta

Conversation

@SaschaCowley

Copy link
Copy Markdown
Member

No description provided.

github-actions Bot and others added 4 commits March 2, 2026 11:43
This pull request updates translations to languages being tracked from
Crowdin.

Co-authored-by: GitHub Actions <github-actions@github.com>
Inspired by #19686
Summary of the issue:

We regularly run into problems where the GUI being updated frequently causing issues.
We fix this using a ratelimiter/debouncer.
We do not have a generic debouncer in NVDA.
Description of user facing changes:

none
Description of developer facing changes:

Adds a generic debouncer to NVDA
Description of development approach:

This pull request introduces a new debouncing utility for limiting the frequency of function calls, primarily to improve GUI responsiveness and reduce unnecessary processing in NVDA. The main changes include the addition of the debounceLimiter decorator, its integration into the browseMode.py file for filtering elements, and comprehensive unit tests to verify its behavior. The pull request also modernizes type annotations throughout browseMode.py for improved readability and consistency.

Debounce utility and integration:

    Added a new debounceLimiter decorator in utils/debounce.py to control the execution rate of functions, supporting both GUI and daemon threads.
    Integrated debounceLimiter into the filtering logic of the elements list dialog in browseMode.py, replacing manual timer handling for improved efficiency and code clarity
@SaschaCowley SaschaCowley requested a review from a team as a code owner March 9, 2026 02:26
@SaschaCowley SaschaCowley requested a review from seanbudd March 9, 2026 02:26
@SaschaCowley SaschaCowley merged commit 7a7473e into master Mar 9, 2026
42 of 46 checks passed
@github-actions github-actions Bot added this to the 2026.2 milestone Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants