Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion source/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,10 +584,16 @@ def run(self):
log.debug("initializing updateCheck")
updateCheck.initialize()
log.info("NVDA initialized")

# Queue the firing of the postNVDAStartup notification.
# This is queued so that it will run from within the core loop,
# and initial focus has been reported.
queueHandler.queueFunction(queueHandler.eventQueue, postNvdaStartup.notify)
def _doPostNvdaStartupAction():
log.debug("Notify of postNvdaStartup action")
postNvdaStartup.notify()

queueHandler.queueFunction(queueHandler.eventQueue, _doPostNvdaStartupAction)


log.debug("entering wx application main loop")
app.MainLoop()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ def wait_for_NVDA_startup_to_complete(self):
giveUpAfterSeconds=self._minTimeout(10),
errorMessage="Unable to connect to nvdaSpy",
)
if self._isNvdaStartupComplete:
self.reset_all_speech_index()
self.reset_all_speech_index()

def get_last_speech(self) -> str:
return self._getSpeechAtIndex(-1)
Expand Down
6 changes: 5 additions & 1 deletion tests/system/robot/chromeTests.robot
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Library NvdaLib.py
Library chromeTests.py
Library ScreenCapLibrary

Test Setup start NVDA standard-dontShowWelcomeDialog.ini
Test Setup default setup
Test Teardown default teardown

*** Keywords ***
Expand All @@ -22,6 +22,10 @@ default teardown
exit chrome
quit NVDA

default setup
start NVDA standard-dontShowWelcomeDialog.ini
Sleep 2s

*** Test Cases ***

checkbox labelled by inner element
Expand Down