Page MenuHome GnuPG

Kleopatra: NVDA reads parent window of error messages
Open, NormalPublic

Description

After fixing T7739 I noticed a new problem: When an error message (window) is shown then NVDA reads the text of the window that triggered the error message before the text of the error message.

Example:

  • Start NVDA
  • Start workflow to create a new OpenPGP certificate (e.g. with Ctrl+N)
  • Delete text in Name and Email address field
  • Press Return

-> An error window with text "Enter a name or an email address." is shown.

Observed result:
NVDA speaks

Create OpenPGP Certificate dialog Enter a name and/or an email address to use for the certificate.
Name
Email address
Error dialog Enter a name or an email address.
OK button Enter

Expected result:
NVDA speaks

Error dialog Enter a name or an email address.
OK button Enter

Event Timeline

ikloecker created this task.
ikloecker moved this task from Backlog to WIP on the gpd5x board.

After studying the logs created by NVDA and its source code I strongly suspect that the problem needs to be fixed in NVDA. NVDA tries to avoid repeating the text of common ancestors of the old and the new focus object, but it fails to detect the Create OpenPGP Certificate dialog as common ancestor of the text edit field in this dialog and the Error (child) window.

I'll submit a bug report for NVDA as soon as we have a new Gpg4win 5 (beta) installer. The current Gpg4win 5.0.0-beta357 installer still has T7739: pinentry/kleopatra: NVDA reads text multiple times so that I cannot give the NVDA developers an installer to reproduce this issue here.

ikloecker mentioned this in Unknown Object (Maniphest Task).Mon, Aug 25, 9:59 AM