Installer announces “Updating NVDA” twice after returning from the UAC secure desktop

Open
#20,957 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
49/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
accessibility

Research direction

Start with the attached nvda-old.log and reproduce the installer upgrade through the UAC prompt. Trace the speech requests around the secure-desktop transition at 15:27:56–15:27:59 to find what triggers the two title-only announcements. Done means the dialog is announced once after returning to the normal desktop, with no redundant title announcements.

Written by the indexing model from the issue text.

Description

bug bug/double-speaking p4 triaged
Brief summary

When upgrading an installed copy of NVDA and approving the UAC prompt, NVDA announces the installer’s “Updating NVDA” dialog correctly after returning from the secure desktop, but then immediately repeats the dialog title twice.

The announcement made immediately before entering the UAC secure desktop is not considered part of the problem. The issue is the two redundant title-only announcements after returning to the normal desktop.

Steps to reproduce
  1. Run an NVDA installer/launcher for a version that upgrades an existing installed NVDA copy.
  2. Choose Install NVDA on this computer.
  3. Complete the installer options and activate Continue.
  4. Approve the UAC elevation prompt.
  5. Listen after returning from the UAC secure desktop, when the installer displays the “Updating NVDA” dialog.

A debug-level NVDA log was captured while reproducing the issue and is attached as nvda-old.log.

Actual behavior

After returning from the UAC secure desktop, NVDA first announces the installer dialog normally:

Updating NVDA, dialog, Please wait while your NVDA is being upgraded.

It then immediately announces the title twice more:

Updating NVDA
Updating NVDA

In the attached log, these speech requests occur at:

  • 15:27:58.948 — full dialog announcement
  • 15:27:58.963 — “Updating NVDA”
  • 15:27:59.005 — “Updating NVDA”

The log records the secure-desktop transition immediately around this sequence:

  • 15:27:56.154 — Secure desktop state changed: entering
  • 15:27:58.991 — Secure desktop state changed: leaving

There is also an earlier full “Updating NVDA” announcement at 15:27:55.933, immediately before entering the UAC secure desktop. This is expected and is not counted as a duplicate.

Expected behavior

After returning from the UAC secure desktop, NVDA should announce the “Updating NVDA” installer dialog once.

NVDA Speech:

Updating NVDA, dialog, Please wait while your NVDA is being upgraded.

The title should not be announced again twice within milliseconds unless the user moves focus or the dialog meaningfully changes.

NVDA logs, crash dumps and other attachments

nvda-old.log

NVDA type

installer/launcher copy

NVDA version

alpha-58000,a4a89720 AMD64

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

Previous versions of NVDA also had this issue; I simply had not noticed it before. This problem has existed for a long time.

Windows version

Windows 11 26H2 (10.0.26300.9550) workstation AMD64

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

none

Other information about your system

none

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 do not have any NVDA add-ons installed

Does the issue still occur after you run the System Accessibility Repair Tool (COM Registration Fixing Tool in older versions) in NVDA's tools menu?

I have not run the System Accessibility Repair Tool

Dominant language
Python
Stars
2.7k
Forks
842
Avg merge
2d 4h
Merged PRs (30d)
56

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nvaccess/nvda

All issues in nvaccess/nvda

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.