Skip to content

UIA in conhost: incorrect word boundaries when text is selected #11809

@codeofdusk

Description

@codeofdusk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-AccessibilityIssues related to accessibilityArea-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Help WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.Priority-1A description (P1)Product-ConhostFor issues in the Console codebase

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions