Remove redundant braille.BrailleHandler.update executions#16463
Merged
Conversation
Collaborator
|
This looks reasonable at first sight, though I"m a bit worried about unexpected side effects. This definitely needs a merge early in a release cycle, therefore I'll add the appropriate label for that. |
seanbudd
reviewed
May 6, 2024
seanbudd
approved these changes
May 6, 2024
Collaborator
|
This pr causes an issue where braille messages aren't properly dismissed when braille changes while viewing them. |
LeonarddeR
added a commit
to LeonarddeR/nvda
that referenced
this pull request
May 7, 2024
…access#16463)" This reverts commit 29f4c5c.
5 tasks
seanbudd
pushed a commit
that referenced
this pull request
May 8, 2024
…illeHandler.update executions #16501 fixes #16463 Summary of the issue: Fix for issue of #16463 where braille message was not dismissed. Description of user facing changes Braille message should be dismissed when moving cursor. Description of development approach if buffer is message buffer BrailleHandler._dismissMessage is executed before BrailleHandler.scrollToCursorOrSelection.
5 tasks
burmancomp
added a commit
to burmancomp/nvda
that referenced
this pull request
May 10, 2024
seanbudd
pushed a commit
that referenced
this pull request
May 10, 2024
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to issue number:
fixes #16456
Summary of the issue:
In
braille.BrailleHandler._handlePendingUpdateandbraille.BrailleHandler._doNewObjectfunctionsscrollTocursororSelectionfunction is called.scrollToCursorOrSelectioncallsscrollTowhich in turns callsbraille.BrailleHandler.update. Both_handlePendingUpdateand_doNewObjectcallbraille.BrailleHandler.updateafter callingscrollToCursorOrSelection.Description of user facing changes
There should be less "Braille window dots" log lines when log level is debug. Maybe some minor effect on performance.
Description of development approach
Minor modifications of
_handlePendingUpdateand_doNewObjectfunctions.Testing strategy:
Local testing in daily use
Known issues with pull request:
none at this moment
Code Review Checklist: