Skip to content

Orca can't be stopped in native dialogs #121811

Closed

Description

Issue Type: Bug

open any native dialog about or check for updates.
press ctrl to stop speech.
orca should stop talking.

this issue similar to #93056

VS Code version: Code - Insiders 1.56.0-insider (b4816cf, 2021-04-20T07:24:33.853Z)
OS version: Linux x64 5.11.15-arch1-2

System Info
Item Value
CPUs Intel(R) Celeron(R) CPU 1005M @ 1.90GHz (2 x 1900)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: disabled_off
oop_rasterization: disabled_off
opengl: enabled_on
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 2, 1, 1
Memory (System) 3.70GB (0.64GB free)
Process Argv --no-sandbox --crash-reporter-id 9fe453d7-430e-46b5-bfd9-60af52319e71
Screen Reader yes
VM 0%
DESKTOP_SESSION mate
XDG_CURRENT_DESKTOP MATE
XDG_SESSION_DESKTOP mate
XDG_SESSION_TYPE x11
Extensions (40)
Extension Author (truncated) Version
meson asa 1.3.0
github-markdown-preview bie 0.0.2
markdown-checkbox bie 0.1.3
markdown-emoji bie 0.1.0
markdown-preview-github-styles bie 0.2.0
markdown-yaml-preamble bie 0.0.4
vscode-astyle chi 0.9.0
systemd-unit-file coo 1.0.6
vscode-github-actions csc 0.17.0
vscode-markdownlint Dav 0.40.3
githistory don 0.6.16
gitlens eam 11.4.1
EditorConfig Edi 0.16.4
vscode-pull-request-github-insiders Git 2021.4.29343
markdown-extended jeb 1.0.19
better-cpp-syntax jef 1.15.5
restructuredtext lex 148.0.0
kconfig luv 1.0.3
vscode-docker ms- 1.12.1
vscode-language-pack-ru MS- 1.55.2
python ms- 2021.5.746022950-dev
vscode-pylance ms- 2021.4.1
jupyter ms- 2021.6.751425733
remote-containers ms- 0.169.0
remote-ssh ms- 0.65.4
remote-ssh-edit ms- 0.65.4
remote-wsl ms- 0.56.0
cmake-tools ms- 1.7.0
cpptools ms- 1.3.1
cpptools-extension-pack ms- 1.0.0
vsliveshare ms- 1.0.4131
vsliveshare-audio ms- 0.1.91
vsliveshare-pack ms- 0.4.0
vscode-yaml red 0.18.0
platform-settings run 0.0.2
rewrap stk 1.14.0
code-spell-checker str 1.10.2
code-spell-checker-russian str 0.2.9
cmake twx 0.0.17
grammarly znc 0.14.0
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvsdeb440:30224570
pythonvsded773:30223139
pythonvspyt875:30259475
pythonvspyt639:30291487
pythontb:30258533
vspre833cf:30267465
pythonptprofiler:30281269
vsdfh931cf:30280410
vscnewfiletextcf:30288478
vshan820:30276952
pythondataviewer:30285072
vscus158:30286553
vscgsv2:30286872

Activity

  1. alex19EP commented on Apr 21, 2021

    @alex19EP
    Author
  2. joanmarie commented on Apr 21, 2021

    @joanmarie

    I can take a look later, but if Orca doesn't interrupt speech and Orca commands fail to work then that means Orca is not being notified of input events.

  3. added
    accessibility
    on Apr 21, 2021
  4. isidorn commented on Apr 21, 2021

    @isidorn

    Alexandr Epaneshnikov (@alex19EP) was this working before?
    Asking because we just updated to Electron12 and that might have broken this

  5. added
    under-discussion
    on Apr 21, 2021
  6. jvesouza commented on Apr 21, 2021

    @jvesouza

    Isidor Nikolic (@isidorn) The problem manifested itself after upgrading to electron version 12.04.
    Another side effect is that I am now unable to use the orca's flat review mode to explore the dialogue.

  7. joanmarie commented on Apr 21, 2021

    @joanmarie

    If flat review mode doesn't work at all (as opposed to presenting the wrong object), that's the same problem: Orca doesn't know you pressed any key (e.g. the key to review the current word/line/char/object/etc.).

  8. deleted a comment from vscodebot on Apr 21, 2021
  9. added
    electron-12-update
    on Apr 21, 2021
  10. isidorn commented on Apr 21, 2021

    @isidorn

    Also assigning to Robo (@deepak1556) for the electron update

  11. webczat commented on Apr 21, 2021

    @webczat

    looks to me like chrome regression as this probably also doesn't work in newest unstable. Was like that for some time, but because I haven't updated for few weeks, not sure.

  12. jvesouza commented on Jun 28, 2021

    @jvesouza

    Any news regarding this issue? It is still present in the version that uses electron 12.0.12.

    Thanks.

  13. webczat commented on Jun 28, 2021

    @webczat

    but, newer chrome-dev doesn't seem to have it, so I think it's gonna be fixed soon.

  14. 62 remaining items

  15. jvesouza commented on Jul 13, 2023

    @jvesouza

    I don't have an explanation but it looks like this problem is gone. from the moment I started using the 45-alpha version of orca.
    To confirm I downgraded to version 44.1 of orca and the problem returned.
    Could anyone else confirm?

  16. joanmarie commented on Jul 14, 2023

    @joanmarie

    José Vilmar Estácio de Souza (@jvesouza): That would make sense. Due to issues related to Gtk4, Wayland, etc., we can no longer count on getting input events. 😞

    We use (or rather used to use) input events to interrupt speech. Now, sadly, we have to do this heuristically. It sounds like we're getting it right for VS Code with native dialogs. Yay!

    You may find other instances where speech gets incorrectly cut off, which should be reported on the Orca list and/or GitLab.

    Isidor Nikolic (@isidorn) et al.: With respect to this issue here, please note: I do NOT intend to backport the heuristics into earlier versions of Orca because I expect there will be regressions (plural). Heuristics are hard. Thus having the input events from the native dialogs used by VS Code will still be a requirement for Orca v44.x and earlier. Please and thank you. 😄

  17. isidorn commented on Jul 14, 2023

    @isidorn

    @jveszoua thanks for letting us know.
    joanmarie makes sense :) Thanks a lot for fixing this in newer versions of Orca 👏

    Robo (@deepak1556) not sure if there is an easy fix on our side? If not, I am fine that we post-pone this issue since it is fixed with latest Orca.

  18. jvesouza commented on Jul 14, 2023

    @jvesouza

    José Vilmar Estácio de Souza (@jvesouza): That would make sense. Due to issues related to Gtk4, Wayland, etc., we can no longer count on getting input events. disappointed

    We use (or rather used to use) input events to interrupt speech. Now, sadly, we have to do this heuristically. It sounds like we're getting it right for VS Code with native dialogs. Yay!

    I ended up not mentioning it in my previous comment, but the flat review mode is also working in this case.

  19. joanmarie commented on Jul 14, 2023

    @joanmarie

    Isidor Nikolic (@isidorn): You forgot the fingerquotes around "fixing". 😛 (The history of accessible input events in Linux is a long and contentious one.)

    Also, you obviously should do what makes the most sense for your project. However, please be aware that Orca v45 (not released) requires the very latest version of AT-SPI2. As a result, Orca users not running the very latest version of their distro -- including those running LTS versions -- might not see this Orca "fix" for a while (years in the LTS case).

  20. isidorn commented on Jul 14, 2023

    @isidorn

    joanmarie thanks for clarifying 😄
    Let's see what Robo (@deepak1556) says.

  21. tristan957 commented on Jul 14, 2023

    @tristan957

    Isidor Nikolic (@isidorn) we essentially need 1 of the following 2 things for a fix.

    Implement a libportal-based file chooser dialog in Electron or inherit the file chooser dialogs from Chromium. I brought this up in the linked Electron issue somewhere above, but there has been no movement from their side.

    The other option is to just revert the offending Electron commits.

  22. jvesouza commented on Jul 20, 2023

    @jvesouza

    I don't know what changed, but the fact is that this problem also disappeared when I use version 44 of orca.
    For me the change seems to have been in vscode because if I use version 1.80 of vscode together with orca 44 the problem returns, but if I use the insiders version of vscode together with orca 44 the problem does not happen.

  23. isidorn commented on Nov 24, 2023

    @isidorn

    I will optimistically go ahead and close this issue. Since we have updated electron multiple times.
    If this issue still persists please let me know and I will reopen it. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

accessibilitybugelectronlinuxnative-file-dialogupstream

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions