mono / xwt

A cross-platform UI toolkit for creating desktop applications with .NET and Mono
MIT License
1.37k stars 241 forks source link

[A11Y][WPF] Avoid false-positive SPI_GETSCREENREADER #1007

Closed daserge closed 5 years ago

daserge commented 5 years ago

SPI_GETSCREENREADER sometimes returns true when Narrator is Off ListenerExists checks should be sufficient - tested on Windows 10 1903 and Windows 7 7601 SP 1 with system narrator, NVDA and JAWS (on Win 10). Related issue: https://github.com/microsoft/vscode/issues/27893