Skip to content

UIA: assume Windows 7 is in use and remove constants that are now part of current interface#8422

Merged
michaelDCurran merged 5 commits into
nvaccess:masterfrom
josephsl:uiaWin7andBeyond
Jul 18, 2018
Merged

UIA: assume Windows 7 is in use and remove constants that are now part of current interface#8422
michaelDCurran merged 5 commits into
nvaccess:masterfrom
josephsl:uiaWin7andBeyond

Conversation

@josephsl

@josephsl josephsl commented Jun 20, 2018

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #8415, #8416

Summary of the issue:

UIA: assume Windows 7 is in use, remove constants that are now part of current UIA interface.

Description of how this pull request fixes the issue:

Because NVDA supports Windows 7 (SP1) and later, and since IUIA5 support is part of NVDA, do:

  • Assume Windows 7 is in use: no longer need to check minimum Windows version.
  • Remove redundant constants: constants: constants that were noted as unavailable in Windows 8.x in the old days are now part of UIA interface that ships with NVDA.

Testing performed:

Tested on various operating systems,. including Windows 7, Windows Server 2012 R2 (Windows 8.1), and Windows 10.

Known issues with pull request:

None

Change log entry:

Change for developers: As NVDA supports Windows 7 SP1 and later, the key "minWindowsVersion" used to check if UIA should be enabled for a particular release of Windows has been removed.

josephsl added 3 commits June 19, 2018 20:56
…ey. Re nvaccess#8415.

UIA support in NVDA assumes Windows 7 or later. Because NVDA supports Windows 7 (SP1) and later, just assume UIA is available. However, for cases where UIA should be turned off, turn this on if UIA enabled key (from config) is on.
As NVDA supports Windows 7 (SP1) and later, there's no need to check if min Windows version is 7 anymore, thus the coresponding key in Config manager/UIA section is no longer applicable.
… with NVDA. Re nvaccess#8416.

In the old days, when UIA handler supported Windows 7 and 8.x (IUIA1 through IUIA3), there were constants that were not part of the interface file that came with NVDA. now that iUIA5 is supported (and in the future, IUIA6), it makes no sense to continue to include constants that are now part of the interface itself. Thus constants included in latest UIA interface are no longer part of NVDA's own UIA handler module (not all are gone, however).
LeonarddeR
LeonarddeR previously approved these changes Jun 20, 2018

@LeonarddeR LeonarddeR left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@michaelDCurran: could you also have a quick look?

josephsl added a commit that referenced this pull request Jun 28, 2018
@michaelDCurran michaelDCurran merged commit 3865cce into nvaccess:master Jul 18, 2018
@nvaccessAuto nvaccessAuto added this to the 2018.3 milestone Jul 18, 2018
@josephsl josephsl deleted the uiaWin7andBeyond branch July 18, 2018 22:22
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.

UIA: just assume UIA is available as NVDA supports Windows 7 SP1 and higher

4 participants