Conversation
There was a problem hiding this comment.
Pull request overview
Fixes NVDA Magnifier’s persisted “enabled” state getting out of sync with the actual runtime state when magnifier startup/stop does not succeed, which in turn causes the settings checkbox state to be incorrect.
Changes:
- Update
start()to persistenabledbased onisActive()after attempting to start. - Update
stop()(when persisting) to persistenabledbased onisActive()after attempting to stop.
|
@seanbudd, the checked/unchecked seems to be OK now. But all the comments of #20148 haven't been taken into account. As written in #20148 (comment), NVDA still reports "Starting Fullscreen magnifier with 10.0x zoom level, Normal filter, and Center full-screen mode". This is not correct. Also the 3rd bullet of expected result described in this same comment reads:
You haven't taken this into account. Is it on purpose, and if yes, why? If not, can you also take this point into account when fixing the erroneous message? Thanks. |
Link to issue number:
Fix #20148
Summary of the issue:
If the magnifier failed to start (E.g. if screen curtain or win mag was running), the enabled state was still set to True
Description of user facing changes:
magnifier state now accurately reflects if magnifier failed to start
Description of developer facing changes:
none
Description of development approach:
check if running when setting state
Testing strategy:
tested steps from #20148
Known issues with pull request:
none
Code Review Checklist: