Skip to content

No feedback when using Backspace while typing in Kannada language using Nudi 6.1 software #15822

Closed

Description

@Qchristensen

Steps to reproduce:

Received via email

Using Nudi6.1 software. (you can download from below link.)
https://kagapa.in/kannada/sites/default/files/downloads/Nudi-6.1/Nudi_6.1_setup.exe

Type any text and then use backspace to remove any characters.

Actual behavior:

With NVDA's Keyboard setting "Handle keys from other applications" checked, user receives the following error:
"71 hotkeys have been received in the last 1812ms.
Do you want to continue?
yes no
(see #MaxHotkeysPerInterval in the help file)"

With this option disabled, the action works, however with no feedback from NVDA.

(Regarding this setting, the user guide does note that "Certain users may wish to turn this off, such as those typing Vietnamese with the UniKey typing software as it will cause incorrect character input")

The user advised that when trying the same thing with NVDA 2022.4, they do not receive the error. But when using NVDA 2023.1 or later, they do.

Expected behavior:

Ideally the user should get feedback about deleted characters, and no error.

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

NVDA version:

NVDA 2023.3 installed

Windows version:

Windows 10.0.19045 Build 19045

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

for typing Kannada, we use Nudi6.1 software. (you can download from below link.)
https://kagapa.in/kannada/sites/default/files/downloads/Nudi-6.1/Nudi_6.1_setup.exe

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.

Also tested with NVDA 2022.4 and NVDA 2023.1

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?

Activity

  1. Qchristensen commented on Nov 24, 2023

    @Qchristensen
    MemberAuthor

    Note from the user: A workaround for this is to use shift+backspace.
    Pressing control+backspace to remove by word also works

  2. lukaszgo1 commented on Nov 26, 2023

    @lukaszgo1
    Contributor

    My testing does not confirm the range of versions mentioned in the initial comment i.e. this does not work for me with NVDA 2023.2, and does work as expected in 2023.1. Bisect shows that this has been introduced in PR #14708

  3. CyrilleB79 commented on Nov 27, 2023

    @CyrilleB79
    Collaborator

    cc @jcsteh (author of #14708)

  4. jcsteh commented on Nov 27, 2023

    @jcsteh
    Contributor

    My guess is that Nudi6.1 captures the backspace key and then re-sends it for some reason. Previously, we delayed slightly when sending keys, which would mean that any keys sent by an app which captured a key sent by NVDA would be ignored during that period. Now that we don't delay, we only ignore the key sent by NVDA itself, but that doesn't include any keys captured and sent by, for example, Nudi6.1.

    I'm not really sure what to do about this except put the delay back, but that would reintroduce a significant performance loss (15-40ms) for all users for cursor keys, backspace, etc.

  5. jcsteh commented on Nov 27, 2023

    @jcsteh
    Contributor

    Actually, one thing we could try is this, as I discussed in #14708 (comment):

    This sleep was apparently added to ensure NVDA's keyboard hook ignored the injected keys. In my testing, removing this didn't seem to have any negative impact. If this does turn out to be a problem, we could watch for the last injected key in the keyboard event hook and fire a Windows event when it arrives. This will be faster to wake than a 10-16 ms sleep.

    I'm not convinced it'll work, but it's worth a shot. I've pushed a try build with this approach. It will arrive here soon.

  6. lukaszgo1 commented on Nov 27, 2023

    @lukaszgo1
    Contributor

    I was unable to test with a binary try build (as it failed to finish for some reason), but testing with the branch try-injectEvt I can confirm that the issue appears to be fixed. It would be good to get confirmation from the user who reported this initially to @Qchristensen though, just to make sure.

  7. Qchristensen commented on Nov 27, 2023

    @Qchristensen
    MemberAuthor

    Thanks everyone! That try build doesn't seem to have build. Have you got a link to the one you got to work please?

  8. added
    p4https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
    triagedHas been triaged, issue is waiting for implementation.
    on Nov 27, 2023
  9. lukaszgo1 commented on Nov 28, 2023

    @lukaszgo1
    Contributor

    I have tested running from sources. Perhaps you can just ask Michael or Sean to re-trigger the build.

  10. Qchristensen commented on Nov 29, 2023

    @Qchristensen
    MemberAuthor

    Ping @jcsteh - there appears to be an issue with the new code which is preventing the build - are you able to have a look when you get a chance please?

  11. jcsteh commented on Nov 29, 2023

    @jcsteh
    Contributor

    Is this even after a re-trigger? In the first build I pushed, it seems to get stuck in a Chrome system test, but I don't know what because the console log is not particularly useful.

  12. jcsteh commented on Nov 29, 2023

    @jcsteh
    Contributor

    If I had to guess, I'd say we're injecting a key, but that key never gets received by NVDA's keyboard hook for some reason. That would suggest it gets swallowed by something else or that our keyboard hook couldn't catch it for some reason. That's definitely one danger of this approach.

    I guess I could add a small timeout when waiting for the injected key, but that feels pretty hacky.

  13. jcsteh commented on Nov 29, 2023

    @jcsteh
    Contributor

    To make matters more fun, I think we might be hitting the AppVeyor job time limit here, so even if we uploaded an NVDA log from the test run, it wouldn't actually get uploaded because the job gets killed.

  14. 1 remaining item

  15. jcsteh commented on Nov 29, 2023

    @jcsteh
    Contributor

    And trying a third time because I spotted some ways I could tighten things up and I'm a perfectionist.

  16. smbgsrini commented on Dec 7, 2023

    @smbgsrini
    Contributor

    Indeed I am very grateful to you all.
    as you given link I have installd nvda_snapshot_try-injectEvt-30139,19bd9384.exe and checked it. NVDA announcing deleted character's by using backspace.
    but, in kannada language there is character ೠ by pressing cap R and X characters ೠ appears. In keyboard setting of nvda, Handle keys from other applications is checked, by pressing caps R and X Kannada character ೠ unable to output.
    if I un-checked, pressing caps R and X Kannada character ೠ appears.
    this is also with NVDA functions. Because without using NVDA, pressing caps R and X Kannada character ೠ able to output. NVDA 2022.4 was much compatible with these issues.
    kindly please add this compatibility feature in upcoming version.
    With thanks,
    Srinivasamurthy

  17. smbgsrini commented on Dec 7, 2023

    @smbgsrini
    Contributor

    after installing nvda_snapshot_try-injectEvt-30139,19bd9384.exe and
    With NVDA's Keyboard setting "Handle keys from other applications" checked, Currently not recieving the following error:
    "71 hotkeys have been received in the last 1812ms.
    Do you want to continue?
    yes no
    (see #MaxHotkeysPerInterval in the help file)"
    thanks for the effort.

  18. lukaszgo1 commented on Dec 7, 2023

    @lukaszgo1
    Contributor

    @smbgsrini Just to clarify: are there any differences in behavior with the nvda_snapshot_try-injectEvt-30139,19bd9384.exe as compared to NVDA 2022.4?

  19. smbgsrini commented on Dec 7, 2023

    @smbgsrini
    Contributor
  20. lukaszgo1 commented on Dec 21, 2023

    @lukaszgo1
    Contributor

    Hi @jcsteh Given your fix seems to solve this problem, are you planning to submit it as a PR?

  21. jcsteh commented on Dec 21, 2023

    @jcsteh
    Contributor

    Yeah, I'll submit a PR when I get a chance.

  22. smbgsrini commented on Dec 26, 2023

    @smbgsrini
    Contributor

    In nvda_2024.1beta1 has same problems which I mentioned through #Qchristensen

  23. added this to the 2024.2 milestone on Dec 27, 2023
  24. added a commit that references this issue on Dec 27, 2023
    991bdc9
  25. smbgsrini commented on Dec 27, 2023

    @smbgsrini
    Contributor
  26. added a commit that references this issue on Feb 15, 2024
    b259fc0
  27. added a commit that references this issue on Feb 27, 2024
    5f01ca6
  28. added a commit that references this issue on Mar 13, 2024
    8141bf0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app-specificp4https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions