https://bugs.documentfoundation.org/show_bug.cgi?id=92389
--- Comment #23 from Adriani90 <adriani.bo...@googlemail.com> --- Testing with NVDA 2024.1 in LO 24.8, I confirm this works only when there is more than one paragraph. When there is only one line of text in the document and I try to comment, I press ctrl+alt+c, NVDA does not announce that I am in an edit field for the comment. Pressing left and right arrow, NVDA is silent. Pressing up and down arrow, NVDA pronounces the word I makred for commenting, in my case "hello" I get following in the log: ``` IO - inputCore.InputManager.executeGesture (13:02:14.337) - winInputHook (17340): Input: kb(laptop):rightArrow DEBUG - editableText.EditableText._hasCaretMoved (13:02:14.347) - MainThread (27580): Caret move detected using bookmarks. Elapsed 0 sec, retries 0 IO - speech.speech.speak (13:02:14.367) - MainThread (27580): Speaking [CharacterModeCommand(True), ' ', EndUtteranceCommand()] IO - inputCore.InputManager.executeGesture (13:02:14.733) - winInputHook (17340): Input: kb(laptop):leftArrow DEBUG - editableText.EditableText._hasCaretMoved (13:02:14.757) - MainThread (27580): Caret move detected using event. Elapsed 0 sec, retries 0 IO - speech.speech.speak (13:02:14.757) - MainThread (27580): Speaking [CharacterModeCommand(True), 'o', EndUtteranceCommand()] IO - inputCore.InputManager.executeGesture (13:02:20.257) - winInputHook (17340): Input: kb(laptop):alt+control+c DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (13:02:20.297) - MainThread (27580): accRole failed: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (13:02:20.307) - MainThread (27580): accRole failed: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (13:02:20.307) - MainThread (27580): accRole failed: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (13:02:20.307) - MainThread (27580): accRole failed: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (13:02:20.310) - MainThread (27580): accRole failed: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (13:02:20.310) - MainThread (27580): accRole failed: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (13:02:20.310) - MainThread (27580): accRole failed: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (13:02:20.310) - MainThread (27580): accRole failed: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (13:02:20.310) - MainThread (27580): accRole failed: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IA2Attributes (13:02:21.058) - MainThread (27580): IAccessibleObject.attributes COMError (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) IO - inputCore.InputManager.executeGesture (13:02:21.299) - winInputHook (17340): Input: kb(laptop):leftArrow DEBUG - editableText.EditableText._hasCaretMoved (13:02:21.407) - MainThread (27580): Caret didn't move before timeout. Elapsed: 0.10781 sec IO - speech.speech.speak (13:02:21.410) - MainThread (27580): Speaking [CharacterModeCommand(True), ' ', EndUtteranceCommand()] IO - inputCore.InputManager.executeGesture (13:02:21.672) - winInputHook (17340): Input: kb(laptop):leftArrow DEBUG - editableText.EditableText._hasCaretMoved (13:02:21.777) - MainThread (27580): Caret didn't move before timeout. Elapsed: 0.100092 sec IO - speech.speech.speak (13:02:21.782) - MainThread (27580): Speaking [CharacterModeCommand(True), ' ', EndUtteranceCommand()] IO - inputCore.InputManager.executeGesture (13:02:21.847) - winInputHook (17340): Input: kb(laptop):leftArrow DEBUG - editableText.EditableText._hasCaretMoved (13:02:21.957) - MainThread (27580): Caret didn't move before timeout. Elapsed: 0.109795 sec ``` When I use the menu to access the comment area, I get similar bahavior: Sometimes, when accessing the comment edit field, I get following error and NVDA is tottally silent when I press the arrow keys to navigate through the comment: ``` IO - inputCore.InputManager.executeGesture (13:11:03.916) - winInputHook (17340): Input: kb(laptop):upArrow IO - speech.speech.speak (13:11:03.946) - MainThread (27580): Speaking ['Kommentar einfügen\tStrg+Alt+C', CancellableSpeech (still valid)] DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._getIA2RelationFirstTarget (13:11:03.946) - MainThread (27580): Unable to use _getIA2TargetsForRelationsOfType, fallback to _IA2Relations. IO - inputCore.InputManager.executeGesture (13:11:04.946) - winInputHook (17340): Input: kb(laptop):enter IO - speech.speech.speak (13:11:05.016) - MainThread (27580): Speaking ['Unbenannt 1 – LibreOfficeDev Writer', CancellableSpeech (still valid)] IO - speech.speech.speak (13:11:05.016) - MainThread (27580): Speaking ['Unbenannt 1 - LibreOfficeDev-Dokument', 'Dokument', 'einstellbar', CancellableSpeech (still valid)] IO - speech.speech.speak (13:11:05.016) - MainThread (27580): Speaking ['Hello', ' '] ERROR - eventHandler.executeEvent (13:11:05.066) - MainThread (27580): error executing event: gainFocus on <NVDAObjects.IAccessible.IAccessible object at 0x011F1330> with extra args of {} Traceback (most recent call last): File "eventHandler.pyc", line 322, in executeEvent File "eventHandler.pyc", line 355, in doPreGainFocus File "api.pyc", line 189, in setFocusObject File "api.pyc", line 338, in setNavigatorObject File "documentBase.pyc", line 74, in makeTextInfo File "compoundDocuments.pyc", line 254, in __init__ File "documentBase.pyc", line 74, in makeTextInfo File "textInfos\offsets.pyc", line 478, in __init__ File "textInfos\offsets.pyc", line 257, in _getCaretOffset NotImplementedError DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IA2Attributes (13:11:05.555) - MainThread (27580): IAccessibleObject.attributes COMError (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None)) IO - inputCore.InputManager.executeGesture (13:11:06.766) - winInputHook (17340): Input: kb(laptop):leftArrow IO - inputCore.InputManager.executeGesture (13:11:07.290) - winInputHook (17340): Input: kb(laptop):rightArrow IO - inputCore.InputManager.executeGesture (13:11:07.496) - winInputHook (17340): Input: kb(laptop):rightArrow IO - inputCore.InputManager.executeGesture (13:11:07.706) - winInputHook (17340): Input: kb(laptop):leftArrow IO - inputCore.InputManager.executeGesture (13:11:08.139) - winInputHook (17340): Input: kb(laptop):downArrow IO - inputCore.InputManager.executeGesture (13:11:08.379) - winInputHook (17340): Input: kb(laptop):upArrow IO - inputCore.InputManager.executeGesture (13:11:08.565) - winInputHook (17340): Input: kb(laptop):upArrow ``` -- You are receiving this mail because: You are the assignee for the bug.