Follow-up #17905: Speak typed characters in classic Calculator when echo mode is 'Only in edit controls'.#17913
Merged
Merged
Conversation
… 'Only in edit controls'.
seanbudd
reviewed
Apr 8, 2025
Contributor
|
What do you think about supporting classic calculators which can be downloaded from winaero. For example: https://winaero.com/download-old-classic-calculator-for-windows-11/ |
Contributor
|
Hi, I think not - I think we should target apps preinstalled on Windows, especially apps powered by more modern technologies. We could say that Winaero repackaged apps are useful, and this is where add-ons can come in to offer additional support. Thanks. |
Contributor
|
I realized I can use profile. |
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:
Addresses #17670 for the classic Windows Calculator. Follow-up to PR #17905.
Summary of the issue:
Similar to the issue observed in the modern Windows Calculator, the classic Windows Calculator's display area does not consistently trigger character echo when NVDA's "Speak typed characters" setting is configured to 'Only in edit controls'.
Description of user facing changes
Users will now hear typed characters echoed when typing into the display field of the classic Windows Calculator, even when the "Speak typed characters" option is set to 'Only in edit controls'.
Description of development approach
This change mirrors the approach taken for the modern Calculator in PR #17905.
The
event_typedCharactermethod within theDisplayoverlay class (which specifically targets the display controls of the classic Calculator incalc.py) is modified. When this event occurs and the originalspeakTypedCharactersmode isEDIT_CONTROLS, the mode is temporarily switched toALWAYSbefore calling the parent class's event handler. The original mode is then restored in afinallyblock.Testing strategy:
Manual testing with the classic Windows Calculator (Windows 10 LTSC, calc.exe):
1,+,2,*,3,=).Known issues with pull request:
Code Review Checklist:
@coderabbitai summary