Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Developer: IDE-friendly function matching for comInterfaces fails and the IDE cannot find the definition. #17608

Open
hwf1324 opened this issue Jan 10, 2025 · 5 comments
Labels
audience/nvda-dev PR or issue is relevant to NVDA / Add-on developers blocked/needs-info The issue can not be progressed until more information is provided. p5 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.

Comments

@hwf1324
Copy link
Contributor

hwf1324 commented Jan 10, 2025

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:

  1. Run scons source
  2. 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.

@hwf1324
Copy link
Contributor Author

hwf1324 commented Jan 10, 2025

CC: @LeonarddeR

@LeonarddeR
Copy link
Collaborator

Could you elaborate on what you mean with The IDE could not find a definition related to comInterfaces? Please expand your steps to reproduce, mention your IDE, etc.

@hwf1324
Copy link
Contributor Author

hwf1324 commented Jan 11, 2025

Could you elaborate on what you mean with The IDE could not find a definition related to comInterfaces? Please expand your steps to reproduce, mention your IDE, etc.

Sorry for the lack of detail in my description. I updated the description.

The relevant code is:

importPattern = re.compile(r"from comtypes\.gen import ([\w]+)\n")

And the import of the code generated by comtypes no longer seems to match.

@gerald-hartig gerald-hartig added p5 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority audience/nvda-dev PR or issue is relevant to NVDA / Add-on developers triaged Has been triaged, issue is waiting for implementation. labels Jan 13, 2025
@gerald-hartig
Copy link
Collaborator

@hwf1324 Can you please confirm that this is a regression and used to work in the past?

@gerald-hartig gerald-hartig added the blocked/needs-info The issue can not be progressed until more information is provided. label Jan 13, 2025
@hwf1324
Copy link
Contributor Author

hwf1324 commented Jan 14, 2025

Can you please confirm that this is a regression and used to work in the past?

Yes, for example, the previous Git tracked file looked like this:

try:
from comtypes.gen import _944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0
except ModuleNotFoundError:
import _944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0
from _944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0 import *

The build now generates UIAutomationClient.py that looks like this:

from enum import IntFlag

