Skip to content

Loading Windows OCR settings panel results in cluttered UI #15017

@cary-rowen

Description

@cary-rowen

Steps to reproduce:

  1. Press NVDA + N, P, S in turn
  2. Navigate in the Settings category.
  3. Navigate to the WindowsOCR category, press tab to observe the UI

Actual behavior:

Shows some controls for document navigation
log snippet

ERROR - unhandled exception (11:01:35.008) - MainThread (5244):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 4149, in onCategoryChange
  File "gui\settingsDialogs.pyc", line 667, in onCategoryChange
  File "gui\settingsDialogs.pyc", line 649, in _doCategoryChange
  File "gui\settingsDialogs.pyc", line 577, in _getCategoryPanel
  File "gui\settingsDialogs.pyc", line 335, in __init__
  File "gui\settingsDialogs.pyc", line 345, in _buildGui
  File "gui\settingsDialogs.pyc", line 2598, in makeSettings
  File "gui\guiHelper.pyc", line 332, in addLabeledControl
  File "gui\guiHelper.pyc", line 205, in __init__
TypeError: Item at index 0 has type 'NoneType' but a sequence of bytes or strings is expected

Expected behavior:

Show the settings ui for Windows OCR

NVDA logs, crash dumps and other attachments:

log.txt

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

2023.1

Windows version:

Windows 10 1809 (10.0.17763)

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.

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

    p3https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritysightedDevIdealtriagedHas been triaged, issue is waiting for implementation.ux

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions