Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focused objects not reported after a plugins reload #17323

Open
CyrilleB79 opened this issue Oct 24, 2024 · 0 comments · May be fixed by #17322
Open

Focused objects not reported after a plugins reload #17323

CyrilleB79 opened this issue Oct 24, 2024 · 0 comments · May be fixed by #17322

Comments

@CyrilleB79
Copy link
Collaborator

The issue seems to be reproducible with any browseable message. Here is an example with the format reporting command.

Steps to reproduce:

  • Go somewhere where the formatting command has something to report, e.g. in Windows commands console (cmd).
  • Press twice NVDA+f to display formatting information in a browseable message
  • Alt+Tab to the console
  • Reload the plugins with NVDA+control+f3
  • Alt+Tab somewhere else or move the focus elsewhere in some way.

Actual behavior:

The new focus is not reported.

Expected behavior:

The new focus should be reported.

NVDA logs, crash dumps and other attachments:

ERROR - eventHandler.executeEvent (15:30:42.709) - MainThread (18484):
error executing event: gainFocus on <NVDAObjects.Dynamic_IAccessibleEditWindowNVDAObject object at 0x00CC1630> with extra args of {}
Traceback (most recent call last):
  File "eventHandler.pyc", line 348, in executeEvent
  File "eventHandler.pyc", line 382, in doPreGainFocus
  File "api.pyc", line 155, in setFocusObject
  File "treeInterceptorHandler.pyc", line 83, in cleanup
  File "baseObject.pyc", line 39, in __get__
  File "virtualBuffers\MSHTML.pyc", line 286, in _get_isAlive
AttributeError: 'NoneType' object has no attribute 'appName'

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

2024.4rc1

Windows version:

Windows 10 22H2 (AMD64) build 19045.5011

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

N/A

Other information about your system:

N/A

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.

Already present in previous versions of NVDA, at least 2024 cycle, but probably much earlier.

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

@CyrilleB79 CyrilleB79 linked a pull request Oct 24, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant