nvaccess / nvda

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

Unable to interract with the interactive prompts in shell #14042

Open akash07k opened 2 years ago

akash07k commented 2 years ago

Steps to reproduce:

  1. Start NVDA.
  2. Open windows terminal.
  3. Open a shell (WSL can also be used)
  4. now type sudo apt install exim4 openssl ca-certificates -y and press enter.
  5. Now type sudo dpkg-reconfigure exim4-config
  6. Interractive prompt will be launch which will ask some questions for configuring exim4.
  7. Press the arrow keys and observe. (We are unable to know relyably that which option is got focused because the announcement of the focus is very much confusing)
  8. Now switch to some other window by pressing ALT+Tab.
  9. Come back to the terminal window and try to read via object nav commands. (Most of the times NVDA won't read anything).

Actual behavior:

NVDA behaves very unrelyably on the interractive prompts and we can't determine properly that which item is focused. Also, choosing the "OK" and "Cancel" options is very difficult. Please check below speech output:

Akash@pi: ~
speak command keys on
NVDA+down arrow
Bottom
NVDA+down arrow
Bottom
NVDA+up arrow
NVDA+up arrow
NVDA+up arrow
NVDA+t
akash@pi: ~
NVDA+t
akash@pi: ~
NVDA+up arrow
NVDA+down arrow
Bottom
NVDA+down arrow
Bottom
NVDA+t
akash@pi: ~
down arrow
    └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘    
down arrow
    │                                          mail sent by smarthost; no local mail                                                                   │    
down arrow
    │                                          local delivery only; not on a network                                                                   │    
down arrow
    │                                          no configuration at this time                                                                           │    
up arrow
    │                                          no configuration at this time                                                                           │    
up arrow
    │                                          no configuration at this time                                                                           │    
up arrow
    │                                          local delivery only; not on a network                                                                   │    
up arrow
    │                                          mail sent by smarthost; no local mail                                                                   │    
up arrow
    │                                          mail sent by smarthost; received via SMTP or fetchmail                                                  │    
down arrow
    │                                          mail sent by smarthost; received via SMTP or fetchmail                                                  │    
down arrow
    │                                          mail sent by smarthost; received via SMTP or fetchmail                                                  │    
down arrow
    │                                          mail sent by smarthost; no local mail                                                                   │    
down arrow
    │                                          local delivery only; not on a network                                                                   │    
down arrow
    │                                          no configuration at this time                                                                           │    
down arrow
    │                                          no configuration at this time                                                                           │    
down arrow
    │                                          no configuration at this time                                                                           │    
up arrow
    │                                          no configuration at this time                                                                           │    
up arrow
    │                                          no configuration at this time                                                                           │    
up arrow
    │                                          local delivery only; not on a network                                                                   │    
up arrow
    │                                          mail sent by smarthost; no local mail                                                                   │    
up arrow
    │                                          mail sent by smarthost; received via SMTP or fetchmail                                                  │    
tab
tab
tab
tab
NVDA+up arrow

Expected behavior:

NVDA should announce the selected options properly.

NVDA logs, crash dumps and other attachments:

N/A

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

NVDA version alpha-26247,f47eb663

Windows version:

Windows 11 release preview, dev and beta all.

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

Windows terminal 1.14 Stable and Windows Terminal 1.15 Preview

Other information about your system:

N/A

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.

Yes, tried last 2-3 stable versions, same behaviour

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

seanbudd commented 2 years ago

Is this an issue with NVDA 2022.2? If so, it could be related to #10964.

cc @codeofdusk

codeofdusk commented 2 years ago

10964 only affects windows Console (conhost.exe), not Windows Terminal (wt.exe).

You should probably file this as a bug against Windows Terminal (CCing @carlos-zamora).

In the short term, run sudo dpkg-reconfigure debconf and choose "readline" as your preferred front-end.

akash07k commented 2 years ago

Hey Bill,

thanks for the readline tip.

Quite helpful.

I'll file the same bug with Terminal soon

On 8/22/2022 6:40 AM, Bill Dengler wrote:

10964 https://github.com/nvaccess/nvda/pull/10964 only affects

windows Console (|conhost.exe|), not Windows Terminal (|wt.exe|).

You should probably file this as a bug against Windows Terminal (CCing @carlos-zamora https://github.com/carlos-zamora).

In the short term, run |sudo dpkg-reconfigure debconf| and choose "readline" as your preferred front-end.

— Reply to this email directly, view it on GitHub https://github.com/nvaccess/nvda/issues/14042#issuecomment-1221673566, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQWBM2SXTMEYQIXUPQY7C3V2LHRLANCNFSM57FIZ4UA. You are receiving this because you authored the thread.Message ID: @.***>

LeonarddeR commented 2 years ago

@akash07k just to make sure, please reference this issue in the WT issue so we can follow the progress easily.

akash07k commented 2 years ago

Sure @leonardder I'll soon log the issue and will reference this issue from there

akash07k commented 2 years ago

@leonardder @codeofdusk Logged the issue with Terminal too. Please Check it out here