[PR #10874] [MERGED] Initialize the padding for the Control UIA provider #28278

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10874
Author: @zadjii-msft
Created: 8/4/2021
Status: Merged
Merged: 8/11/2021
Merged by: @undefined

Base: mainHead: dev/migrie/b/9955.e-control-padding-fix


📝 Commits (1)

  • 6dc11fc This is a fix for #9955.e, just make sure to initialize the padding

📊 Changes

3 files changed (+10 additions, -2 deletions)

View changed files

📝 src/cascadia/TerminalControl/TermControl.cpp (+7 -1)
📝 src/cascadia/TerminalControl/TermControlAutomationPeer.cpp (+2 -1)
📝 src/cascadia/TerminalControl/TermControlAutomationPeer.h (+1 -0)

📄 Description

Summary of the Pull Request

This was missed in #10051. We need to make sure that the UIA provider can immediately know about the padding in the control, not just after the settings reload.

PR Checklist

  • Closes #9955.e
    • Additionally, this just closes #9955. The only remaining box in there never repro'd, so probably wasn't even root caused by #9820. I think we can close that issue for now, and reactivate if something else was broken.
  • I work here
  • Tests added/passed
  • [n/a] Requires documentation to be updated

Validation Steps Performed

Checked before/after in Accessibility Insights. Before the row rectangles were the full width of the control initially. Now they're properly padded.


🔄 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/10874 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 8/4/2021 **Status:** ✅ Merged **Merged:** 8/11/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/migrie/b/9955.e-control-padding-fix` --- ### 📝 Commits (1) - [`6dc11fc`](https://github.com/microsoft/terminal/commit/6dc11fc115c4588f4ae565f41e925d52f494ccba) This is a fix for #9955.e, just make sure to initialize the padding ### 📊 Changes **3 files changed** (+10 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+7 -1) 📝 `src/cascadia/TerminalControl/TermControlAutomationPeer.cpp` (+2 -1) 📝 `src/cascadia/TerminalControl/TermControlAutomationPeer.h` (+1 -0) </details> ### 📄 Description ## Summary of the Pull Request This was missed in #10051. We need to make sure that the UIA provider can immediately know about the padding in the control, not just after the settings reload. ## PR Checklist * [x] Closes #9955.e * [x] Additionally, this just closes #9955. The only remaining box in there never repro'd, so probably wasn't even root caused by #9820. I think we can close that issue for now, and reactivate if something else was broken. * [x] I work here * [ ] Tests added/passed * [n/a] Requires documentation to be updated ## Validation Steps Performed Checked before/after in Accessibility Insights. Before the row rectangles were the full width of the control initially. Now they're properly padded. --- <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:27: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#28278