Skip to content

Regression: Attempt to import wrong appModule #13813

@cary-rowen

Description

@cary-rowen

Steps to reproduce:

  1. Enable loading custom code from Developer Scratchpad directory;
    2.Try to create a new empty file qq.py in scratchpad/appModules;
  2. Now feel free to start an application named '6.5.qq.exe' with a GUI;

Actual behavior:

You get a bunch of errors and NVDA can't report anything in the application;
Error log attached: NVDA.log

Expected behavior:

NVDA can read the application normally, consistent with the 2022.1 behavior.

System configuration

NVDA installed/portable/running from source:

installed

NVDA version:

2022.2Beta1

Windows version:

Windows 10 21H2 (x64) build 19044.1766

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 computer?

Yes

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

2022.1 can work well

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

No(but this has nothing to do with any of the add-ons)

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

    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