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 freezes upon opening Log Viewer (NVDA+F1) after entering Word browse mode #6368
Comments
I think two issues are being conflated here.
On one hand, you're talking about poor performance in Microsoft Word
browse mode itself. Word itself is fairly slow at providing information
to us, and the more document formatting settings you have enabled, the
worse it will be. There are limits to how much we can improve this. I'd
suggest disabling various document formatting settings to see if you can
figure out whether there is a particular culprit. If there is, please
provide further details.
On the other hand, you're talking about a freeze when you enter the log
viewer. It's hard to know whether this is because you're dealing with a
very large log file (which could certainly cause a freeze when opening
log viewer) or whether NVDA was still trying to fetch information from
Word and thus couldn't process the log viewer command. Either way, we
need to isolate and deal with one of these issues at a time. It sounds
like the former issue is the one of most concern to you.
|
Hi Jamie, On 9/13/16, James Teh notifications@github.com wrote:
Warm Regards |
So you don't notice this when cursoring around a Word document in focus
mode? That would be intriguing.
|
Hi, On 9/13/16, Bhavya shah bhavya.shah125@gmail.com wrote:
Warm Regards |
Hi Jamie, DEBUGWARNING - scriptHandler.executeScript (09:40:40): Also, to resolve the freeze, I usually need to Alt Tab back to my On 9/13/16, Bhavya shah bhavya.shah125@gmail.com wrote:
Warm Regards |
Hi Jamie, On 9/13/16, Bhavya shah bhavya.shah125@gmail.com wrote:
Warm Regards |
@bhavyashah is it possible for you to provide an example Word document that exhibits the "freeze on paragraph navigation while in browse mode" behaviour? |
This document is long enough to help replicate the afore described freeze - Three Men in a Boat.docx |
I can reproduce this using the document provided with MS Word 2013, with a recent "next" build of NVDA (next-13637,233fa85b). P1 to try and understand the cause of this issue. Then re-prioritise. EDIT: |
Technical: Removing this check results in the move by paragraph in browse mode taking the same amount of time as in focus mode. There is some delay that affects both modes. When moving by paragraph the cursor can be seen to flash many times, as if it is moving multiple times. This might be worth looking into. |
@feerrenrut: you could try replacing
with
This should result in the same number... in deed I'd argue this way is also more in the spirit of the if check anyway, I.e. detecting the end of the document. I cannot reproduce the freeze properly so can't test myself. |
@michaelDCurran, this occurs in other apps as well, I saw it several
times when investigating scripting dragon for example.
…On 12/5/2016 6:27 PM, Michael Curran wrote:
@feerrenrut <https://github.com/feerrenrut>: you could try replacing
|WinwordDocumentObject.characters.count |
with
|WinwordDocumentObject.range().end |
This should result in the same number... in deed I'd argue this way is
also more in the spirit of the if check anyway, I.e. detecting the end
of the document.
I cannot reproduce the freeze properly so can't test myself.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6368 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFGivaZlRVyTfbe2rMkUcSj8CvMP0v_Nks5rFLnxgaJpZM4J6ueY>.
--
------------------------------------------------------------------------
Derek Riemer
* Department of computer science, third year undergraduate student.
* Proud user of the NVDA screen reader.
* Open source enthusiast.
* Member of Bridge Cu
* Avid skiier.
Websites:
Honors portfolio <http://derekriemer.com>
Awesome little hand built weather app!
<http://django.derekriemer.com/weather/>
email me at derek.riemer@colorado.edu <mailto:derek.riemer@colorado.edu>
Phone: (303) 906-2194
|
When moving by paragraph while in browse mode of a large document. Fix for #6368
Fix freeze in Microsoft Word when moving by paragraph through a large document while in browse mode. (Issue #6368)
Steps to reproduce
Open a a fairly large Microsoft Word document.
Switch to browse mode by pressing NVDA+Space.
Try a slightly intensive document reading command such as initiating a say all.
Now, immediately press NVDA+F1 to open the Log Viewer.
Expected Result: The Log Viewer should open without any hitch and NVDA should report it.
Actual Result: There is a significant freeze during this time, and NVDA takes a while to respond and announce the opening of the Log Viewer and begin reading its contents despite having issued necessary reading commands already.
Test Environment
Microsoft Office Word 2010
NVDA version 2016.3
Document of 84 pages (more or less pages should be able to demonstrate this problem consistently as well)
In my observation, NVDA functions very slowly and unresponsively in Microsoft Word's browse mode. Since I usually deal with school textbooks which span up to a few hundreds of pages, and sometimes toggle browse mode to use NVDA's additional functionalities in that state, I have constantly marked this delay. It It is my belief that the freeze that I am describing relates more to a flawed or problematic Word browse mode implementation as opposed to deficiencies in the Log Viewer.
In any case, here is a snippet of the log that I consider pertinent to the issue at hand:
DEBUGWARNING - watchdog.watcher (10:17:12):
Trying to recover from freeze, core stack:
File "nvda.pyw", line 190, in
File "core.pyo", line 384, in main
File "wx_core.pyo", line 8657, in MainLoop
File "wx_core.pyo", line 7952, in MainLoop
File "core.pyo", line 355, in Notify
File "queueHandler.pyo", line 83, in pumpAll
File "queueHandler.pyo", line 50, in flushQueue
File "scriptHandler.pyo", line 144, in queueScriptCallback
File "scriptHandler.pyo", line 186, in executeScript
File "globalCommands.pyo", line 1398, in script_navigatorObject_devInfo
File "logging__init.pyo", line 1167, in info
File "logHandler.pyo", line 122, in _log
File "gui\logViewer.pyo", line 100, in activate
File "gui\logViewer.pyo", line 45, in init
File "gui\logViewer.pyo", line 54, in refresh
File "wx_core.pyo", line 13101, in AppendText
WARNING - watchdog.watcher (10:17:28):
Core frozen in stack:
File "nvda.pyw", line 190, in
File "core.pyo", line 384, in main
File "wx_core.pyo", line 8657, in MainLoop
File "wx_core.pyo", line 7952, in MainLoop
File "core.pyo", line 355, in Notify
File "queueHandler.pyo", line 83, in pumpAll
File "queueHandler.pyo", line 50, in flushQueue
File "scriptHandler.pyo", line 144, in queueScriptCallback
File "scriptHandler.pyo", line 186, in executeScript
File "globalCommands.pyo", line 1398, in script_navigatorObject_devInfo
File "logging__init.pyo", line 1167, in info
File "logHandler.pyo", line 126, in _log
File "wx_core.pyo", line 13263, in SetInsertionPointEnd
The text was updated successfully, but these errors were encountered: