Skip to content

Allow config profile triggers when Add-on Store is open - #19583

Merged
seanbudd merged 1 commit into
nvaccess:masterfrom
bramd:fix/addon-store-config-profiles-15165
Feb 13, 2026
Merged

seanbudd merged 1 commit into
nvaccess:masterfrom
bramd:fix/addon-store-config-profiles-15165

Conversation

@bramd

@bramd bramd commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

Link to issue number:

Closes #15165

Summary of the issue:

Configuration profile triggers for "Current application" do not activate when the Add-on Store dialog is open, even though the Add-on Store is an NVDA window. This is because AddonStoreDialog inherits from SettingsDialog, which has shouldSuspendConfigProfileTriggers = True to prevent feedback loops while editing settings.

Description of user facing changes:

Configuration profile triggers now activate when the Add-on Store is open. Users who create a config profile triggered by the NVDA application (e.g., to enable table headers in the Add-on Store) will now have their profile correctly activated.

Description of developer facing changes:

Added shouldSuspendConfigProfileTriggers = False to AddonStoreDialog to override the inherited value from SettingsDialog.

Description of development approach:

The SettingsDialog base class sets shouldSuspendConfigProfileTriggers = True because changing settings while a profile trigger is active could cause confusion. However, the Add-on Store doesn't modify NVDA settings, so there's no reason to suspend triggers. The fix simply overrides this attribute to False.

Testing strategy:

  • Unit tests pass (1031 tests)
  • Manual testing:
    • Create a config profile with "Current application" trigger for NVDA
    • Open the Add-on Store - profile should activate
    • Close the Add-on Store - profile should deactivate
    • Open NVDA Settings dialog - profile should NOT activate (SettingsDialog still suspends triggers correctly)

Known issues with pull request:

None

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation - Not required
    • Developer / Technical Documentation - Not required
    • Context sensitive help for GUI changes - Not applicable
  • Testing:
    • Unit tests - Difficult to unit test GUI dialog behavior
    • System (end to end) tests - Manual testing covers scenarios
    • Manual testing
  • UX of all users considered:
    • Speech - No impact
    • Braille - No impact
    • Low Vision - No impact
    • Different web browsers - Not applicable
    • Localization in other languages / culture than English - No translatable strings changed
  • API is compatible with existing add-ons.
  • Security precautions taken.

@bramd
bramd marked this pull request as ready for review February 9, 2026 16:01
@bramd
bramd requested a review from a team as a code owner February 9, 2026 16:01
@bramd
bramd requested a review from SaschaCowley February 9, 2026 16:01
The Add-on Store dialog inherited shouldSuspendConfigProfileTriggers = True
from SettingsDialog, which prevented configuration profile triggers from
activating while the dialog was open. Override this to False since the
Add-on Store does not need to suspend config profile triggers.
@bramd
bramd force-pushed the fix/addon-store-config-profiles-15165 branch from db9eecd to cf10890 Compare February 9, 2026 16:09
@SaschaCowley SaschaCowley added the conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review. label Feb 10, 2026
@seanbudd
seanbudd enabled auto-merge (squash) February 13, 2026 04:27
@seanbudd
seanbudd disabled auto-merge February 13, 2026 05:48
@seanbudd
seanbudd merged commit d44f7a1 into nvaccess:master Feb 13, 2026
46 of 58 checks passed
@github-actions github-actions Bot added this to the 2026.2 milestone Feb 13, 2026
tareh7z pushed a commit to tareh7z/nvda that referenced this pull request Feb 16, 2026
Closes nvaccess#15165
Summary of the issue:

Configuration profile triggers for "Current application" do not activate when the Add-on Store dialog is open, even though the Add-on Store is an NVDA window. This is because AddonStoreDialog inherits from SettingsDialog, which has shouldSuspendConfigProfileTriggers = True to prevent feedback loops while editing settings.
Description of user facing changes:

Configuration profile triggers now activate when the Add-on Store is open. Users who create a config profile triggered by the NVDA application (e.g., to enable table headers in the Add-on Store) will now have their profile correctly activated.
Description of developer facing changes:

Added shouldSuspendConfigProfileTriggers = False to AddonStoreDialog to override the inherited value from SettingsDialog.
Description of development approach:

The SettingsDialog base class sets shouldSuspendConfigProfileTriggers = True because changing settings while a profile trigger is active could cause confusion. However, the Add-on Store doesn't modify NVDA settings, so there's no reason to suspend triggers. The fix simply overrides this attribute to False.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

allow creating a settings profile with the current application trigger for nvda

3 participants