I tried with VirtualBox, Qt Online Installer and a small sample program that I wrote myself.
I recently reinstalled my operating system and now this issue occurs only half the time. Other times, it's immediately accessible. I got an error in the NVDA log. The full log is as follows:
INFO - __main__ (10:12:39.729) - MainThread (6212):
Starting NVDA version 2021.1
INFO - core.main (10:12:39.847) - MainThread (6212):
Config dir: C:\Users\psvkr\AppData\Roaming\nvda
INFO - config.ConfigManager._loadConfig (10:12:39.847) - MainThread (6212):
Loading config: C:\Users\psvkr\AppData\Roaming\nvda\nvda.ini
INFO - core.main (10:12:40.161) - MainThread (6212):
Windows version: Windows 10 21H1 (10.0.19043) workstation
INFO - core.main (10:12:40.161) - MainThread (6212):
Using Python version 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)]
INFO - core.main (10:12:40.161) - MainThread (6212):
Using comtypes version 1.1.8
INFO - core.main (10:12:40.161) - MainThread (6212):
Using configobj version 5.1.0 with validate version 1.0.1
INFO - synthDriverHandler.setSynth (10:12:40.621) - MainThread (6212):
Loaded synthDriver oneCore
INFO - core.main (10:12:40.621) - MainThread (6212):
Using wx version 4.1.1 msw (phoenix) wxWidgets 3.1.5 with six version 1.16.0
INFO - brailleInput.initialize (10:12:40.621) - MainThread (6212):
Braille input initialized
INFO - braille.initialize (10:12:40.626) - MainThread (6212):
Using liblouis version 3.17.0
INFO - braille.initialize (10:12:40.626) - MainThread (6212):
Using pySerial version 3.5
INFO - braille.BrailleHandler.setDisplayByName (10:12:40.632) - MainThread (6212):
Loaded braille display driver noBraille, current display has 0 cells.
INFO - core.main (10:12:40.881) - MainThread (6212):
Java Access Bridge support initialized
INFO - _UIAHandler.UIAHandler.MTAThreadFunc (10:12:40.966) - _UIAHandler.UIAHandler.MTAThread (10544):
UIAutomation: IUIAutomation6
INFO - core.main (10:12:41.251) - MainThread (6212):
NVDA initialized
INFO - speechDictHandler.dictFormatUpgrade._doSynthVoiceDictBackupAndMove (10:12:52.306) - MainThread (6212):
Upgrading voice dictionaries for ibmeci
INFO - synthDriverHandler.setSynth (10:12:52.311) - MainThread (6212):
Loaded synthDriver ibmeci
ERROR - NVDAObjects.behaviors.LiveText._monitor (10:13:17.490) - EnhancedLegacyWinConsole._monitorThread (1628):
Error getting initial text
Traceback (most recent call last):
File "NVDAObjects\behaviors.pyc", line 310, in _monitor
File "NVDAObjects\window\winConsole.pyc", line 66, in _getText
File "winConsoleHandler.pyc", line 127, in getConsoleVisibleLines
File "wincon.pyc", line 77, in GetConsoleScreenBufferInfo
OSError: [WinError 6] The handle is invalid.