Skip to content

When braille mode is set to follow cursors, the image description is not shown in braille and an error is logged #19039

@Emil-18

Description

@Emil-18

Brief summary

No response

Steps to reproduce

  • Use an actual braille display or the braille viewer, and make sure the AI image description feature is downloaded and works. Also make sure you have set the braille mode to follow cursors.
  • press NVDA+Windows+comma to describe the navigator object.

Actual behavior

The description is spoken, but not shown in braille. The following error is logged.
ERROR - extensionPoints.Action.notify (23:09:05.185) - RunCaptionThread (10412):
Error running handler <bound method BrailleViewerFrame.updateBrailleDisplayed of <brailleViewer.brailleViewerGui.BrailleViewerFrame object at 0x0000020D9249D9A0>> for <extensionPoints.Action object at 0x0000020D81764D70>
Traceback (most recent call last):
File "extensionPoints_init_.pyc", line 56, in notify
File "extensionPoints\util.pyc", line 230, in callWithSupportedKwargs
File "brailleViewer\brailleViewerGui.pyc", line 473, in updateBrailleDisplayed
File "brailleViewer\brailleViewerGui.pyc", line 482, in _triggerGuiUpdate
wx._core.wxAssertionError: C++ assertion "wxThread::IsMain()" failed at ....\src\common\timerimpl.cpp(57) in wxTimerImpl::Start(): timer can only be started from the main thread
ERROR - logHandler._threadExceptHook (23:09:05.197) - RunCaptionThread (10412):
Exception in thread RunCaptionThread:
Traceback (most recent call last):
File "threading.pyc", line 1043, in _bootstrap_inner
File "threading.pyc", line 994, in run
File "_localCaptioner\imageDescriber.pyc", line 81, in _messageCaption
File "ui.pyc", line 251, in message
File "braille.pyc", line 2979, in message
File "braille.pyc", line 2991, in _resetMessageTimer
File "wx\core.pyc", line 3492, in Start
wx._core.wxAssertionError: C++ assertion "wxThread::IsMain()" failed at ....\src\common\timerimpl.cpp(57) in wxTimerImpl::Start(): timer can only be started from the main thread

Expected behavior

The description is shown in braille as well

NVDA logs, crash dumps and other attachments

No response

NVDA type

installer/launcher copy

NVDA version

nvda_snapshot_alpha-52937,f535af1f.exe

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

No

Windows version

n/a

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

n/a

Other information about your system

n/a

Does the issue still occur after restarting your computer?

I have restarted my computer and the issue still occurs

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

I have restarted NVDA with add-ons disabled and the issue still occurs

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

I have run the COM Registration Fixing Tool and the issue still occurs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions