Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect behavior of "review bottom line" in Windows Console #10119

Closed
codeofdusk opened this issue Aug 20, 2019 · 1 comment · Fixed by #10559
Closed

Incorrect behavior of "review bottom line" in Windows Console #10119

codeofdusk opened this issue Aug 20, 2019 · 1 comment · Fixed by #10559
Milestone

Comments

@codeofdusk
Copy link
Contributor

Steps to reproduce:

  1. Open Command Prompt.
  2. Invoke "review bottom line" (desktop layout: shift+numpad 9).

Actual behavior:

On Windows 10 1803, the last line of output is read as expected, but the review cursor is placed out of bounds: after invoking "review bottom line", blank lines at the end of the output become accessible that previously weren't.

On Windows 10 1903, NVDA says blank. "read current line" also reports blank, but attempting to review the next line says "bottom" followed by the last line of output.

Expected behavior:

The last line of output is reported and the review cursor is placed there. The review cursor stays within the console bounds (i.e. no blank lines are exposed when the script is invoked).

System configuration

NVDA installed/portable/running from source:

Installed and source.

NVDA version:

Latest master branch.

Windows version:

Windows 10 version 1803 and 1903.

Name and version of other software in use when reproducing the issue:

Windows Console (Command Prompt)

Other information about your system:

Other questions

Does the issue still occur after restarting your PC?

Yes.

Have you tried any other versions of NVDA? If so, please report their behaviors.

No.

@codeofdusk
Copy link
Contributor Author

codeofdusk commented Aug 20, 2019

This issue is likely caused by an unreliable or incorrect lastVisiRange. See the initialization for a ConsoleUIATextInfo at POSITION_LAST (around line 35 of NVDAObjects/UIA/winConsoleUIA.py).

Cc @feerrenrut @LeonarddeR @michaelDCurran

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants