Skip to content

At least with Braille, object navigation throws errors in XAML apps, like WhatsApp #18399

@LeonarddeR

Description

@LeonarddeR

Steps to reproduce:

  1. Open WhatsApp desktop
  2. Use laptop:nvda+shift+left arrow to object nav backwards several times.

Actual behavior:

Ad some point, e.g. for objects like Chats, End to end encrypted, the following is logged:

ERROR - eventHandler.executeEvent (10:49:13.254) - MainThread (4452):
error executing event: becomeNavigatorObject on <NVDAObjects.Dynamic_XamlEditableTextEditableTextWithAutoSelectDetectionUIA object at 0x0AB429B0> with extra args of {'isFocus': False}
Traceback (most recent call last):
  File "eventHandler.pyc", line 353, in executeEvent
  File "eventHandler.pyc", line 119, in __init__
  File "eventHandler.pyc", line 128, in next
  File "NVDAObjects\__init__.pyc", line 1398, in event_becomeNavigatorObject
  File "braille.pyc", line 3119, in handleReviewMove
  File "braille.pyc", line 2961, in _doNewObject
  File "braille.pyc", line 2261, in getFocusRegions
  File "braille.pyc", line 1551, in update
  File "NVDAObjects\UIA\__init__.pyc", line 1114, in compareEndPoints
AttributeError: 'NVDAObjectTextInfo' object has no attribute '_rangeObj'

Expected behavior:

No errors

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

alpha-37061

Windows version:

24H2

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

WhatsApp 2.2524.4.0

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

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

    bug/regressioncomponent/braillep3https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions