Skip to content

Touchscreen support: recursion error when moving around the screen in Windows 11 22H2 #14753

@josephsl

Description

@josephsl

Steps to reproduce:

Prerequisites: a touch capable computer running Windows 11 2022 Update, alpha build 27879 or later:

  1. With alpha build 27868 installed, move around the screen using touch (just move one finger arond the screen).
  2. Instal alpha build 27879 or later.
  3. Move around the screen with one finger.

Actual behavior:

NVDA does nothing or plays error tones when moving arond the scren with one finger.

Expected behavior:

NVDA announces object under the finger.

NVDA logs, crash dumps and other attachments:

ERROR - scriptHandler.executeScript (19:44:03.844) - MainThread (9136):
error executing script: <bound method GlobalCommands.script_touch_explore of <globalCommands.GlobalCommands object at 0x0788A030>> with gesture 'hover'
Traceback (most recent call last):
File "scriptHandler.pyc", line 295, in executeScript
File "globalCommands.pyc", line 3806, in script_touch_explore
File "screenExplorer.pyc", line 36, in moveTo
File "baseObject.pyc", line 62, in get
File "baseObject.pyc", line 168, in getPropertyViaCache
File "NVDAObjects\UIA_init
.pyc", line 1736, in _get_presentationType
File "baseObject.pyc", line 62, in get
File "baseObject.pyc", line 168, in getPropertyViaCache
File "NVDAObjects_init
.pyc", line 877, in _get_presentationType
File "baseObject.pyc", line 62, in get
File "baseObject.pyc", line 168, in getPropertyViaCache
File "NVDAObjects\UIA_init
.pyc", line 1699, in get_states
File "NVDAObjects\UIA_init
.pyc", line 984, in _getUIACacheablePropertyValue
File "monkeyPatches\comtypesMonkeyPatches.pyc", line 32, in call
File "comtypes\automation.pyc", line 516, in ctypes_from_outparam
File "monkeyPatches\comtypesMonkeyPatches.pyc", line 146, in newVARIANT_value_fget
File "comtypes\automation.pyc", line 468, in _get_value
File "comtypes\safearray.pyc", line 247, in unpack
File "comtypes\safearray.pyc", line 233, in _get_size
File "comtypes_safearray.pyc", line 105, in SafeArrayGetUBound
ctypes.ArgumentError: argument 1: <class 'RecursionError'>: maximum recursion depth exceeded while calling a Python object

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

alpha-27914,5182cd98

Windows version:

Windows 11 22H2 (build 22621.1413)

Name and version of other software in use when reproducing the issue:

None

Other information about your system:

Fresh Windows installation

Other questions

Does the issue still occur after restarting your computer?

Yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

No issue in alpha build 27868 and earlier, introduced in 27879

If NVDA add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Yes

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/regressionfeature/touch-screenp2https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    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