-
-
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
UIA instabilities mostly in console windows #15850
Comments
About problem related to stop reading an output from console windows, it is %100 reproduceable when holding controll to stop speech untill output ends. |
I was also able to reproduce this. |
So just to confirm,
People on this issue are not noticing any improvement with the merging
of #14888 at all? Or is this a very specific case?
When this does occur, can you still alt+tab to other applications? One
goal of the pr was that at least these issues with consoles should not
take out all UIA's focus tracking.
Message ID: ***@***.***>
|
If we are talking about first problem, no, Nothing is accessible
related to UIA, task picker also is affected..
…On 11/29/23, Michael Curran ***@***.***> wrote:
So just to confirm,
People on this issue are not noticing any improvement with the merging
of #14888 at all? Or is this a very specific case?
When this does occur, can you still alt+tab to other applications? One
goal of the pr was that at least these issues with consoles should not
take out all UIA's focus tracking.
Message ID: ***@***.***>
--
Reply to this email directly or view it on GitHub:
#15850 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
--
with best regards Beqa Gozalishvili
Tell: +995593454005
Email: ***@***.***
Web: https://gozaltech.org
Skype: beqabeqa473
Telegram: https://t.me/gozaltech
facebook: https://facebook.com/gozaltech
twitter: https://twitter.com/beqabeqa473
Instagram: https://instagram.com/beqa.gozalishvili
|
cc: @codeofdusk |
I can also confirm this. When this happens, UIA completely stops working at least for several minutes. |
Yes. These issues have been known about for several years at least. PR
#14888 tried to address some of these.
Are current NVDA alpha builds, better, the same, or worse, than NVDA 2023.3?
|
For small amounts of texts, #14888 is better, but unfortunately, if we have to work with larger amounts than outlined in the description of #14888, we are experiencing these issues. |
I also observed the same behavior with latest alpha. The strange thing is that I ran a build with an earlier version of PR #14888 and that seemed to have better performance and at least dod not drop all other UIA events. I was observing build output from a remote Linux machine in Windows console and could alt+tab to an Edge window that was playing a Youtube video. I knew the system was still responsive since I could control the Youtube video, but NVDA did not produce any output in speech or braille and only started working after minutes. Even then, some UIA events tseemed to be dropped and new output in the console was not announced. |
100% reproduceable on my machine with the following steps:
After this, the problem described above occurs. This only happens when DMP plus UIA support is enabled. |
CC @codeofdusk |
Hi, I cannot really look into this as NVDA dmp module is not really my area of expertise and to focus on school. Thanks. |
I patched dmp a little and got the following:
|
Just for clarity, #14888 have noticeable positive impact, when using windows terminal with UIA notifications. |
1
2
Cannot reproduce with fast_diff_match_patch downgraded to diff_match_patch. |
Follow up to #16027 Fixes #15850 Summary of the issue: Diff Match Patch proxy crashes and the calling thread deadlocks Description of user facing changes Diff Match Patch proxy will become more stable Description of development approach Refactored DiffMatchPatch diff handler. Now, when reading from stdout of a proxy process, if not enough bytes are read, the return code is checked. If a return code was received, an exception is raised and a fallback to difflib occurs.
@beqabeqa473 - can you please confirm this is fixed with the next alpha build created |
Follow up to nvaccess#16027 Fixes nvaccess#15850 Summary of the issue: Diff Match Patch proxy crashes and the calling thread deadlocks Description of user facing changes Diff Match Patch proxy will become more stable Description of development approach Refactored DiffMatchPatch diff handler. Now, when reading from stdout of a proxy process, if not enough bytes are read, the return code is checked. If a return code was received, an exception is raised and a fallback to difflib occurs.
CC @michaelDCurran
Instabilities with UIA implementation was discovered mostly when working in console windows, but it might also be reproduceable with other software implementing UIA. It is not fixed by #14888 and was also reproduceable before.
Unfortunately git -P log -1000 doesn't cause this, seems it is not so fast to output stdout.
For this cat should be available on system. Cat is usually installed with other unix tools when installing git for windows.
Steps to reproduce:
First problem:
execute in NVDA repository
git -P log -1000 > log.txt
cat log.txt
Second problem:
execute in NVDA repository:
git -P log -10000
Actual behavior:
For the first problem:
UIA stops responding when outputting large amount of text with cat and on my machine NVDA stop reading everything related to UIA.
After one to five minutes, everything gets back to normal state
For the second problem:
after outputting a large amount of text with git -P log -10000, if you weren't able to reproduce, run twice, NVDA stops reading of console output in any new or existing console windows.
When restarting NVDA, there is no exit soundanymore.
Expected behavior:
UIA should be stable enough in NVDA to nott disturb user.
NVDA logs, crash dumps and other attachments:
No logs
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-30120,8052b68f (2024.1.0.30120)
Windows version:
Windows 11 23H2 (AMD64) build 22631.2428
Name and version of other software in use when reproducing the issue:
ConHost
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
Reproduceable with all Previous versions.
If NVDA add-ons are disabled, is your problem still occurring?
Yes
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Yes
The text was updated successfully, but these errors were encountered: