nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.11k stars 637 forks source link

Freezing NVDA after clicking on "Next button" for downloading Android SDK in IntelliJ IDEA Community Edition 2023.1 #14830

Closed rezabakhshilaktasaraei closed 3 months ago

rezabakhshilaktasaraei commented 1 year ago

Steps to reproduce:

  1. Run IntelliJ IDEA Community Edition 2023.1.
  2. By pressing tab, find "New Project button" and press Spacebar to activate it.
  3. If the app asks you write a name for your project, press shift+tab to see list of project types.
  4. Press end key to reach "Android Android modules are used for developing apps to run on the Android operating system.
    An Android module consists of one or more Activities and may support a number of form-factors
    including Phone and Tablet, Wear and Android Auto. 8 of 8".
  5. press tab and press Spacebar on "Install SDK button alt+I" to activate.
  6. After pressing Spacebar, IntelliJ IDEA announces that "Missing SDK

No Android SDK found. Before continuing, you must download the necessary components or select an existing SDK.".

  1. Now if you activate "Next button" by pressing spacebar, Nvda freezes. If you want to recover NVDA you should endtask IntelliJ IDEA from windows taskbar.

Actual behavior:

!-- windows+d FolderView list IntelliJ IDEA Community Edition 2023.1 6 of 46 numpad enter Welcome to IntelliJ IDEA Welcome screen categories tree view Search projects edit blank tab New Project button space New Project dialog Name: edit selected untitled shift+tab list New Project Create new project with predefined language and build system 1 of 8 end Android Android modules are used for developing apps to run on the Android operating system.
An Android module consists of one or more Activities and may support a number of form-factors
including Phone and Tablet, Wear and Android Auto. 8 of 8 tab Install SDK button alt+I space dialog Finding Available SDK Components Starting download... https://dl.google.com/android/repository/addons_list-5.xml 25 percent 0 percent 32 percent 44 percent 55 percent 66 percent SDK Setup dialog SDK Setup Missing SDK

No Android SDK found. Before continuing, you must download the necessary components or select an existing SDK. Next button alt+N space

Expected behavior:

!-- NVDA should read the items in the next window.

NVDA logs, crash dumps and other attachments:

nvda.log

System configuration

NVDA installed/portable/running from source:

NVDA installed

NVDA version:

2023.1 (2023.1.0.27913)

Windows version:

22H2 (OS Build 19045.2846)

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

IntelliJ IDEA Community Edition 2023.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.

Yes, This issue is and old one.

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.

Adriani90 commented 1 year ago

Could you please test again with last NVDA alpha? You can download the last alpha version here: https://www.nvaccess.org/files/nvda/snapshots/

rezabakhshilaktasaraei commented 1 year ago

Thank you for informing me about another version of NVDA. I downloaded and tested. I have the same issue again. you can see my log nvda.log

rezabakhshilaktasaraei commented 1 year ago

No it hasn't fixed yet. nvda.log

thgcode commented 1 year ago

I tested it and also seen this bug, I think it could be a bug on on IntelliJ's end. On my tests, I also tried to add a new Java SDK and the accessibility tree was not reflecting what appeared on the screen, on NVDA's point of view, it was on the same dialog but it shown a dialog to download or add a new SDK from a folder, but it wasn't reflected by pressing tab or reported by NVDA. Maybe it's something similar with this dialog but worse.

cary-rowen commented 1 year ago

Does anyone have feedback to the Intelli developers?

rezabakhshilaktasaraei commented 1 year ago

How do I report them?

mwhapples commented 1 year ago

I would make a case that NVDA should never freeze, even for applications which do bad things or stop responding to accessibility requests. So there may or may not be an issue in IntelliJ itself, but there definitely is an issue in NVDA.

mwhapples commented 1 year ago

How do I report them?

In IntelliJ in the help menu you should find a menu item for reporting an issue (may be in a submenu), this will take you to the JetBrains bug tracker system where you can search and submit bug reports. Whether this is an bug in IntelliJ at the moment I am not sure. I will try and take a look although things are a little busy for me at the moment.

mwhapples commented 1 year ago

Just thinking outloud so if anyone else wants to take a look, I am thinking may this be where the standard SDK manager from Android tools has been embedded in the IntelliJ UI? I don't know how NVDA would handle embedding of a native UI widget in Java Swing/access bridge applications.

thgcode commented 1 year ago

@mwhapples Some time ago I created an issue to address the freeze with example code, but it was converted to a discussion. See https://github.com/nvaccess/nvda/discussions/14461 .

rezabakhshilaktasaraei commented 1 year ago

Just thinking outloud so if anyone else wants to take a look, I am thinking may this be where the standard SDK manager from Android tools has been embedded in the IntelliJ UI? I don't know how NVDA would handle embedding of a native UI widget in Java Swing/access bridge applications.

I have this issue in Android Studio , too.

How do I report them?

In IntelliJ in the help menu you should find a menu item for reporting an issue (may be in a submenu), this will take you to the JetBrains bug tracker system where you can search and submit bug reports. Whether this is an bug in IntelliJ at the moment I am not sure. I will try and take a look although things are a little busy for me at the moment.

I have this issue in Android Studio too when I want to install android SDK.

seanbudd commented 6 months ago

This needs to be reported to intelliJ

dmitrii-drobotov commented 6 months ago

I've reported this issue to the Android Studio developers: https://issuetracker.google.com/issues/335744348.

dmitrii-drobotov commented 3 months ago

The issue should be fixed in Android Studio Ladybug 2024.1.3 Canary 3 (https://androidstudio.googleblog.com/2024/07/android-studio-ladybug-202413-canary-3.html), and will be available sometime later in the Android plugin for IntelliJ IDEA 2024.2 version.

cary-rowen commented 3 months ago

Yes, thanks for the update on this issue.

SaschaCowley commented 3 months ago

Great, glad to hear this has been fixed.