modify zoom command to start magnifier if not running#19954
Conversation
|
The lint and license checks found a few errors, but they didn't seem to be related to the files I changed/added. I only added the two files i actually changed to be safe. There was one CI test that seemed to be failing testing the PR in my own fork, but that is not repeated here. |
|
Should this also incorporate an update to the User Guide to confirm that NVDA+shift+equals enables the magnifier (both in the "Enabling and Disabling the Magnifier" section, and the "Magnifier controls" table blow that) Perhaps simply a sentence after "To enable or disable the magnifier, press NVDA+shift+w. " to read something like:
|
|
@ethanl-11 - please also update the user guide as suggested, to ensure references to the zoom command cover the new behaviour |
…ierStartWithZoom
…/nvda into magnifierStartWithZoom
|
Thanks for helping me get this through! |
Link to issue number:
Closes #19624
Summary of the issue:
Magnifier does not match Windows Magnifier behavior. Attempting to "zoom in" with
NVDA+shift+pluswhile magnifier is not running results in a warning rather than starting the magnifier.Description of user facing changes:
NVDA+shift+pluscan now start the magnifier if it wasn't previously running. Keyset continues to serve as a "zoom in" command once magnifier is running.Description of developer facing changes:
None.
Description of development approach:
A check has been added to the zoom function in commands.py that will call toggleMagnifier() if the magnifier is not already active and the zoom direction is positive. Otherwise, zoom behaves as expected.
Testing strategy:
Run changes locally to manually confirm
NVDA+shift+pluswill start magnifier and ensure zoom functionality is unchanged once magnifier is running.Unit tests were also added.
Known issues with pull request:
N/A.
Code Review Checklist: