[PR #4497] [MERGED] Fix UiaTextRange Misaligned Bounding Rects #25793

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/4497
Author: @carlos-zamora
Created: 2/7/2020
Status: Merged
Merged: 2/11/2020
Merged by: @undefined

Base: masterHead: dev/cazamor/bugfix-uia-rects


📝 Commits (2)

  • 6fc6738 fix UTR high dpi issue
  • 3f394ea added reverse implementation too

📊 Changes

1 file changed (+46 additions, -7 deletions)

View changed files

📝 src/cascadia/TerminalControl/UiaTextRange.cpp (+46 -7)

📄 Description

Summary of the Pull Request

Forgot to include the scaling factor. Also went ahead and used chromium math for this portion.

References

PR Checklist

Validation Steps Performed

Tested on 200% display and 100% display. Rects are aligned on both.


🔄 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/4497 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 2/7/2020 **Status:** ✅ Merged **Merged:** 2/11/2020 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `dev/cazamor/bugfix-uia-rects` --- ### 📝 Commits (2) - [`6fc6738`](https://github.com/microsoft/terminal/commit/6fc67380017a4811496a3a1304023be8539c411d) fix UTR high dpi issue - [`3f394ea`](https://github.com/microsoft/terminal/commit/3f394eac1eadabe8fbc4fefacb2e101c43c5aaf1) added reverse implementation too ### 📊 Changes **1 file changed** (+46 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/UiaTextRange.cpp` (+46 -7) </details> ### 📄 Description ## Summary of the Pull Request Forgot to include the scaling factor. Also went ahead and used chromium math for this portion. ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #2551 * [x] CLA signed. ## Validation Steps Performed Tested on 200% display and 100% display. Rects are aligned on both. --- <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:11:49 +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#25793