Fix for navigator object highlighting activation #13641
Merged
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:
None
Summary of the issue:
When activating Highlight of navigator object, the highlighting rectangle does not show up. It only shows up when the navigator object is moved for the first time. If the highlight of nav object is previously disabled, the issue occurs for all the four following types of activation:
Description of how this pull request fixes the issue:
Checks nav object initialization when the providers are initialized. Prior to this PR, only the focus initialization was checked (and the caret thanks to it).
Testing strategy:
Manually tested the 4 cases described in the section "Summary of the issue".
All successful.
Test 3 successful provided that you are not in the case described in #13640.
Known issues with pull request:
Test 3 may fail due to #13640. But it works once you have executed the whole STR of #13640.
Change log entries:
Bug fixes
Navigator object highlighting now shows up immediately upon activation of the feature.
Code Review Checklist: