Topics

Query about behaviour on Alpha snaps on some buttons.

Brian's Mail list account
 

This looks like an issue where the latest Python 3 version has a regression in figuring out what to say a buttons text is.
See these two log fragments.

Stable 2019.2 Windows 7 portable install, Superantispyware main menu.

IO - speech.speak (08:38:48.164):
Speaking [LangChangeCommand ('en_GB'), u'Scan This ComputerLast scan was 20 hours ago']
IO - inputCore.InputManager.executeGesture (08:38:59.217):
Input: kb(desktop):NVDA+f1
INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (08:38:59.255):
Developer info for navigator object:
name: u'Scan This ComputerLast scan was 20 hours ago'
role: ROLE_BUTTON
states: STATE_FOCUSABLE, STATE_FOCUSED
isFocusable: True
hasFocus: True
Python object: <NVDAObjects.IAccessible.Button object at 0x05042930>
Python class mro: (<class 'NVDAObjects.IAccessible.Button'>, <class 'NVDAObjects.IAccessible.IAccessible'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'documentBase.TextContainerObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)
description: None
location: RectLTWH(left=652, top=335, width=194, height=128)
value: None
appModule: <'appModuleHandler' (appName u'superantispyware', process ID 2912) at address 5471030>
appModule.productName: u'SUPERAntiSpyware'
appModule.productVersion: u'8, 0, 0, 1042'
TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>
windowHandle: 131628
windowClassName: u'Button'
windowControlID: 1170
windowStyle: 1342243585
extendedWindowStyle: 4
windowThreadID: 4772
windowText: u' '
displayText: u'Scan This ComputerLast scan was 20 hours ago'
IAccessibleObject: <POINTER(IAccessible) ptr=0x85a63f0 at 520fc10>
IAccessibleChildID: 0
IAccessible event parameters: windowHandle=131628, objectID=-4, childID=0
IAccessible accName: u' '
IAccessible accRole: ROLE_SYSTEM_PUSHBUTTON
IAccessible accState: STATE_SYSTEM_DEFAULT, STATE_SYSTEM_FOCUSED, STATE_SYSTEM_FOCUSABLE, STATE_SYSTEM_VALID (1048836)
IAccessible accDescription: None
IAccessible accValue: None


Latest Alpha snapshot all other parameters the same.

IO - speech.speak (08:35:24.377):
Speaking [LangChangeCommand ('en_GB'), 'button']
IO - inputCore.InputManager.executeGesture (08:35:30.986):
Input: kb(desktop):NVDA+f1
INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (08:35:31.026):
Developer info for navigator object:
name: 'Scan This ComputerLast scan was 20 hours ago'
role: ROLE_BUTTON
states: STATE_FOCUSABLE, STATE_FOCUSED
isFocusable: True
hasFocus: True
Python object: <NVDAObjects.IAccessible.Button object at 0x03DE0B30>
Python class mro: (<class 'NVDAObjects.IAccessible.Button'>, <class 'NVDAObjects.IAccessible.IAccessible'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'documentBase.TextContainerObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <class 'object'>)
description: None
location: RectLTWH(left=652, top=335, width=194, height=128)
value: None
appModule: <'appModuleHandler' (appName 'superantispyware', process ID 2912) at address 4999f10>
appModule.productName: 'SUPERAntiSpyware'
appModule.productVersion: '8, 0, 0, 1042'
TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>
windowHandle: 131628
windowClassName: 'Button'
windowControlID: 1170
windowStyle: 1342243585
extendedWindowStyle: 4
windowThreadID: 4772
windowText: ' '
displayText: 'Scan This ComputerLast scan was 20 hours ago'
IAccessibleObject: <POINTER(IAccessible) ptr=0x5568278 at 599d3a0>
IAccessibleChildID: 0
IAccessible event parameters: windowHandle=131628, objectID=-4, childID=0
IAccessible accName: ' '
IAccessible accRole: ROLE_SYSTEM_PUSHBUTTON
IAccessible accState: STATE_SYSTEM_FOCUSED, STATE_SYSTEM_DEFAULT, STATE_SYSTEM_FOCUSABLE, STATE_SYSTEM_VALID (1048836)
IAccessible accDescription: None
IAccessible accValue: None


If you tab and alt tab the button now merely says button without the text for its function as in the latest stable nvda.
Some other buttons just say button as well even though clearlly the text info is still being gathered as previously.

#
Brian

bglists@...
Sent via blueyonder.
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.
Newsgroup monitored: alt.comp.blind-users