Skip to content

NVDA 2024.3 Reads Content of Last Line When Cursor is on Second Last Line in JetBrains IDEs #17027

@aaryan-kumar

Description

@aaryan-kumar

Reporter: Aaryan Kumar Andarpa
Description:
In the Java Access Bridge application, specifically in JetBrains IDEs such as PhpStorm 2023.1.6, NVDA 2024.3 is incorrectly reading the content of the last line when the cursor is placed on the second last line. This issue seems to have surfaced after a recent fix that addressed NVDA's behavior of reading the second last line's content when the last line was blank. While that issue is now resolved, this new problem has emerged as a consequence.
Steps to Reproduce:

  1. Open PhpStorm 2023.1.6 or any other JetBrains IDE using NVDA 2024.3.
  2. Place the cursor on the second last line of the code editor.
  3. Observe that NVDA reads the content of the last line instead of the second last line.
    Expected Behavior:
    NVDA should read the content of the line where the cursor is currently positioned (i.e., the second last line).
    Actual Behavior:
    NVDA reads the content of the last line when the cursor is on the second last line.
    Environment:
    • NVDA Version: 2024.3
    • IDE Version: PhpStorm 2023.1.6
    • Operating System: Windows 10
    Additional Notes:
    This issue seems to be a side effect of the recent fix related to handling blank lines, which was functioning as intended. However, it has introduced this new regression.
    Thank you.

Steps to reproduce:

  1. Open PhpStorm 2023.1.6 or any other JetBrains IDE using NVDA 2024.3.
  2. Place the cursor on the second last line of the code editor.
  3. Observe that NVDA reads the content of the last line instead of the second last line.

Actual behavior:

NVDA reads the content of the last line when the cursor is on the second last line.

Expected behavior:

NVDA should read the content of the line where the cursor is currently positioned (i.e., the second last line).

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

NVDA version:

2024.3

Windows version:

Windows 10

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

Android Studio Koala | 2024.1.1
PhpStorm 2023.1.6

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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/java-access-bridgep4https://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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions