-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
When using Word Object Model in Word/Outlook, NVDA freezes and stops the keyboard from responding #10247
Comments
There is a way to kill the nvda.exe process and then hopefully correctly closing Microsoft Outlook:
I changed the auto-save draft time to 1 minute in Microsoft Outlook especially because of this random, rare freezing bug. |
I've created a try build that adds lots of extra logging when at the debug level. |
Since Ctrl+Alt+Del obviously still works I wonder if there is another such hotkey that you could assign a script to to restart NVDA. It would also be interesting to know if the mouse locks up as well. |
The mouse clicks could be influenced by the held down/hanging Shift, CTRL and/or ALT key. But for opening the context menu in the Task Manager and for the click on an entry there as well as on a button in a dialog, it doesn't really matter here if these keys are held down or not. You are still able to move the mouse cursor and interact with the GUI – as long as the held Shift, CTRL and/or ALT keys make no differences. This would be the case if you left or right click on an application icon in the taskbar (e.g. starting a new instance, open the context/application menu instead of the Jumplist etc.). See also: https://en.wikipedia.org/wiki/Control-Alt-Delete#Windows_NT_family |
@LeonarddeR Your last commit seems to cause an error while installing add-ons:
|
Have you tried switching users with Ctrl+alt+delete, and killing NVDA process from the second account? For me it always works when freezes occurs, however I haven't experienced this exact problem |
@lukaszgo1 That's an interesting approach! @bramd The bug you reported has been fixed. Here is a new try build that also logs isCollapsed property properly. Note that I found #10276 because of your debug logs, that's not going to fix the issue though. |
@LeonarddeR After observing many crashes over the last week it seems we have some serious issues with COM. Using the logs I can't really pinpoint where it fails exactly. My opinion for now is that we need better logging and error handling in our COM clients. Any idea where to start with this? |
To make sure, I assume you mean the comtypes com calls by NVDA, not the in process com calls? I wonder what could possibly cause this. Could it be dynamic dispatch, or may be just an issue general to the Word object model? In any case, I think it would help to start with having comtypes logging piped into NVDA"s log. |
cc @EngineeringMario: who reported several other instances of this issue lately |
I think these crashes might occur more often if you have lots of mails in a folder or if there are many mails with lots of flags like invitations with attachments with importance flags, emails with other different flags such as replied, atributed preview, and and and.
or another way would be to limit the flags only to "read" and "unread" and all other flags could be displayed in a browseable window by pressing a key stroke on a specific message in the list. |
This happens when editing not when accessing list of messages and also according to the description occurs in Word. |
Please read the title and the conversation. Thanks.
|
We have quite a few customers suffering these problems while editing in Outlook or MS Word; Not really related to any version of office.
This moment we expect is is a language related problem. The first tests will show this. Later this week we will suggest customers to only use the original language version.
Within a few weeks we’ll know for sure.
We’ll keep you informed
|
@EngineeringMario This is a friendly reminder to provide a status update to #10247 (comment). You had said you may be able to share your updated findings in a few weeks' time. In case there is any progress on that, please do share. |
I am having issues with all MS Office products, Excel, Outlook, Power Point.....the applications freeze up, have to restart the machine It is happening for V2019 & V 2020.2 |
@a11y-spl We have several fixes for these issues in our latest alpha builds, we aim for these to be included in the 2020.3 release. We would be very interested in knowing if you are experiencing separate issues not yet fixed. If you are comfortable testing these changes please see the snapshots page: https://www.nvaccess.org/files/nvda/snapshots/ |
@a11y-spl: I guess NVDA 2020.3 will be released in October 2020. If you don't want to test the Alpha builds (as portable copies), then please wait for the first Beta of NVDA 2020.3. It will be visible on the above mentioned snapshot page as well. Or just keep an eye on the NV Access News Page. |
@a11y-spl or any one else, are you still seeing these crashes in MS Office 2016 or 365 with NVDA last alpha version? I cannot reproduce them anymore. The last NVDA Alpha can be downloaded from this link: |
We didn't get any updates from people that were able to reproduce this since many years, I am closing as abandoned. Please feel free to comment on this if you are still having the issue and we can reopen. |
Note, this issue is similar to --#6463.
cc @bramd @dkager
Steps to reproduce:
Work with Outlook mail composition or MS Word. Seen in Office 2016, 2013 and 2010 at least. There isn't a known way to trigger this behavior, which makes this hard to reproduce reliably.
Actual behavior:
NVDA freezes and the keyboard is locked up in such a way that it is not possible to restart NVDA. The only way to break out of this situation is signing out and back in again, however this effectively means that you're losing data. As the keyboard is locked up, it is not possible to use alternatives, like running Narrator.
Expected behavior:
No freezes.
Comparison with #6463
Note that since #9208 was merged, the test case from #6463 still allows me to escape/restart NVDA. However in the Word/Outlook freezing case, there is really no other way to escape than sign out/in again.
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
All recent versions of NVDA< for at least a year.
Windows version:
Several versions of Windows 10
Name and version of other software in use when reproducing the issue:
Office 2010, 2013, 2016
Other information about your system:
n/a
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
Yes
The text was updated successfully, but these errors were encountered: