Skip to content

UIA can return None for currentAccessKey #6779

@dkager

Description

@dkager

Log:

ERROR - eventHandler.executeEvent (17:01:45):
error executing event: gainFocus on <NVDAObjects.Dynamic_UIADesktopWindowNVDAObject object at 0x04D832D0> with extra args of {}
Traceback (most recent call last):
  File "eventHandler.pyc", line 143, in executeEvent
  File "eventHandler.pyc", line 91, in __init__
  File "eventHandler.pyc", line 98, in next
  File "NVDAObjects\__init__.pyc", line 892, in event_gainFocus
  File "NVDAObjects\__init__.pyc", line 804, in reportFocus
  File "speech.pyc", line 355, in speakObject
  File "speech.pyc", line 272, in speakObjectProperties
  File "baseObject.pyc", line 34, in __get__
  File "baseObject.pyc", line 110, in _getPropertyViaCache
  File "NVDAObjects\UIA\__init__.pyc", line 772, in _get_keyboardShortcut
TypeError: cannot concatenate 'str' and 'NoneType' objects

Re: #6025

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions