Skip to content

Native selection mode can be enabled in unsupported Gecko, such as Thunderbird 115.x #16064

@LeonarddeR

Description

@LeonarddeR

Steps to reproduce:

  1. Open a message in Thunderbird 115.6.1
  2. Enable native selection mode
  3. Start arrowing through the document

Actual behavior:

ERROR - scriptHandler.executeScript (18:10:07.178) - MainThread (15092):
error executing script: <bound method CursorManager.script_moveByLine_forward of <virtualBuffers.gecko_ia2.Gecko_ia2 object at 0x08F1AAF0>> with gesture 'down arrow'
Traceback (most recent call last):
  File "virtualBuffers\gecko_ia2.pyc", line 722, in clearAppSelection
  File "comtypes\__init__.pyc", line 831, in QueryInterface
  File "monkeyPatches\comtypesMonkeyPatches.pyc", line 31, in __call__
_ctypes.COMError: (-2147467262, 'No such interface supported', (None, None, None, 0, None))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "scriptHandler.pyc", line 295, in executeScript
  File "cursorManager.pyc", line 275, in script_moveByLine_forward
  File "cursorManager.pyc", line 175, in _caretMovementScriptHelper
  File "browseMode.pyc", line 1405, in _set_selection
  File "cursorManager.pyc", line 133, in _set_selection
  File "textInfos\offsets.pyc", line 678, in updateSelection
  File "virtualBuffers\gecko_ia2.pyc", line 56, in _setSelectionOffsets
  File "virtualBuffers\gecko_ia2.pyc", line 726, in clearAppSelection
NotImplementedError

Expected behavior:

Since native selection mode is clearly not supported, NVDA should report as such when trying to enable it.

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

alpha-30663,3c7504eb

Windows version:

Windows 11 23H2

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

Thunderbird 115.6.1

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/regressionp4https://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