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

Fix exception during vertical paragraph navigation #16276

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

mltony
Copy link
Contributor

@mltony mltony commented Mar 7, 2024

Link to issue number:

Closes #16274

Summary of the issue:

Exception during vertical navigation when one of page items is offscreen.

Description of user facing changes

N/A

Description of development approach

Previously I was retrieving x coordinate by calling textInfo.pointAtStart. However it appears that this doesn't work when said textInfo is off screen.
Switching to another method:
textInfo.NVDAObjectAtStart.location[0]

Testing strategy:

Passes specified test case.

Known issues with pull request:

N/A

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@mltony mltony marked this pull request as ready for review March 7, 2024 19:00
@mltony mltony requested a review from a team as a code owner March 7, 2024 19:00
@mltony mltony requested a review from SaschaCowley March 7, 2024 19:00
@seanbudd seanbudd merged commit 41add33 into nvaccess:master Mar 8, 2024
1 check passed
@nvaccessAuto nvaccessAuto added this to the 2024.2 milestone Mar 8, 2024
Adriani90 pushed a commit to Adriani90/nvda that referenced this pull request Mar 13, 2024
Closes nvaccess#16274

Summary of the issue:
Exception during vertical navigation when one of page items is offscreen.

Description of user facing changes
N/A

Description of development approach
Previously I was retrieving x coordinate by calling textInfo.pointAtStart. However it appears that this doesn't work when said textInfo is off screen.
Switching to another method:
textInfo.NVDAObjectAtStart.location[0]
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 this pull request may close these issues.

Vertical quick navigation throws errors in some cases
3 participants