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

Unable to open 2010 Word Documents when they are protected, with a Password on Windows 7 Home 64-Bit #2716

Closed
nvaccessAuto opened this issue Oct 14, 2012 · 12 comments

Comments

@nvaccessAuto
Copy link

Reported by Brendon22 on 2012-10-14 04:19
Hello,

I tryed today to open a Word 2010 Document that had a password on it. I don't know about erlyer versions of Word, because I don't own any!

When I pressed enter on the file NVDA said unknown, and
There wasn't any other Screen Readers running at the time, I must have been on JAWS on my desktop. Because JAWS is Menchened in parts of this error. But he wasn't running!

NVDA gave me the Error Sound, and the following Error was in the Log?

IO - speech.speak (12:20:54):
Speaking ('en'), u'Taskbar'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:20:54):
Unknown speech command: LangChangeCommand ('en')
IO - inputCore.InputManager.executeGesture (12:20:55):
Input: kb(laptop):windows+m
IO - speech.speak (12:20:55):
Speaking ('en'), u'Desktop list'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:20:55):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (12:20:55):
Speaking ('en'), u'JAWS 14.0 not selected 3 of 9'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:20:55):
Unknown speech command: LangChangeCommand ('en')
IO - inputCore.InputManager.executeGesture (12:20:56):
Input: kb(laptop):alt+tab
IO - speech.speak (12:20:56):
Speaking ('en'), u'Microsoft Word icon 2 of 3'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:20:56):
Unknown speech command: LangChangeCommand ('en')
ERROR - api.setFocusObject (12:20:57):
Never ending focus ancestry: last object: None, unknown, window class bosa_sdm_msword, application name winword
IO - speech.speak (12:20:57):
Speaking ('en'), u'unknown'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:20:57):
Unknown speech command: LangChangeCommand ('en')
IO - inputCore.InputManager.executeGesture (12:21:01):
Input: kb(laptop):windows+m
DEBUGWARNING - watchdog.watcher (12:21:01):
Trying to recover from freeze, core stack:
File "nvda.pyw", line 155, in
File "core.pyo", line 345, in main
File "wx_core.pyo", line 8010, in MainLoop
File "wx_core.pyo", line 7306, in MainLoop
File "core.pyo", line 322, in Notify
File "IAccessibleHandler.pyo", line 840, in pumpAll
File "IAccessibleHandler.pyo", line 639, in processFocusWinEvent
File "IAccessibleHandler.pyo", line 655, in processFocusNVDAEvent
File "baseObject.pyo", line 34, in get
File "baseObject.pyo", line 110, in getPropertyViaCache
File "NVDAObjects\IAccessible__init
.pyo", line 601, in get_shouldAllowIAccessibleFocusEvent
File "baseObject.pyo", line 34, in get
File "baseObject.pyo", line 110, in getPropertyViaCache
File "NVDAObjects\IAccessible\msOffice.pyo", line 34, in get_parent
File "NVDAObjects\IAccessible__init
.pyo", line 45, in getNVDAObjectFromEvent
File "NVDAObjects__init
_.pyo", line 65, in call
File "NVDAObjects\IAccessible__init__.pyo", line 520, in init
File "IAccessibleHandler.pyo", line 857, in getIAccIdentity
File "comtypes__init__.pyo", line 1078, in QueryInterface

DEBUGWARNING - core.Notify (12:21:01):
errors in this core pump cycle
Traceback (most recent call last):
File "core.pyo", line 322, in Notify
File "IAccessibleHandler.pyo", line 840, in pumpAll
File "IAccessibleHandler.pyo", line 639, in processFocusWinEvent
File "IAccessibleHandler.pyo", line 655, in processFocusNVDAEvent
File "baseObject.pyo", line 34, in get
File "baseObject.pyo", line 110, in getPropertyViaCache
File "NVDAObjects\IAccessible__init
_.pyo", line 601, in get_shouldAllowIAccessibleFocusEvent
File "baseObject.pyo", line 34, in get
File "baseObject.pyo", line 110, in getPropertyViaCache
File "NVDAObjects\IAccessible\msOffice.pyo", line 34, in get_parent
File "NVDAObjects\IAccessible__init
.pyo", line 45, in getNVDAObjectFromEvent
File "NVDAObjects__init
_.pyo", line 72, in call
File "NVDAObjects\IAccessible__init__.pyo", line 375, in findOverlayClasses
File "baseObject.pyo", line 34, in get
File "baseObject.pyo", line 110, in _getPropertyViaCache
File "watchdog.pyo", line 147, in _COMError_init
CallCancelled
DEBUGWARNING - core.newCpbDel (12:21:01):
COM pointer <POINTER(IAccessible) ptr=0x764db38 at 58d7210> already deleted
IO - speech.speak (12:21:01):
Speaking ('en'), u'Desktop list'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:21:01):
Unknown speech command: LangChangeCommand ('en')
IO - speech.speak (12:21:01):
Speaking ('en'), u'JAWS 14.0 not selected 3 of 9'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:21:01):
Unknown speech command: LangChangeCommand ('en')
IO - inputCore.InputManager.executeGesture (12:21:03):
Input: kb(laptop):NVDA+n
IO - speech.speak (12:21:03):
Speaking ('en'), u'NVDA menu'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:21:03):
Unknown speech command: LangChangeCommand ('en')
IO - inputCore.InputManager.executeGesture (12:21:03):
Input: kb(laptop):downArrow
IO - speech.speak (12:21:03):
Speaking ('en'), u'Preferences subMenu p'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:21:03):
Unknown speech command: LangChangeCommand ('en')
IO - inputCore.InputManager.executeGesture (12:21:03):
Input: kb(laptop):downArrow
IO - speech.speak (12:21:04):
Speaking ('en'), u'Tools subMenu t'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:21:04):
Unknown speech command: LangChangeCommand ('en')
IO - inputCore.InputManager.executeGesture (12:21:04):
Input: kb(laptop):enter
IO - speech.speak (12:21:04):
Speaking ('en'), u'View log v'
DEBUGWARNING - synthDriverHandler.SynthDriver.speak (12:21:04):
Unknown speech command: LangChangeCommand ('en')
IO - inputCore.InputManager.executeGesture (12:21:05):
Input: kb(laptop):enter
Blocking #3118

