Steps to reproduce:
Note, set office to use a language other than English.
approach 1:
- Open the word document provided in the attachment.
- When you arrow on a comment press insert+alt+c,
approach 2 - listing all comments in the elements list:
- press insert+f7, when in the browse mode,
- in the filter radio buttons category, find comments.
Actual behavior:
When the first approach is used, the shortcut is not working, i.e. the comment was not read.
When you use the second approach, the following can be found in the log:
ERROR - queueHandler.flushQueue (19:54:49.137):
Error in func initElementType from eventQueue
Traceback (most recent call last):
File "queueHandler.pyc", line 53, in flushQueue
File "browseMode.pyc", line 902, in initElementType
File "browseMode.pyc", line 922, in filter
File "NVDAObjects\UIA\wordDocument.pyc", line 88, in label
TypeError: format() argument after ** must be a mapping, not NoneType
The comments are not listed
See code:
if not obj.parent or obj.parent.name!='Comment':
continue
The problem is that this object name is language sensitive i.e. in polish it is "Komentarz". So when the language in word interface is set to other than english, this condition is always true and NVDA doesn't see any comments even if there are some.
Expected behavior:
The chomments should be listed and read, when nvda+alt+c, and when ins+f7 is pressed
System configuration
NVDA installed/portable/running from source:
installed
NVDA version:
alpha-16768,a6f7fb40
Windows version:
windows 10, 1809, 17763
Name and version of other software in use when reproducing the issue:
microsoft office 365, 16.0.11231.20122
Other information about your system:
the sample files in the comments to follow
Ęîëëîęâčóě_Ńňŕíĺ÷č÷.docx
Other questions
Does the issue still occur after restarting your PC?
yes
Have you tried any other versions of NVDA?
no
Steps to reproduce:
Note, set office to use a language other than English.
approach 1:
approach 2 - listing all comments in the elements list:
Actual behavior:
When the first approach is used, the shortcut is not working, i.e. the comment was not read.
When you use the second approach, the following can be found in the log:
The comments are not listed
See code:
The problem is that this object name is language sensitive i.e. in polish it is "Komentarz". So when the language in word interface is set to other than english, this condition is always true and NVDA doesn't see any comments even if there are some.
Expected behavior:
The chomments should be listed and read, when nvda+alt+c, and when ins+f7 is pressed
System configuration
NVDA installed/portable/running from source:
installed
NVDA version:
alpha-16768,a6f7fb40
Windows version:
windows 10, 1809, 17763
Name and version of other software in use when reproducing the issue:
microsoft office 365, 16.0.11231.20122
Other information about your system:
the sample files in the comments to follow
Ęîëëîęâčóě_Ńňŕíĺ÷č÷.docx
Other questions
Does the issue still occur after restarting your PC?
yes
Have you tried any other versions of NVDA?
no