nvda
6dae6ab6 - Utilise readonly state when determining browse mode for mail in Windows 11 (#13292)

Commit
4 years ago
Utilise readonly state when determining browse mode for mail in Windows 11 (#13292) Link to issue number: Closes #13050 Summary of the issue: To determine if we should use browse mode or focus mode for Windows 10 mail, NVDA would check if the email headers are set, and not draft headers. In Windows 11 mail, email headers can be scrolled out of focus. When returning focus to an email, after headers have been scrolled out of focus, NVDA incorrectly assumes we are in a draft email. Description of how this pull request fixes the issue: Windows 11 correctly sets the readonly state for emails. This PR uses the readonly state to enable browse mode for mail in Windows 11 Testing strategy: Steps to reproduce: 1. Find a long email using Windows Mail, on Windows 11 2. Go down many lines (if sighted, until headers are scrolled out of view) 3. Press a command to open a dialog in NVDA, EG (`NVDA+Ctrl+S`) for the synthesizer dialog, 4. Press escape to close the synthesizer dialog 5. Try arrowing around the email. - Before this PR, this would cause the same line in the email to be repeatedly spoken - After this PR, navigation around the email works as expected
Author
Parents
Loading