@nvaccessAuto
Copy link
Author

Comment 1 by Brendon22 on 2012-10-27 08:29
Hello,

Can this problem be fixed yet, before NVDA 2012.3 comes out, because not being able to have our documents have protection isn't good.

@nvaccessAuto
Copy link
Author

Comment 2 by mdcurran on 2012-10-27 10:29
Please attach a protected document that shows this behavior and I will take a look.
If you create a document for attaching, please make sure to test with the document first. We have had similar bugs filed in the past that I've never been able to reproduce.

@nvaccessAuto
Copy link
Author

Attachment Test Document.doc added by Brendon22 on 2012-10-27 11:00
Description:
Test Document

@nvaccessAuto
Copy link
Author

Comment 3 by Brendon22 on 2012-10-27 11:01
Hi, Just uploded the file for you! Thanks, Brendon

@nvaccessAuto
Copy link
Author

Comment 4 by mdcurran on 2012-10-29 01:34
This will be rather complex to fix. However, for now, I tseems that you are able to open these documents by opening MS Word first, then opening the document from the open dialog. In this situation the password dialog will read fine... at least from my testing anyway.

Technical info:
We get a remote IAccessible for the password field, but all its properties fail with 'call cancelled by callee' -- some kind of security I guess.
This is why it just says unknown.
As for the never ending focus ancestry: this is caused by a bug in our SDM IAccessible object code where it keeps returning the same broken object as the parent as usually SDM objects are never just the client.
Changes:
Milestone changed from None to 2013.1

@nvaccessAuto
Copy link
Author

Comment 5 by Brendon22 on 2012-10-29 11:18
Hi,

Thanks for this, also the password edit fields will read as letters and not star star as they should, like what was happening in windows Live, as well, may want to fix this as the same time.

@nvaccessAuto
Copy link
Author

Comment 6 by briang1 on 2012-11-27 15:24
This breaks on email attaches and as it seems banks and other organisations are sending docs this way it can be really annoying.

@nvaccessAuto
Copy link
Author

Comment 7 by mdcurran on 2013-01-30 04:06
Not for 2013.1 as its extremely difficult to get around this Office security bug... and there is a work around (see comment 4)
Changes:
Milestone changed from 2013.1 to near-term

@nvaccessAuto
Copy link
Author

Comment by jteh on 2013-04-01 22:23
(In #3118) Duplicate of #2716. See ticket:2716#comment:4 for a work around.

@nvaccessAuto
Copy link
Author

Comment 9 by mdcurran on 2013-09-16 05:41
Access to the password dialog may have been fixed in an Office 010 update, as this is now working perfectly for me here, with both old and new versions of NVDA. After applying all Windows updates (including office updates), can anyone reproduce this fix?

@nvaccessAuto
Copy link
Author

Comment 10 by Brendon22 on 2013-11-09 14:02
Hi Mic,

The password dialog is working fine now great! But something interesting I also notest ... That when you now put in your password into the password edit field , NVDA will say * as it should, but now when you aro across your password, your password is read out allowed? This only started after the fix for the password dialog. Note: This doesn't happen in any other password fields it is only that password edit field.

Thanks.

@nvaccessAuto
Copy link
Author

Comment 11 by mdcurran on 2014-01-07 21:50
Closing as worksForMe as later Office 2010 updates solve the specific issue. The issue about password announcement is a separate issue.
Changes:
Added labels: worksforme
State: closed

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

2 participants