Skip to content

Fix plugin reload#14409

Merged
seanbudd merged 1 commit into
nvaccess:masterfrom
LeonarddeR:i14408
Nov 28, 2022
Merged

Fix plugin reload#14409
seanbudd merged 1 commit into
nvaccess:masterfrom
LeonarddeR:i14408

Conversation

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Link to issue number:

Fixes #14408

Summary of the issue:

PR #14350 streamlined import code for globalPlugins and appModules. However, the reloading of these modules was overlooked.

Description of user facing changes

Reloading of appModules/globalPlugins works again

Description of development approach

The reloading functions for both appModules and globalPlugins call addonhandler.packaging.addDirsToPythonPackagePath

Testing strategy:

Tested that at least globalPlugin reloading works again. @nvdaes could you please have a test as well?

Known issues with pull request:

Change log entries:

None needed

Code Review Checklist:

  • Pull Request description:
    • description is up to date
    • change log entries
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • API is compatible with existing add-ons.
  • Documentation:
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • Security precautions taken.

@LeonarddeR LeonarddeR requested a review from a team as a code owner November 28, 2022 07:04
@nvdaes

nvdaes commented Nov 28, 2022

Copy link
Copy Markdown
Collaborator

I've tested this PR with eMule add-onand the app module can be reloaded pressing NVDA+control+f3, so I think that the reported issue is fixed with this PR.

@Brian1Gaff

Brian1Gaff commented Nov 28, 2022 via email

Copy link
Copy Markdown

@seanbudd seanbudd merged commit c8c5cd4 into nvaccess:master Nov 28, 2022
@nvaccessAuto nvaccessAuto added this to the 2023.1 milestone Nov 28, 2022
@LeonarddeR LeonarddeR deleted the i14408 branch August 23, 2025 06:27
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.

Cannot reload plugins in NVDA snapshots

5 participants