Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Run initial display for braille on the main thread #10498
Link to issue number:
Summary of the issue:
If the braille display auto-detection feature is enabled and large braille table(s) (> 1 MB) are loaded on NVDA startup, the braille table(s) couldn't be completely loaded respectively compiled. Sometimes also the include opcode no longer operates and the braille output keeps blank after NVDA startup unless the braille output was updated (e.g. by opening the NVDA menu). Or only parts of the braille tables are loaded. A "Can't translate" runtime Error was logged on startup.
The likely cause for this is that with auto detection, liblouis translation is executed from the background detection thread, rather than the main thread.
Description of how this pull request fixes the issue:
Queue initial displaying to the main thread.
Tests by @DrSooom in a try build.
Known issues with pull request:
Change log entry: