nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
Other
2.07k stars 624 forks source link

Browse mode in Mozilla Gecko products no longer can be used after restarting NVDA due to IAccessible2 interface registration issues #7269

Closed michaelDCurran closed 6 years ago

michaelDCurran commented 7 years ago

Steps to reproduce:

This can only be reproduced on a small amount of machines running Windows 10 Creaters Update. While NVDA is running:

Browse mode will not be available due to NVDA not being able to queryService to IAccessibleApplication to fetch the Gecko version.

jcsteh commented 7 years ago

CC @DerekRiemer, @JosephSL, who I believe are experiencing this.

beqabeqa473 commented 7 years ago

also have the same problem.

jage9 commented 7 years ago

Confirmed here as well. I usually notice it after an NVDA update which of course would be a restart of NVDA.

jcsteh commented 7 years ago

7207 is possibly related, though we don't have enough technical info there to be sure.

jcsteh commented 7 years ago

Note that #5758 has similar symptoms, but is very different technically and can be worked around. It'd be good if those of you who believe you are experiencing this can do the following:

  1. Switch to another application that isn't a Mozilla application. You may need to start another application if you don't have another open.
  2. Restart NVDA.
  3. Now switch back to the Mozilla application.

If you're experiencing #5758, everything will now work as expected. If you're experiencing this new issue (#7269), nothing will fix things except restarting the Mozilla app.

jcsteh commented 7 years ago

@MichaelDCurran, as discussed, we should log CoRegisterPSClsid failures as errors to help diagnose issues like this.

gregjozk commented 7 years ago

Hi,

confirmed on windows 10 (64-bit) build 15063.413 last firefox (54.0.1 - 32-bit) and NVDA (last next snapshot).

This problem has been detected for a while.

mohdshara commented 7 years ago

confirmed with NVDA 2017.3 and firefox 55..0.3. I have been experiencing this for a while, and our Arabic speaking users confirm this as well.

zahra21 commented 3 years ago

@michaelDCurran, you mentioned that: "This can only be reproduced on a small amount of machines running Windows 10 Creaters Update." i tested with nvda 2017.2 and 2017.3 and wished to share the result with you! unfortunately its not a problem for small amount of systems. i did not have this issue with any version of nvdausing firefox single process mode. i even wanted to use multiprocess in firefox versions before version 57, but multiprocess did not work for me before firefox quantum. even when activating browser.tabs.remote.autostart in firefox about:config, firefox worked for me in single process mode. so, i cant say exactly its the problem in nvda 2017.3 and previous versions with firefox quantum, or with these versions of nvda when multiprocess is activated. my test result with firefox 81 and 82 and nvda 2017.2 and 2017.3 after five minutes or ten minutes or a little more, brows mode stop working for me. all arrow keys and navigation quick keys and using SayAll, all dont work anymore even in gmail or other simple web pages. only tab works in this condition. when i press nvda+plus q and restart nvda, or, i use nvda control n to run nvda again, even tab stop working! and i only hear unknown unknown unknown. it does not matter whether firefox is in focus for me or another application like notepad or even desktop is in focus. so, my issue is 7269 and ias i mentioned in the first sentences of my comment, its not specific for windows ten creator update. it should be related to multiprocess feature, because i dont have this problem in firefox 52 and 52esr and previous versions of firefox or firefox 53 until 56 which are not firefox quantum.

jcsteh commented 3 years ago

@zahra21, the issue you're reporting here sounds more like #7778. Where this issue here only occurred after restarting NVDA (and is now fixed), your explanation notes that you see this issue even without a restart.

jcsteh commented 3 years ago

@@zahra21, I just realised you said you're testing with NVDA 2017.2 and 2017.3. Those versions are no longer supported and the issue you're experiencing may well be resolved, especially since #11494 was fixed in NVDA 2020.3.

zahra21 commented 3 years ago

i did not test issue 5758 with newer versions of nvda. but, 7269 is not reproduceable for me in nvda 2017.4 when i tested. but, unfortunately, for some reasons, i really cant use beyond 2017.3 and since nvda is opensource program, i believe that backporting such essential fixes to 2017.3 is possible and just needs a few minutes! yes, nvda 2017.2 and 2017.3 unfortunately dont work with firefox quantum (81 and 82 i tested) and i tested these nvda versions with firefox 61.0.1 two years ago. and i experienced crashing firefox after for example 30 minutes using simple web pages like gmail in basic html view and, reading nvda documentations.

zahra21 commented 3 years ago

michaelDCurran, you mentioned that: "This can only be reproduced on a small amount of machines running Windows 10 Creaters Update." i tested and my result is very different for this bug!

zahra21 commented 3 years ago
                i tested some versions of firefox on windows seven for example: firefox 52 until 56 and also 67 which is the last version that multiprocess can be enabled or disabled easily on that version.
                first, its not specific for windows ten only, as i said, i reproduced it on windows seven.
                second, it does not affect firefox multiprocess disabled.
                if you wish to test, for example: you can disable multiprocess in firefox 67 and previous versions by modifying one item in about:config
                in the address bar, type about:config and press enter.
                accept the risk.
                in the search bar of about:config type autostart
                the last item is browser.tabs.remote.autostart
                press enter on it to make it false if its true by user or by default.
                if its false, thats great, because nvda 2017.3 and previous versions work again after restarting it while using firefox!
                in nvda 2017.4 and later, your solution worked and restarting nvda does not cause nvda says unknown and stops working in firefox at all!
                in firefox 68 and later, disabling multiprocess still is possible, but it has risk and i think that developers can do it, because its technical and i did not understand exactly how can i disable this terrible feature that makes my system completely unusable with 2017.3 if i dont some task to reduce problems!
                here you are the link for instruction to disable multiprocess in firefox 68 and later.
                https://techdows.com/2019/08/multi-process-e10s-can-still-be-disabled-in-firefox-68-or-later-versions-here-is-how.html