Skip to content

Python 3: Fix comparison error in start menu - #9846

Merged
feerrenrut merged 1 commit into
nvaccess:threshold_py3_stagingfrom
LeonarddeR:python3-UIA
Jul 1, 2019
Merged

Python 3: Fix comparison error in start menu#9846
feerrenrut merged 1 commit into
nvaccess:threshold_py3_stagingfrom
LeonarddeR:python3-UIA

Conversation

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Link to issue number:

Fixes #9842

Summary of the issue:

Threshold_py3_staging can raise a TypeErrorin the Windows 10 start menu.

Description of how this pull request fixes the issue:

Before detecting the UIA Heading level, make sure that we are comparing against an int, not against a pointer to IUnknown.

Testing performed:

  1. Made sure that the error in the start menu disappeared.
  2. Made sure that heading detection still works in Edge.

Known issues with pull request:

None

Change log entry:

None

@feerrenrut
feerrenrut merged commit 3e04309 into nvaccess:threshold_py3_staging Jul 1, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Jul 1, 2019
@LeonarddeR
LeonarddeR deleted the python3-UIA 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.

3 participants