Skip to content

Attempting to right click an item raises an error #18913

@nidza07

Description

@nidza07

Steps to reproduce:

  1. Focus a list item with the latest alpha build.
  2. Route the mouse to the item using NVDA+NumPaddivide.
  3. Press NumPad multiply to perform a right click.

Actual behavior:

The following error is raised:
ERROR - scriptHandler.executeScript (04:36:43.162) - MainThread (7852):
error executing script: <bound method GlobalCommands.script_rightMouseClick of <globalCommands.GlobalCommands object at 0x0751C0E8>> with gesture 'numpad multiply'
Traceback (most recent call last):
File "scriptHandler.pyc", line 300, in executeScript
File "globalCommands.pyc", line 301, in script_rightMouseClick
File "mouseHandler.pyc", line 150, in executeMouseEvent
File "winUser.pyc", line 613, in mouse_event
ctypes.ArgumentError: argument 5: TypeError: 'NoneType' object cannot be interpreted as an integer

Expected behavior:

A right click is performed.

NVDA logs, crash dumps and other attachments:

NVDA broken right click.txt

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

alpha-52562,3d74061b (2026.1.0.52562)

Windows version:

Windows 11 24H2 (AMD64) build 26100.6584

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

None

Other information about your system:

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.

Works on stable

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions