Skip to content

Commit 9e0602e

Browse files
Merge fcb324c into 3f956a8
2 parents 3f956a8 + fcb324c commit 9e0602e

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

source/NVDAObjects/behaviors.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,16 @@ def getDialogText(cls,obj,allowFocusedDescendants=True):
8989
continue
9090
#For particular objects, we want to descend in to them and get their children's message text
9191
if childRole in (
92-
controlTypes.Role.PROPERTYPAGE,
93-
controlTypes.Role.PANE,
94-
controlTypes.Role.PANEL,
95-
controlTypes.Role.WINDOW,
96-
controlTypes.Role.GROUPING,
97-
controlTypes.Role.PARAGRAPH,
98-
controlTypes.Role.SECTION,
99-
controlTypes.Role.TEXTFRAME,
100-
controlTypes.Role.UNKNOWN
92+
controlTypes.ROLE_OPTIONPANE,
93+
controlTypes.Role.PROPERTYPAGE,
94+
controlTypes.Role.PANE,
95+
controlTypes.Role.PANEL,
96+
controlTypes.Role.WINDOW,
97+
controlTypes.Role.GROUPING,
98+
controlTypes.Role.PARAGRAPH,
99+
controlTypes.Role.SECTION,
100+
controlTypes.Role.TEXTFRAME,
101+
controlTypes.Role.UNKNOWN
101102
):
102103
#Grab text from descendants, but not for a child which inherits from Dialog and has focusable descendants
103104
#Stops double reporting when focus is in a property page in a dialog

user_docs/en/changes.t2t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ If you need this functionality please assign a gesture to the appropriate script
4141
- If a disabled addon is uninstalled and then re-installed it is re-enabled. (#12792)
4242
- Fixed bugs around updating and removing addons where the addon folder has been renamed or has files opened. (#12792, #12629)
4343
- When using UI Automation to access Microsoft Excel spreadsheet controls, NVDA no longer redundantly announces when a single cell is selected. (#12530)
44+
- More dialog text is automatically read in LibreOffice Writer, such as in confirmation dialogs. (#11687)
4445
-
4546

4647

0 commit comments

Comments
 (0)