I'm not sure if this has anything to do with the change in comtypes between 1.2.0 and 1.4.6?
Maybe they changed the import of the generated file?
Steps to reproduce:
- Run
scons source
- Run
code .
Actual behavior:
The IDE could not find a definition related to comInterfaces.
In VS Code:
For example, F12 in source\UIAHandler\__init__.py could not find the definition of UIA.UIA_FrameworkIdPropertyId.
No autocomplete etc.
Expected behavior:
The IDE can find definitions related to comInterfaces.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
NVDA version:
Windows version:
Name and version of other software in use when reproducing the issue:
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
Irrelevant.
Have you tried any other versions of NVDA? If so, please report their behaviors.
Irrelevant.
If NVDA add-ons are disabled, is your problem still occurring?
Irrelevant.
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Irrelevant.
I'm not sure if this has anything to do with the change in comtypes between 1.2.0 and 1.4.6?
Maybe they changed the import of the generated file?
Steps to reproduce:
scons sourcecode .Actual behavior:
The IDE could not find a definition related to comInterfaces.
In VS Code:
For example, F12 in
source\UIAHandler\__init__.pycould not find the definition ofUIA.UIA_FrameworkIdPropertyId.No autocomplete etc.
Expected behavior:
The IDE can find definitions related to comInterfaces.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
NVDA version:
Windows version:
Name and version of other software in use when reproducing the issue:
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
Irrelevant.
Have you tried any other versions of NVDA? If so, please report their behaviors.
Irrelevant.
If NVDA add-ons are disabled, is your problem still occurring?
Irrelevant.
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Irrelevant.