-
-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Fix reading the last empty line of a text in apps using Java Access Bridge" #17084
Conversation
WalkthroughThe changes include modifications to the NVDA screen reader's behavior in Java applications, specifically addressing an issue where it incorrectly read the last line of text when the cursor was on the second-last line in multiline edit controls. The control flow for determining line offsets was simplified to enhance accuracy in reading text content. Changes
Assessment against linked issues
Recent review detailsConfiguration used: .coderabbit.yml Files selected for processing (2)
Additional context usedPath-based instructions (2)
Additional comments not posted (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
does this fix #17027? I think the issue should be kept open right? |
I don't think it will fix it, but I think it will get rid of the annoying behaviour. I will ask the reporters to test the try build to confirm. I have edited the PR description to note that it will likely not fix the underlying issue. |
@seanbudd, this didn't re-open #9376. Was it supposed to?
"Reopens" is not a recognized issue linking keyword, according to
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
Is there a workflow that's supposed to be doing this?
|
Sorry I meant to do that manually, thanks for the reminder |
@SaschaCowley from my own testing and understanding of the issue, I don't think the revert will improve the situation. The issue depends on whether the last line of a text is empty, and the behavior is the following: |
Hello @dmitrii-drobotov !
|
@aaryan-kumar yes, I understand the expected behavior, I was just trying to clarify the actual behavior in different NVDA versions. |
@dmitrii-drobotov do you still plan to fix the coresponding bugs and to re submit the PR that was reverted here? |
Reverts PR
Reverts #16568
Issues fixed
Partial fix for #17027
Issues reopened
Reopens #9376
Reason for revert
The changes introduced a bug whereby if the final line was not blank, it would be read in place of the second-last line.
Can this PR be reimplemented? If so, what is required for the next attempt
The changes introduced are desirable if the case of erroneously reporting the last line instead of the second-last line can be resolved.
Summary by CodeRabbit