Skip to content

Windows 10 Calculator: let braille output expressions, even when Delete key is pressed to clear calculator expressions#12486

Merged
seanbudd merged 7 commits into
nvaccess:masterfrom
josephsl:i12268CalculatorOutputAndDeleteCommands
May 31, 2021
Merged

Windows 10 Calculator: let braille output expressions, even when Delete key is pressed to clear calculator expressions#12486
seanbudd merged 7 commits into
nvaccess:masterfrom
josephsl:i12268CalculatorOutputAndDeleteCommands

Conversation

@josephsl

@josephsl josephsl commented May 31, 2021

Copy link
Copy Markdown
Contributor

Hi,

Tested via Windows 10 App Essentials add-on for a while:

Link to issue number:

Closes #12268

Summary of the issue:

When entering expressions, no braille feedback is given, including when Delete key is pressed to clear expressions.

Description of how this pull request fixes the issue:

Adds Delete (including Numpad Delete) as a Calculator command, along with changing from reportfocus to ui.message in results script so braille output can function.

Testing strategy:

Manual testing required (cannot be tested via AppVeyor as the VM runs Windows Server 2016/2019 which does not come with modern Windows 10 Calculator):

  1. Have a braille display handy.
  2. Start Calculator.
  3. Enter expressions.
  4. Press one of the following keys: Enter, Escape, Delete.

Known issues with pull request:

None

Change log entries:

Bug fixes:

In Windows 10 Calculator, NVDA will announce calculator expressions on a braille display. (#12268)

Code Review Checklist:

  • Pull Request description is up to date.
  • Unit tests.
  • System (end to end) tests.
  • Manual testing.
  • User Documentation.
  • Change log entry.
  • Context sensitive help for GUI changes.
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers

Thanks.

josephsl added 5 commits May 25, 2021 16:26
…access#12268.

Braille output is missing when entering calculations, caused by the fact that NVDA will ignore 'displayUpdated' activity Id in consideration for speak typed characters being enabled. Therefore announce expressions in braille always.
…mands that should be announced. Re nvaccess#12268.

Add Delete and Numpad Delete (clear expression) commands to list of commands that should be reported.
…ccess#12268.

When results commands are performed (Escape, Enter, Delete), announce results in both speech and braille instead of speech alone.
@josephsl josephsl requested a review from a team as a code owner May 31, 2021 07:07
@josephsl josephsl requested a review from seanbudd May 31, 2021 07:07
@josephsl josephsl changed the title Windows 10 Calculator: let braille output expressions, even when Delete key is pressed to clear expressoins Windows 10 Calculator: let braille output expressions, even when Delete key is pressed to clear calculator expressions May 31, 2021

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strategy looks good to me, I've fixed a typo though. Can confirm manual testing.

Comment thread source/appModules/calculator.py Outdated
@josephsl

josephsl commented May 31, 2021 via email

Copy link
Copy Markdown
Contributor Author

@seanbudd seanbudd force-pushed the i12268CalculatorOutputAndDeleteCommands branch from 1afbb91 to 4b5a958 Compare May 31, 2021 07:39
@seanbudd seanbudd merged commit 34e831b into nvaccess:master May 31, 2021
@nvaccessAuto nvaccessAuto added this to the 2021.2 milestone May 31, 2021
@josephsl josephsl deleted the i12268CalculatorOutputAndDeleteCommands branch June 1, 2021 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No braille feedback in Windows Calculator

3 participants