[PR #5215] [MERGED] Add more object ID tracing for Accessibility #26178

Open
opened 2026-01-31 09:14:27 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/5215
Author: @carlos-zamora
Created: 4/1/2020
Status: Merged
Merged: 4/3/2020
Merged by: @undefined

Base: masterHead: dev/cazamor/acc/init


📝 Commits (5)

📊 Changes

9 files changed (+128 additions, -42 deletions)

View changed files

src/types/IUiaTraceable.h (+54 -0)
📝 src/types/ScreenInfoUiaProviderBase.cpp (+7 -6)
📝 src/types/ScreenInfoUiaProviderBase.h (+3 -1)
📝 src/types/UiaTextRangeBase.cpp (+0 -13)
📝 src/types/UiaTextRangeBase.hpp (+2 -14)
📝 src/types/UiaTracing.cpp (+48 -5)
📝 src/types/UiaTracing.h (+10 -3)
📝 src/types/lib/types.vcxproj (+1 -0)
📝 src/types/lib/types.vcxproj.filters (+3 -0)

📄 Description

Summary of the Pull Request

In preparation for getting more accessibility-related issues, I added an ID to the ScreenInfoUiaProvider (SIUP) and abstracted the one from UiaTextRange. Using this, I noticed that we are creating SIUPs when a new tab/pane is created. This is good. This means that we need to somehow notify a UIA Client that out structure has changed, and we need to use the new SIUP because the old one has been removed.

I'll be investigating that more after this PR lands.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/5215 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 4/1/2020 **Status:** ✅ Merged **Merged:** 4/3/2020 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `dev/cazamor/acc/init` --- ### 📝 Commits (5) - [`06ac815`](https://github.com/microsoft/terminal/commit/06ac8157fd40de9e2be3d3626c907b17d5ce7c79) Add more object id tracing for Accessibility - [`22c93bd`](https://github.com/microsoft/terminal/commit/22c93bd8da5ded3714b77f22f6a65e506acf33aa) smarter id assignment - [`1600ef0`](https://github.com/microsoft/terminal/commit/1600ef0caf5c71a1fb043d7d3cb0ea37313803f5) code format - [`ccc9f77`](https://github.com/microsoft/terminal/commit/ccc9f77b27a12d2e4bd06ddb25c67d6d585f516b) no exceptions here - [`2b12f15`](https://github.com/microsoft/terminal/commit/2b12f152deabbcf08cff75403b2b0f0f21d178fd) add comments, fix clone ### 📊 Changes **9 files changed** (+128 additions, -42 deletions) <details> <summary>View changed files</summary> ➕ `src/types/IUiaTraceable.h` (+54 -0) 📝 `src/types/ScreenInfoUiaProviderBase.cpp` (+7 -6) 📝 `src/types/ScreenInfoUiaProviderBase.h` (+3 -1) 📝 `src/types/UiaTextRangeBase.cpp` (+0 -13) 📝 `src/types/UiaTextRangeBase.hpp` (+2 -14) 📝 `src/types/UiaTracing.cpp` (+48 -5) 📝 `src/types/UiaTracing.h` (+10 -3) 📝 `src/types/lib/types.vcxproj` (+1 -0) 📝 `src/types/lib/types.vcxproj.filters` (+3 -0) </details> ### 📄 Description ## Summary of the Pull Request In preparation for getting more accessibility-related issues, I added an ID to the `ScreenInfoUiaProvider` (SIUP) and abstracted the one from `UiaTextRange`. Using this, I noticed that we are creating SIUPs when a new tab/pane is created. This is _good_. This means that we need to somehow notify a UIA Client that out structure has changed, and we need to use the new SIUP because the old one has been removed. I'll be investigating that more after this PR lands. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:14:27 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26178