microsoft/Terminal

UIA in conhost: incorrect word boundaries when text is selected

Open

#11,809 opened on 2021年11月23日

GitHub で見る
 (10 comments) (0 reactions) (0 assignees)C++ (3,212 forks)batch import
Area-AccessibilityArea-OutputHelp WantedIssue-BugPriority-1Product-Conhost

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (平均マージ 27d 19h) (30d で 24 merged PRs)

説明

Windows Terminal version

Version of OpenConsole included with the wt 1.12 release.

Windows build number

10.0.22000.348

Other Software

NVDA master (2022.1) with UIA.

Steps to reproduce

Paste the following text into a conhost. On my system, this line wraps at the word "upgrade":

tree.IncompatibleFormatError: This file is too new for the currently running version of Treemendous (0.0.0). Please upgrade to Treemendous 42.0.0 or later.

Then:

  • Select a word, such as by moving to the top of the console and searching for the word "please" with CTRL+f.
  • navigate forward in the window by word.

Expected Behavior

word boundaries are correctly calculated: after the wrapping, NVDA says "upgrade", "to", "Treemendous", etc.

Actual Behavior

NVDA reads from the start of the line up to some arbitrary point, can't tell what's going on???

コントリビューターガイド