MS Word with UIA: do not fetch text-column-number as this causes MS Word to crash#13515
Merged
Conversation
seanbudd
approved these changes
Mar 21, 2022
seanbudd
added a commit
that referenced
this pull request
Mar 21, 2022
seanbudd
added a commit
that referenced
this pull request
Mar 21, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: