Modify

Opened 10 years ago

Closed 10 years ago

#1199 closed Bug (Works For Me)

GUI is very sluggish with keyboard navigation and screen reader

Reported by: tspivey@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: Blocking
Keywords: gui Cc:

Description

With a screen reader, Autoit GUIs are very sluggish while navigating with the keyboard.
As an example, there is a quite noticeable delay while navigating in the sample given
at the end of this report.
While using the NVDA screen reader (http://nvda-project.org), the following occurs:

  1. When opening the GUI, focus is set to the first tree item (test0) as expected. However, the item

is stating that it is unchecked, and my script doesn't set it as checkable.

  1. If I press the down arrow to move down the tree, there is quite a large delay between the time I press the key and the time

my screen reader reads the item.

  1. When tabbing, there is a noticeable delay between the key and the reading of the item.

I've tried both message mode and OnEvent mode, and changing the value of WinWaitDelay. The
outcome doesn't change.

The sample script:

#include <GUIConstantsEx.au3>
opt("GUIOnEventMode", 1)
GUICreate("test", 500, 500)
$tree = GUICtrlCreateTreeView(10, 10, 60, 100)
GUICtrlCreateInput("", 100, 10, 290, 20)
GUICtrlCreateInput("", 100, 40, 290, 20)
dim $controls[10]
for $i = 0 to 9
$controls[$i] = GUICtrlCreateTreeViewItem("test"&$i, $tree)
next
guiCtrlSetState($controls[0], $GUI_FOCUS)
GuiSetOnEvent($GUI_EVENT_CLOSE, "close")
guiSetState(@sw_show)
    While 1
sleep(1000)
    WEnd
func close()
exit
endFunc

The output from _DebugBugReportEnv():
Environment = 3.3.0.0 under WIN_VISTA/Service Pack 2 X86

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Valik

  • Severity changed from None to Blocking

comment:2 Changed 10 years ago by Jon

I just downloaded the latest NVDA reader (portable version) and the GUI from the example code posted seems to work properly and is very fast. Tabbing and moving the cursor all give instant readings.

comment:3 Changed 10 years ago by Jpm

  • Resolution set to Works For Me
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.