Open Neurrone opened 10 months ago
Hmm. I've seen this interface unknown error occasionally with the IAccessibleHyperlink interface, which is used when navigating rich text. That error gets swallowed by NVDA catching the exception, but I can see it if I poke with the Python console. Restarting NVDA also fixes that.
How long do you think you have to be running NVDA before you see this?
I really don't know what is causing this. I did manage to get a debugger onto Firefox at one point when I saw this. From what I recall, Firefox never saw the methods get called. So, something weird seems to be going on with COM marshaling between NVDA and Firefox.
Curiously, querying for the interface succeeds, but any methods you call on that interface fail. And once an interface breaks like this, all methods in that interface fail, even when called on a completely different object.
What I don't understand is why. Particularly since Firefox 113, where Cache the World was introduced, Firefox no longer has any obscure COM interceptor, client side handler, etc. In fact, I removed all of that code completely. It's relatively straightforward COM now like any other MSAA/IA2 server.
So, I'm not convinced this is a Firefox bug, but nor can I think of anything in NVDA that could cause this. It is very, very strange.
How long do you think you have to be running NVDA before you see this?
My estimate is sometime within a few minutes to an hour.
Oh wow. That's much shorter than for me. Hmm.
Does this affect behaviour in any way or is it just error sounds?
Table navigation is impossible and there is no speech when attempting to do table navigation once these errors start happening.
Cc @jcsteh
Steps to reproduce:
This only seems to happen for me when NVDA has been running for some time, as restarting NVDA fixes the problem for a while.
Actual behavior:
An error sound is played and the command fails with the following error:
Expected behavior:
Table navigation works per usual.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-30120,8052b68f (2024.1.0.30120)
Windows version:
Windows 11 22H2
Name and version of other software in use when reproducing the issue:
Firefox 121.0B4, but observed with older Firefox stable versions too
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.
Yes, previous snapshots also exhibit this behaviour
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