Skip to content

Fix-up of #9079: Move _nvdaControllerInternal_reportLiveRegion to the end of interface definitions to fix add-ons installs.#11877

Merged
michaelDCurran merged 1 commit intonvaccess:masterfrom
lukaszgo1:I11867
Nov 30, 2020
Merged

Conversation

@lukaszgo1
Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #11867

Summary of the issue:

PR #9079 added a new function to the NVDA Helper interface. This made it impossible to install add-ons when older version of NVDA is installed on the system.

Description of how this pull request fixes the issue:

If _nvdaControllerInternal_reportLiveRegion is placed at the end of the interface definition files this problem does not occur anymore. Since I can't see any reason not to do that _nvdaControllerInternal_reportLiveRegion is moved to the end.

Testing performed:

With NVDA 2019.2.1 installed and build from this PR running as portable:

  • Tested that add-ons can be installed from Windows Explorer
  • In firefox ensured that live regions are still suppressed when Report dynamic content changes is disabled.

Known issues with pull request:

Perhaps the fact that new functions need to be added ad the end of interface files not to break backward compatibility should be documented somewhere?

Change log entry:

None needed - this issue is not in a release yet.

Copy link
Copy Markdown
Member

@michaelDCurran michaelDCurran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically only the changes to the idl and acf files are necessary, not the c or def files. However, having the order maintained in all of them is probably a good thing so I'll accept this as is.

@michaelDCurran michaelDCurran merged commit be581e8 into nvaccess:master Nov 30, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.4 milestone Nov 30, 2020
@lukaszgo1 lukaszgo1 deleted the I11867 branch November 30, 2020 06:43
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.

Unable to install add-ons on last alpha

3 participants