Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nvda throwing errors in Outlook passwords fields, inable to read them #4227

Closed
nvaccessAuto opened this issue Jun 27, 2014 · 6 comments
Closed

Comments

@nvaccessAuto
Copy link

Reported by leonarddr on 2014-06-27 08:20
Although this issue should have been fixed according to #4090 and #3832, i still get com errors in password fields.
Steps to reproduce: Open the accounts manager by pressing alt+f,i,s,a. Select an acount and choose Change. I attached a log file containing the error

@nvaccessAuto
Copy link
Author

Attachment nvda_outlook_password_error.log added by leonarddr on 2014-06-27 08:20
Description:
File containing the relevant log for #4227

@nvaccessAuto
Copy link
Author

Comment 2 by mdcurran on 2014-06-27 09:07
I can't seem to reproduce this on Windows 7 with Office 2013 or Windows 8.1 with Office 2010. It is possible that its specific to Office 2013 on Windows 8.1. If I can ever reproduce it I'll obviously try fixing it. But at least I do need to know, is it worse than it was in 2014.2? Those other tickets certainly did fix things on my system at least.

@nvaccessAuto
Copy link
Author

Comment 3 by leonarddr on 2014-06-27 09:16
It seems the issue hasn't changed since 2013.2. So neither improvement nor deterioration.
If I could assist in tracking down this issue by any means, please let me know.

@nvaccessAuto
Copy link
Author

Comment 4 by leonarddr on 2014-06-27 09:20
May be others like @nvdakor could reproduce this?

@nvaccessAuto
Copy link
Author

Comment 5 by bramd on 2015-10-26 22:48
I can reproduce this in Outlook 2013. According to the developer info, an access denied exception is raised while accessing UIA accValue. The windowText is the password being entered and the displayText is the correct number of "" signs. So we might need to fall back on displayText or get the text length in another way and set the value to the correct number of "" signs.

Log follows:

ERROR - core.Notify (23:43:38):
errors in this core pump cycle
Traceback (most recent call last):
File "core.pyc", line 348, in Notify
File "braille.pyc", line 1647, in pumpAll
File "braille.pyc", line 1575, in handlePendingCaretUpdate
File "braille.pyc", line 1581, in _doCursorMove
File "braille.pyc", line 903, in update
File "braille.pyc", line 790, in addTextWithFields
File "NVDAObjects\window\edit.pyc", line 668, in getTextWithFields
File "NVDAObjects\window\edit.pyc", line 614, in getTextAtRange
File "comtypes__init
.pyc", line 266, in getattr
COMError: (-2147467259, 'Unspecified error', (None, None, None, 0, None))
INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (23:43:39):
Developer info for navigator object:
name: u'Password:'
role: ROLE_EDITABLETEXT
states: STATE_FOCUSABLE, STATE_PROTECTED, STATE_FOCUSED
isFocusable: True
hasFocus: True
Python object: <NVDAObjects.Dynamic_IAccessibleRichEdit20WindowNVDAObject object at 0x09CE5FF0>
Python class mro: (<class 'NVDAObjects.Dynamic_IAccessibleRichEdit20WindowNVDAObject'>, <class 'NVDAObjects.IAccessible.IAccessible'>, <class 'NVDAObjects.window.edit.RichEdit20'>, <class 'NVDAObjects.window.edit.RichEdit'>, <class 'NVDAObjects.window.edit.Edit'>, <class 'NVDAObjects.behaviors.EditableTextWithAutoSelectDetection'>, <class 'NVDAObjects.behaviors.EditableText'>, <class 'editableText.EditableText'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)
description: None
location: (152, 292, 248, 16)
value: None
appModule: <'outlook' (appName u'outlook', process ID 2572) at address 9cdce30>
appModule.productName: u'Microsoft Outlook'
appModule.productVersion: u'15.0.4701.1000'
TextInfo: <class 'NVDAObjects.window.edit.ITextDocumentTextInfo'>
windowHandle: 525370
windowClassName: u'RichEdit20WPT'
windowControlID: 350
windowStyle: 1342259360
windowThreadID: 4984
windowText: u'aaaaaa'
displayText: u'******'
IAccessibleObject: <POINTER(IAccessible) ptr=0xad864b0 at 54e0030>
IAccessibleChildID: 0
IAccessible event parameters: windowHandle=525370, objectID=-4, childID=0
IAccessible accName: u'Password:'
IAccessible accRole: ROLE_SYSTEM_TEXT
IAccessible accState: STATE_SYSTEM_FOCUSED, STATE_SYSTEM_FOCUSABLE, STATE_SYSTEM_PROTECTED, STATE_SYSTEM_VALID (537919492)
IAccessible accDescription: None
IAccessible accValue: exception: (-2147024891, 'Access is denied.', (None, None, None, 0, None))

@LeonarddeR
Copy link
Collaborator

I can't reproduce this any more. Feel free to close this. I can't do it myself since this is a pre2015 issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants