[PR #2609] [MERGED] Improve Accessibility Reliability #25013

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/2609
Author: @carlos-zamora
Created: 8/29/2019
Status: Merged
Merged: 9/23/2019
Merged by: @carlos-zamora

Base: masterHead: dev/cazamor/acc/remove-WUP


📝 Commits (3)

  • 74b243f Remove WindowUiaProvider entry points
  • 9ffe519 code format
  • 8f0fe3a prefer universal initialization

📊 Changes

4 files changed (+31 additions, -4 deletions)

View changed files

📝 src/cascadia/TerminalControl/TermControl.cpp (+9 -3)
📝 src/cascadia/WindowsTerminal/BaseWindow.h (+11 -0)
📝 src/cascadia/WindowsTerminal/IslandWindow.cpp (+10 -0)
📝 src/cascadia/WindowsTerminal/IslandWindow.h (+1 -1)

📄 Description

Summary of the Pull Request

Remove WindowUiaProvider entry points
Make TerminalAutomationPeer not crash the app if creation failed.

References

PR Checklist

  • Closes nothing
  • CLA signed.
  • Tests added/passed
  • Requires documentation to be updated
  • I'm a core contributor

Detailed Description of the Pull Request / Additional comments

WindowUiaProvider was something I thought we needed. We still need it for signaling (maybe). But it sometimes can crash because it's not hooked up properly at all. For now, I removed all entry points. After the signaling model gets added for #2447, I'll decide if we actually need to remove it.

Also surrounded the TerminalControlAutomationPeer with a try/catch. If we don't have everything we need to create the AutomationPeer yet, we'll just catch it and move forward.

Validation Steps Performed


🔄 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/2609 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 8/29/2019 **Status:** ✅ Merged **Merged:** 9/23/2019 **Merged by:** [@carlos-zamora](https://github.com/carlos-zamora) **Base:** `master` ← **Head:** `dev/cazamor/acc/remove-WUP` --- ### 📝 Commits (3) - [`74b243f`](https://github.com/microsoft/terminal/commit/74b243fe8501f37847ab3da91f027da539e5abef) Remove WindowUiaProvider entry points - [`9ffe519`](https://github.com/microsoft/terminal/commit/9ffe5197464064742dd236b85a6cfc59ab618455) code format - [`8f0fe3a`](https://github.com/microsoft/terminal/commit/8f0fe3a2d013455b783d97ab3a52789bbbb2bfab) prefer universal initialization ### 📊 Changes **4 files changed** (+31 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+9 -3) 📝 `src/cascadia/WindowsTerminal/BaseWindow.h` (+11 -0) 📝 `src/cascadia/WindowsTerminal/IslandWindow.cpp` (+10 -0) 📝 `src/cascadia/WindowsTerminal/IslandWindow.h` (+1 -1) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Remove WindowUiaProvider entry points Make TerminalAutomationPeer not crash the app if creation failed. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes nothing * [x] CLA signed. * [x] ~Tests added/passed~ * [x] ~Requires documentation to be updated~ * [x] I'm a core contributor <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments WindowUiaProvider was something I thought we needed. We still need it for signaling (maybe). But it sometimes can crash because it's not hooked up properly at all. For now, I removed all entry points. After the signaling model gets added for #2447, I'll decide if we actually need to remove it. Also surrounded the TerminalControlAutomationPeer with a try/catch. If we don't have everything we need to create the AutomationPeer yet, we'll just catch it and move forward. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed --- <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:06:42 +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#25013