Word comment replies are not identified as replies when using object model

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
accessibility

Research direction

Start by reproducing the issue in Microsoft Word with NVDA set to use the legacy object model, then inspect how the Elements List's Annotations tree represents comments and replies. Done means replies are identified as replies and every reply appears as a direct child of its main comment; the issue does not name a file or test.

Written by the indexing model from the issue text.

Description

legacy/community-support p4 triaged
Steps to reproduce:
  1. Make sure NVDA uses the legacy object model to access Microsoft Word in NVDA advanced options.
  2. Open Microsoft Word.
  3. Create a comment in a document.
  4. Add at least 2 reply to the comment.
  5. Open the NVDA Elements List with NVDA+F7 and select the Annotations category.
  6. Navigate through the comment and its replies in the tree view list.
Actual behavior:

The comment and its replies are all reported as comments. NVDA does not indicate which items are replies.

In addition, the hierarchy is incorrect: the replies are not all children of the main comment. For example, with two replies, the second reply appears as a child of the first reply instead of as another child of the main comment.

Expected behavior:

NVDA should identify replies as replies.

All replies to a comment should appear as direct children of the main comment in the Elements List.

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 reply identification or hierarchy when using the legacy object model.

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