Skip to content

gui/wxPython 4: if gui.messageBox is called, other NVDA dialogs won't accept keyboard input #8566

@josephsl

Description

@josephsl

Hi,

Reported by a user via Twitter: if a dialog powered by gui.messageBox opens, keyboard input won't be received by other NVDA dialogs.

Steps to reproduce:

  1. Open NVDA's Python Console and type the code shown below.
  2. After typing the code, press Enter.
  3. Go to a browser window, switch to browse mode, then press Control+NVDA+F to find text.

The code to type from Python Console is:

import gui, wx
gui.messageBox("sometext", "somedialog")

And:

wx.CallAfter(gui.messageBox, "sometext", "somedialog")

Actual behavior:

Cannot find text in browse mode documents. When Enter key is pressed from find dialog, error sound is heard.

Expected behavior:

Find dialog works as advertised.

System configuration:

NVDA Installed/portable/running from source:

Installed

NVDA version:

Alpha.15693

Windows version:

Windows 10 Version 1803 and Insider Preview

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

None

Other information about your system:

None

Other questions:

Does the issue still occur after restarting your PC?

Yes

Have you tried any other versions of NVDA?

Yes - 2018.2

Remarks:

Looks like we need to do something about message box differences between wxPython Classic versus Phoenix.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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