microsoft/Terminal

UIA in conhost: incorrect word boundaries when text is selected

Open

#11.809 aperta il 23 nov 2021

Vedi su GitHub
 (10 commenti) (0 reazioni) (0 assegnatari)C++ (3212 fork)batch import
Area-AccessibilityArea-OutputHelp WantedIssue-BugPriority-1Product-Conhost

Metriche repository

Star
 (35.764 star)
Metriche merge PR
 (Merge medio 27g 19h) (24 PR mergiate in 30 g)

Descrizione

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???

Guida contributor