import comtypes.gen._944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0 as __wrapper_module__
from comtypes.gen._944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0 import (
    UIA_FormLandmarkTypeId, UIA_BeforeParagraphSpacingAttributeId,
    WindowInteractionState_Running,
    ProviderOptions_NonClientAreaProvider, IUIAutomationStylesPattern,
    ExtendedProperty, UIA_OrientationPropertyId,
    UIA_SystemAlertEventId, UIA_WindowWindowVisualStatePropertyId,
    UIA_MultipleViewCurrentViewPropertyId, tagRECT,
    UIA_VirtualizedItemPatternId, UIA_TableColumnHeadersPropertyId,
    UIA_ScrollHorizontallyScrollablePropertyId,
    UIA_AnnotationPatternId, tagPOINT, AutomationElementMode_None,
    UIA_StructureChangedEventId, UIA_MarginTopAttributeId,
    UIA_SelectionIsSelectionRequiredPropertyId, TreeScope_Ancestors,
    UIA_HeaderControlTypeId, UIA_IsTogglePatternAvailablePropertyId,
    UIA_LegacyIAccessibleValuePropertyId,
    IUIAutomationSpreadsheetItemPattern, WindowVisualState_Normal,
    UIA_FlowsFromPropertyId, IUIAutomationTablePattern,
    UIA_Transform2ZoomMinimumPropertyId, DockPosition_Right,
    UIA_TransformPatternId, IUIAutomation, IUIAutomationTextPattern,
    ConnectionRecoveryBehaviorOptions_Disabled, CUIAutomation8,
    UIA_ThumbControlTypeId, UIA_SliderControlTypeId,
    UIA_BulletStyleAttributeId, UIA_RotationPropertyId,
    UIA_HyperlinkControlTypeId, UIA_ButtonControlTypeId,
    UIA_SelectionItem_ElementSelectedEventId,
    UIA_StylesExtendedPropertiesPropertyId,
    AnnotationType_FormatChange, UIA_DockPatternId,
    UIA_MenuOpenedEventId, UIA_IsRequiredForFormPropertyId,
    IUIAutomationCustomNavigationPattern,
    UIA_LegacyIAccessibleSelectionPropertyId,
    UIA_HasKeyboardFocusPropertyId, UIA_ClickablePointPropertyId,
    UIA_MenuModeEndEventId, UIA_ImageControlTypeId,
    UIA_VisualEffectsPropertyId, IUIAutomationElement,
    UIA_TitleBarControlTypeId, UIA_BoundingRectanglePropertyId,
    UIA_WindowPatternId, OrientationType_None, HeadingLevel_None,
    UIA_TransformCanResizePropertyId, WindowVisualState_Minimized,
    UIA_ToolTipClosedEventId, UIA_LegacyIAccessibleNamePropertyId,
    IUIAutomationTogglePattern, IUIAutomationElement7,
    UIA_LandmarkTypePropertyId, SynchronizedInputType_LeftMouseUp,
    StyleId_Heading5, NavigateDirection_NextSibling,
    SynchronizedInputType_KeyUp, UIA_ActiveTextPositionChangedEventId,
    ScrollAmount_NoAmount, PropertyConditionFlags_None,
    UIA_ComboBoxControlTypeId, UIA_Drag_DragStartEventId,
    IUIAutomationTextChildPattern, UIA_AnnotationObjectsAttributeId,
    IUIAutomationTransformPattern2, UIA_ProcessIdPropertyId,
    HeadingLevel1, UIA_MenuControlTypeId,
    TextEditChangeType_AutoCorrect, UIA_StyleNameAttributeId,
    ProviderOptions_ServerSideProvider,
    UIA_TransformCanMovePropertyId,
    UIA_InputReachedOtherElementEventId, CUIAutomation,
    UIA_TransformCanRotatePropertyId, UIA_PositionInSetPropertyId,
    UIA_StrikethroughStyleAttributeId, UIA_AnimationStyleAttributeId,
    UIA_FillColorPropertyId, RowOrColumnMajor_Indeterminate,
    IUIAutomationTransformPattern, UIA_LabeledByPropertyId,
    UIA_ToggleToggleStatePropertyId, UIA_IsPeripheralPropertyId,
    UIA_SpinnerControlTypeId, UIA_TableItemRowHeaderItemsPropertyId,
    UIA_TreeControlTypeId, UIA_IsGridItemPatternAvailablePropertyId,
    UIA_Selection2CurrentSelectedItemPropertyId,
    UIA_SelectionItemPatternId, TextUnit_Format,
    IUIAutomationInvokePattern, ToggleState_On, IUIAutomation5,
    _check_version, UIA_OverlineStyleAttributeId, TextUnit_Line,
    UIA_IsDragPatternAvailablePropertyId,
    UIA_SemanticZoomControlTypeId, ToggleState_Indeterminate,
    TreeScope_Subtree, IUIAutomationCacheRequest,
    IUIAutomationTextRange3, ScrollAmount_LargeDecrement,
    UIA_DocumentControlTypeId, StructureChangeType_ChildRemoved,
    UIA_GridPatternId, AutomationElementMode_Full,
    SupportedTextSelection_Multiple,
    UIA_RangeValueIsReadOnlyPropertyId, UIA_Drag_DragCancelEventId,
    UIA_SynchronizedInputPatternId, UIA_RangeValueMinimumPropertyId,
    UIA_PaneControlTypeId, UIA_IsTextPattern2AvailablePropertyId,
    UIA_IsContentElementPropertyId, UIA_SayAsInterpretAsAttributeId,
    IUIAutomationTextRange2, StructureChangeType_ChildrenBulkAdded,
    SupportedTextSelection_Single, UIA_ObjectModelPatternId,
    IUIAutomationElement9, UIA_ScrollHorizontalViewSizePropertyId,
    UIA_Window_WindowOpenedEventId, UIA_FontWeightAttributeId,
    DockPosition_Top, UIA_StylesFillPatternStylePropertyId,
    UIA_DragDropEffectsPropertyId,
    UIA_IsExpandCollapsePatternAvailablePropertyId,
    UIA_TextEdit_TextChangedEventId, UIA_Invoke_InvokedEventId,
    UIA_HelpTextPropertyId, UIA_WindowIsTopmostPropertyId,
    IUIAutomationElement4, UIA_IsEnabledPropertyId,
    AnnotationType_ExternalChange, UIA_AutomationIdPropertyId,
    UIA_DropTarget_DragLeaveEventId, UIA_ListItemControlTypeId,
    IUIAutomationBoolCondition, AnnotationType_FormulaError,
    UIA_StyleIdAttributeId, TreeTraversalOptions_LastToFirstOrder,
    StyleId_Heading9, UIA_LayoutInvalidatedEventId,
    WindowInteractionState_Closing, AnnotationType_UnsyncedChange,
    UIA_ScrollVerticalScrollPercentPropertyId,
    UIA_OptimizeForVisualContentPropertyId, IUIAutomation6,
    UIA_FontSizeAttributeId, IUIAutomationProxyFactory,
    ExpandCollapseState_LeafNode, IUIAutomationElement6,
    UIA_IsMultipleViewPatternAvailablePropertyId,
    UIA_DataItemControlTypeId, UIA_DropTarget_DroppedEventId,
    UIA_SayAsInterpretAsMetadataId, StyleId_Heading2,
    UIA_SpreadsheetItemFormulaPropertyId,
    ProviderOptions_UseComThreading, UIA_IsHiddenAttributeId,
    UIA_AnnotationTypesPropertyId, UIA_TextEditPatternId,
    TreeScope_Element, UIA_IsInvokePatternAvailablePropertyId,
    UIA_IsActiveAttributeId, StyleId_Heading6, UIA_StylesPatternId,
    HeadingLevel7, UIA_DragIsGrabbedPropertyId,
    UIA_StatusBarControlTypeId, UIA_AnnotationAuthorPropertyId,
    UIA_DropTargetDropTargetEffectsPropertyId,
    StructureChangeType_ChildrenInvalidated, UIA_SelectionPattern2Id,
    UIA_ChangesEventId, ProviderOptions_ProviderOwnsSetFocus,
    StyleId_Normal, ScrollAmount_SmallDecrement,
    UIA_AnnotationDateTimePropertyId, UIA_DockDockPositionPropertyId,
    CoalesceEventsOptions_Disabled,
    ProviderOptions_RefuseNonClientSupport,
    UIA_IsTransformPatternAvailablePropertyId,
    UIA_CaretBidiModeAttributeId, UIA_RangeValueSmallChangePropertyId,
    UIA_Selection_InvalidatedEventId,
    ProviderOptions_ClientSideProvider, UIA_DescribedByPropertyId,
    WindowVisualState_Maximized, UIA_CulturePropertyId,
    AnnotationType_Unknown, IUIAutomationRangeValuePattern,
    UIA_IsTransformPattern2AvailablePropertyId,
    UIA_IsTablePatternAvailablePropertyId, UIA_ToolTipControlTypeId,
    UIA_CaretPositionAttributeId, StyleId_Title,
    SynchronizedInputType_KeyDown, UIA_SizeOfSetPropertyId,
    UIA_CustomLandmarkTypeId, NotificationKind_Other,
    AnnotationType_Header, UIA_AriaPropertiesPropertyId,
    UIA_StylesFillColorPropertyId, UIA_DropTarget_DragEnterEventId,
    AnnotationType_AdvancedProofingIssue, UIA_SelectionPatternId,
    IUIAutomationTextEditTextChangedEventHandler,
    StructureChangeType_ChildrenBulkRemoved,
    RowOrColumnMajor_ColumnMajor, COMMETHOD,
    AnnotationType_DataValidationError,
    IUIAutomationPropertyCondition, dispid, IUIAutomation3,
    ZoomUnit_SmallIncrement, UIA_AfterParagraphSpacingAttributeId,
    UIA_LocalizedLandmarkTypePropertyId,
    AnnotationType_CircularReferenceError,
    UIA_IndentationTrailingAttributeId,
    StructureChangeType_ChildrenReordered, TreeScope_Descendants,
    HeadingLevel3, IUIAutomationSelectionItemPattern,
    UIA_DropTargetPatternId, HeadingLevel8,
    UIA_WindowIsModalPropertyId, WSTRING,
    UIA_IsSelectionItemPatternAvailablePropertyId,
    UIA_IsVirtualizedItemPatternAvailablePropertyId,
    ScrollAmount_LargeIncrement, TextUnit_Paragraph,
    UIA_TreeItemControlTypeId, UIA_IsControlElementPropertyId,
    StyleId_BulletedList, SynchronizedInputType_RightMouseDown,
    UIA_SelectionActiveEndAttributeId,
    UIA_IsWindowPatternAvailablePropertyId,
    UIA_Transform2CanZoomPropertyId, UIA_LiveRegionChangedEventId,
    HeadingLevel5, IUIAutomationDropTargetPattern,
    IUIAutomationTextPattern2, UIA_ItemTypePropertyId,
    UIA_AnnotationTargetPropertyId, StyleId_Heading8,
    UIA_GridItemRowSpanPropertyId, IUIAutomationChangesEventHandler,
    UIA_NamePropertyId, UIA_WindowControlTypeId,
    AnnotationType_DeletionChange, UIA_CustomControlTypeId,
    UIA_ScrollBarControlTypeId,
    UIA_IsSynchronizedInputPatternAvailablePropertyId,
    StyleId_Heading4, ConnectionRecoveryBehaviorOptions_Enabled,
    UIA_CheckBoxControlTypeId, UIA_GridItemColumnSpanPropertyId,
    ExpandCollapseState_PartiallyExpanded,
    IUIAutomationTableItemPattern,
    NotificationProcessing_CurrentThenMostRecent,
    UIA_Selection2LastSelectedItemPropertyId, UIA_ScrollPatternId,
    UIA_ValueIsReadOnlyPropertyId, UIA_WindowCanMinimizePropertyId,
    UIA_IsAnnotationPatternAvailablePropertyId,
    UIA_FontNameAttributeId, IUIAutomationLegacyIAccessiblePattern,
    AnnotationType_GrammarError,
    UIA_IsDropTargetPatternAvailablePropertyId,
    UIA_InputReachedTargetEventId, UIA_IsKeyboardFocusablePropertyId,
    TextUnit_Word, IUIAutomationElementArray,
    UIA_FrameworkIdPropertyId,
    UIA_SelectionItemSelectionContainerPropertyId, TreeScope_Children,
    UIA_TextEdit_ConversionTargetChangedEventId,
    AnnotationType_Mathematics, StyleId_Subtitle,
    IUIAutomationGridItemPattern, UIA_GridItemPatternId,
    UIA_InputDiscardedEventId, UIA_RangeValueMaximumPropertyId,
    ExpandCollapseState_Expanded, NotificationKind_ItemAdded,
    UIA_Transform2ZoomLevelPropertyId,
    UIA_IsTextPatternAvailablePropertyId, OrientationType_Vertical,
    IUnknown, IUIAutomationCondition, UIA_MarginBottomAttributeId,
    UIA_TextChildPatternId, UIA_GridItemContainingGridPropertyId,
    IUIAutomationMultipleViewPattern, IUIAutomationNotCondition,
    OrientationType_Horizontal, UIA_RadioButtonControlTypeId,
    UIA_StylesFillPatternColorPropertyId,
    NotificationKind_ActionCompleted, IUIAutomationObjectModelPattern,
    AnnotationType_TrackChanges,
    UIA_LegacyIAccessibleDefaultActionPropertyId, DockPosition_Left,
    UIA_AccessKeyPropertyId,
    UIA_SelectionItem_ElementRemovedFromSelectionEventId,
    UIA_GridItemRowPropertyId, UIA_HorizontalTextAlignmentAttributeId,
    UIA_RangeValueValuePropertyId, UIA_TextPatternId,
    NotificationProcessing_ImportantAll, UIA_ClassNamePropertyId,
    UIA_AutomationPropertyChangedEventId, UIA_HeadingLevelPropertyId,
    UIA_MultipleViewSupportedViewsPropertyId,
    PropertyConditionFlags_IgnoreCase, TextUnit_Document,
    UIA_EditControlTypeId, UIA_Text_TextSelectionChangedEventId,
    UIA_SearchLandmarkTypeId, UIA_AsyncContentLoadedEventId,
    UIA_IsSubscriptAttributeId, IUIAutomationNotificationEventHandler,
    UIA_LegacyIAccessibleStatePropertyId,
    IUIAutomationTextEditPattern, UIA_UnderlineStyleAttributeId,
    IUIAutomation4, NotificationKind_ActionAborted, StyleId_Emphasis,
    UIA_SpreadsheetPatternId, SynchronizedInputType_RightMouseUp,
    UIA_MarginTrailingAttributeId, UIA_IndentationLeadingAttributeId,
    UIA_FillTypePropertyId, UIA_CenterPointPropertyId,
    UIA_TableRowHeadersPropertyId, UIA_ProgressBarControlTypeId,
    WindowInteractionState_BlockedByModalWindow,
    NotificationKind_ItemRemoved, IAccessible, UIA_TableItemPatternId,
    UIA_WindowCanMaximizePropertyId, typelib_path,
    DockPosition_Bottom, UIA_RangeValuePatternId,
    UIA_IsDialogPropertyId, UIA_RangeValueLargeChangePropertyId,
    UIA_IsScrollPatternAvailablePropertyId, ZoomUnit_LargeIncrement,
    ProviderOptions_HasNativeIAccessible,
    UIA_AcceleratorKeyPropertyId, NavigateDirection_LastChild,
    UIA_IndentationFirstLineAttributeId,
    UIA_DropTargetDropTargetEffectPropertyId, ToggleState_Off,
    UIA_MainLandmarkTypeId, StyleId_Custom,
    UIA_MarginLeadingAttributeId, ZoomUnit_SmallDecrement,
    IUIAutomationOrCondition, UIA_AriaRolePropertyId,
    StructureChangeType_ChildAdded,
    IUIAutomationActiveTextPositionChangedEventHandler,
    UIA_LegacyIAccessibleChildIdPropertyId, UIA_ToolTipOpenedEventId,
    UIA_CalendarControlTypeId, TreeTraversalOptions_PostOrder, Off,
    UIA_Drag_DragCompleteEventId, DockPosition_None,
    UIA_StylesStyleIdPropertyId, IUIAutomationGridPattern,
    UIA_CapStyleAttributeId, AnnotationType_Highlighted,
    TextUnit_Character, IDispatch, Assertive,
    UIA_SelectionCanSelectMultiplePropertyId,
    UIA_IsSpreadsheetPatternAvailablePropertyId,
    UIA_MenuClosedEventId, UIA_NativeWindowHandlePropertyId,
    CoalesceEventsOptions_Enabled,
    UIA_IsTableItemPatternAvailablePropertyId,
    UIA_DragDropEffectPropertyId, UIA_TabItemControlTypeId,
    IUIAutomationPropertyChangedEventHandler,
    AnnotationType_EditingLockedChange,
    UIA_WindowWindowInteractionStatePropertyId,
    AnnotationType_SpellingError,
    UIA_SelectionItem_ElementAddedToSelectionEventId,
    UIA_TableRowOrColumnMajorPropertyId, UIA_MenuItemControlTypeId,
    UIA_SizePropertyId, UIA_IsRangeValuePatternAvailablePropertyId,
    UIA_LegacyIAccessiblePatternId, HeadingLevel4,
    UIA_TableControlTypeId, TextEditChangeType_CompositionFinalized,
    StyleId_Heading1, UIA_LiveSettingPropertyId,
    UIA_RuntimeIdPropertyId, IUIAutomationScrollItemPattern,
    UIA_UnderlineColorAttributeId, UIA_ControlTypePropertyId,
    UIA_TogglePatternId, UIA_SelectionItemIsSelectedPropertyId,
    NavigateDirection_Parent, StyleId_Heading7,
    NotificationProcessing_MostRecent, IUIAutomationElement2,
    UIA_IsReadOnlyAttributeId, IUIAutomationSelectionPattern2,
    IUIAutomationTextRangeArray, UIA_LevelPropertyId, Library,
    UIA_HeaderItemControlTypeId, IUIAutomationValuePattern,
    UIA_TextPattern2Id, UIA_IsSelectionPattern2AvailablePropertyId,
    UIA_NotificationEventId,
    UIA_ExpandCollapseExpandCollapseStatePropertyId,
    ScrollAmount_SmallIncrement, IUIAutomationProxyFactoryMapping,
    IUIAutomationFocusChangedEventHandler,
    UIA_GridColumnCountPropertyId,
    ProviderOptions_UseClientCoordinates, AnnotationType_MoveChange,
    AnnotationType_Sensitive, IUIAutomationExpandCollapsePattern,
    UIA_SpreadsheetItemPatternId, UIA_SeparatorControlTypeId,
    ZoomUnit_NoAmount, UIA_SplitButtonControlTypeId,
    IUIAutomationAndCondition, TreeScope_None,
    UIA_StrikethroughColorAttributeId, IUIAutomationElement5,
    UIA_IsItalicAttributeId, UIA_MenuBarControlTypeId, HeadingLevel9,
    UIA_MenuModeStartEventId, UIA_SelectionSelectionPropertyId,
    IUIAutomationSelectionPattern, UIA_TabsAttributeId,
    _midlSAFEARRAY, UIA_InvokePatternId, SupportedTextSelection_None,
    UIA_Text_TextChangedEventId, SynchronizedInputType_LeftMouseDown,
    TextEditChangeType_Composition, RowOrColumnMajor_RowMajor,
    IUIAutomationDragPattern, _lcid, UIA_ExpandCollapsePatternId,
    UIA_ScrollItemPatternId, UIA_GridItemColumnPropertyId,
    UIA_IsObjectModelPatternAvailablePropertyId, StyleId_Quote,
    IUIAutomationSynchronizedInputPattern,
    UIA_SpreadsheetItemAnnotationTypesPropertyId,
    UIA_TableItemColumnHeaderItemsPropertyId,
    UIA_IsSpreadsheetItemPatternAvailablePropertyId,
    UIA_ControllerForPropertyId, ProviderOptions_OverrideProvider,
    UIA_TablePatternId, UIA_TextFlowDirectionsAttributeId,
    IUIAutomationEventHandlerGroup,
    WindowInteractionState_ReadyForUserInteraction, StyleId_Heading3,
    AnnotationType_ConflictingChange, VARIANT, IUIAutomationTextRange,
    IUIAutomationStructureChangedEventHandler, StyleId_NumberedList,
    IUIAutomationEventHandler, UIA_AutomationFocusChangedEventId,
    UIA_OutlineColorPropertyId, UIA_BackgroundColorAttributeId,
    UIA_SummaryChangeId,
    UIA_SpreadsheetItemAnnotationObjectsPropertyId,
    UIA_OutlineStylesAttributeId, UIA_TextControlTypeId,
    IUIAutomationTreeWalker, HeadingLevel6, IRawElementProviderSimple,
    UIA_ProviderDescriptionPropertyId, AnnotationType_Footnote,
    UIA_FullDescriptionPropertyId, ExpandCollapseState_Collapsed,
    AnnotationType_Endnote, UIA_Window_WindowClosedEventId,
    UIA_IsOffscreenPropertyId, TextEditChangeType_AutoComplete,
    UIA_LegacyIAccessibleKeyboardShortcutPropertyId, GUID,
    IUIAutomationItemContainerPattern, TreeScope_Parent,
    UIA_TransformPattern2Id, IUIAutomationVirtualizedItemPattern,
    DockPosition_Fill, AnnotationType_InsertionChange,
    UIA_LineSpacingAttributeId,
    UIA_IsStylesPatternAvailablePropertyId, IUIAutomationElement8,
    UIA_AnnotationAnnotationTypeIdPropertyId,
    UIA_DragGrabbedItemsPropertyId,
    UIA_AnnotationAnnotationTypeNamePropertyId,
    UIA_ScrollVerticalViewSizePropertyId,
    UIA_HostedFragmentRootsInvalidatedEventId,
    UIA_DataGridControlTypeId, IUIAutomationDockPattern,
    NavigateDirection_FirstChild, UIA_DragPatternId,
    UIA_ScrollHorizontalScrollPercentPropertyId,
    UIA_GroupControlTypeId,
    UIA_IsCustomNavigationPatternAvailablePropertyId,
    UIA_LegacyIAccessibleRolePropertyId, UIA_ItemContainerPatternId,
    UIA_IsLegacyIAccessiblePatternAvailablePropertyId,
    UIA_AppBarControlTypeId, UIA_ValueValuePropertyId,
    TreeTraversalOptions_Default, UIA_Selection2ItemCountPropertyId,
    Polite, UIA_ItemStatusPropertyId, NotificationProcessing_All,
    UIA_OutlineThicknessPropertyId,
    UIA_IsValuePatternAvailablePropertyId, UIA_ValuePatternId,
    UIA_OverlineColorAttributeId, TextPatternRangeEndpoint_Start,
    IUIAutomationSpreadsheetPattern,
    UIA_IsScrollItemPatternAvailablePropertyId,
    ZoomUnit_LargeDecrement, UIA_NavigationLandmarkTypeId,
    UIA_LegacyIAccessibleHelpPropertyId,
    UIA_IsItemContainerPatternAvailablePropertyId,
    AnnotationType_Footer, UIA_ToolBarControlTypeId,
    UIA_IsDataValidForFormPropertyId,
    UIA_IsTextEditPatternAvailablePropertyId, HRESULT,
    PropertyConditionFlags_MatchSubstring,
    UIA_LegacyIAccessibleDescriptionPropertyId,
    NotificationProcessing_ImportantMostRecent,
    UIA_AnnotationObjectsPropertyId,
    UIA_LocalizedControlTypePropertyId, UIA_StylesStyleNamePropertyId,
    TextEditChangeType_None, UIA_CustomNavigationPatternId,
    HeadingLevel2, CoClass, UIA_IsPasswordPropertyId,
    UIA_IsGridPatternAvailablePropertyId, AnnotationType_Author,
    UIA_ForegroundColorAttributeId, TextUnit_Page,
    UIA_IsSuperscriptAttributeId, BSTR,
    IUIAutomationProxyFactoryEntry, IUIAutomationWindowPattern,
    UIA_MultipleViewPatternId, IUIAutomationScrollPattern,
    IUIAutomationElement3, UIA_AnnotationTypesAttributeId,
    UIA_IsTextChildPatternAvailablePropertyId,
    UIA_ScrollVerticallyScrollablePropertyId, AnnotationType_Comment,
    IUIAutomationAnnotationPattern,
    UIA_Transform2ZoomMaximumPropertyId,
    WindowInteractionState_NotResponding,
    UIA_Selection2FirstSelectedItemPropertyId, IUIAutomation2,
    UIA_ListControlTypeId, UIA_StylesShapePropertyId,
    UIA_IsDockPatternAvailablePropertyId, UIA_FlowsToPropertyId,
    UIA_LinkAttributeId, UIA_CultureAttributeId,
    UIA_IsSelectionPatternAvailablePropertyId,
    UIA_GridRowCountPropertyId, TextPatternRangeEndpoint_End,
    UiaChangeInfo, UIA_TabControlTypeId,
    NavigateDirection_PreviousSibling
)

I'm not sure if the previous version worked properly though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audience/nvda-dev PR or issue is relevant to NVDA / Add-on developers blocked/needs-info The issue can not be progressed until more information is provided. p5 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.
Projects
None yet
Development

No branches or pull requests

3 participants