MS Word with UIA: do not fetch text-column-number as this causes MS Word to crash #13515
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Link to issue number:
Fixes #13511
Fixes #13503
Summary of the issue:
Fetching text-column-number using UIA custom patterns in MS Word, causes MS Word to crash.
this can happen when opening a blank document on MS Word start-up.
This has been reported to Microsoft.
Description of how this pull request fixes the issue:
No longer fetch text-column-number in MS Word with UIA. This should only be reenabled in future for newer versions of MS Word identified not to crash.
Testing strategy:
Opened a blank document in MS Word. MS Word no longer crashes on start-up. Confirmed that other custom attributes such as section number and bookmark still get reported.
Known issues with pull request:
None known.
Change log entries:
None needed.
New features
Changes
Bug fixes
For Developers
Code Review Checklist: