Additional blank stops when navigating by comment in Word

Open
#20,928 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
accessibility

Research direction

Start by reproducing the steps in Microsoft Word with classic comments, then trace NVDA's Browse Mode quick-navigation handling for annotations in Word. Compare forward and backward navigation with a comment that has two replies. Done means navigation stops once for the comment and its replies, with no additional blank positions.

Written by the indexing model from the issue text.

Description

app/microsoft-office p4 triaged
Steps to reproduce:
  1. Open Microsoft Word.
  2. If you use Office 365, make sure Enable modern comments is disabled (probably in Word's General options), so that Word uses classic comments.
  3. Create a comment in a document.
  4. Add at least two replies to the comment.
  5. Enable Browse Mode.
  6. Place the caret before the comment.
  7. Press a to navigate by annotation.
  8. Continue pressing a and observe the reported positions.
  9. Repeat the test with shift+a to navigate backwards by annotation.
Actual behavior:

NVDA correctly stops on the comment, but it also stops at additional positions at the end of the commented text.

These additional positions are reported as blank.

The number of additional blank stops corresponds to the number of replies. For example, with two replies, NVDA reports two additional blank stops after reporting the comment.

Expected behavior:

Quick navigation by annotation should stop only once for a comment and all its replies.

NVDA should not report additional blank positions for the replies.

System configuration:
NVDA installed/portable/running from source:

from source

NVDA version:

Last master (commit c22a509337c0b94ac5459ab2a749eeeb9cb06116)

Windows version:

Windows 11 23H2 (AMD64) build 22631.7582.

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

Microsoft Word LTSC MSO (Version 2408 Build 16.0.17932.20910) 64 bits (Office 2024 LTSC).

Other information about your system:

N/A

Other questions:
Does the issue still occur after restarting your computer?

Yes

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

This behavior was observed before and after the merge of #20894 in master. The changes in #20894 do not address these additional blank annotation stops.

If NVDA add-ons are disabled, is the problem still occurring?

Yes.

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Not tested

Additional context:

This behavior was identified while testing classic Word comments in #20894.

Dominant language
Python
Stars
2.7k
Forks
842
Avg merge
2d 4h
Merged PRs (30d)
56

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nvaccess/nvda

All issues in nvaccess/nvda

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.