nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
Other
2.08k stars 626 forks source link

Inserting Matches with Espanso Text Expander Doesn't Work With NVDA #16904

Open Lanie-Carmelo opened 1 month ago

Lanie-Carmelo commented 1 month ago

Steps to reproduce:

  1. Download and install the Espanso text expander, which can be found at theEspanso website.
  2. In any app, type one of the built-in match triggers such as ":date" or ":espanso".

    Actual behavior:

    Observe that when you type the trigger, you end up with a blank line or maybe a colon and one character. I use both NVDA and JAWS, so I can tell you that this works correctly with JAWS. I can't seem to get the speech viewer to work. It just shows a blank read-only edit box. When I try this in a blank Notepad window, though, it Looks something like this: NVDA: ":" "e" "s" "p" "a" "n" "s" "o" "Up arrow, blank" or the same but: "Up arrow, Colon" It seems like the inserted text is being deleted.

Expected behavior:

The expected response would be something like: ":" "e" "s" "p" "a" "n" "s" "o" "Up arrow, Hi there! That's what Espanso enters if you type ":espanso" If I try that with ":date", I would expect the date to be inserted.

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

NVDA is installed

NVDA version:

NVDA 2024.3 Beta 4. I've also seen this in alpha snapshots

Windows version:

Version 23H2 (OS Build 22635.3936)

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

Espanso version 2.2.1

Other information about your system:

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.

I've tried the beta and alpha snapshots.

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. nvda.log Log showing the problem. Addons are disabled.

egomez915 commented 1 month ago

Same issue with me

zersiax commented 3 weeks ago

This appears to have to do with the "handle keys from other applications" checkbox in Keyboard settings. If it's on, a lot of programs like this fail to work correctly, I've seen it happen with other expander and launcher-type tools. However, disabling this checkbox, while it makes these programs work, causes other issues. Most notably, NVDA Remote becomes very difficult to use. ANother tool this breaks with is TinySpell which uses a very similar mechanism.