Apache OpenOffice (AOO) Bugzilla – Issue 124573
Office does not start when accessibility is activated.
Last modified: 2017-05-20 10:35:13 UTC
How to reproduce: 1. Start OpenOffice 2. Activate accessibility support: 2a. Tools->Options 2b. OpenOffice->Accessibility 2c. Check 'Support assistive techonology tools 3. Restart OpenOffice Sometimes OpenOffice does not start.
This problem is caused by an uninitialized flag in Desktop::Main() (desktop/source/app/app.cxx): When the support for assistive devices is active then the access bridge is initialized. This sets a flag that defines what to do when the initialization failed. In that case the flag is not modified and, since it is not initialized, contains a random value. Therefore, sometimes OpenOffice just shuts down.
Created attachment 83052 [details] Initialize flag. Initialize bQuitApp flag with sal_False, so that when the initialization of the access bridge fails, OpenOffice does not shut down.
Requesting release blocker status because in some cases OpenOffice fails to start (silently).
grant showstopper flag, sound serious enough and breaks potentially the new accessibility feature
OpenGrok tells me that there are two mode code snippets which call <InitAccessBridge> and do not initialize the value of the 2nd parameter: - in main/vcl/win/source/window/salframe.cxx, method <SalFrameWndProc(..)> - in main/padmin/source/pamain.cxx, method <MyApp::Main()>
"af" committed SVN revision 1583666 into branches/AOO410: i124573: Initialize flags to allow acess bridge initialization to fail gracef...
"af" committed SVN revision 1583671 into trunk: i124573: Initialize flags to allow acess bridge initialization to fail gracef...
I added the initialization in desktop and padmin but not in vcl. We can do the later on trunk.
Fixed as explained above.
Just for clarity, is this bug compatible with the description from Jacopo Deyla to the dev list? He was testing accessibility in a snapshot and reported: "it closes in the loading screen (after 1/3)".
Yes, that fits.
I had set "Tools > Options > OpenOffice->Accessibility > 'Support assistive technology tools'" and I observe, that AOO starts but shuts down immediately in many cases. So I thought, that I can solve the problem by clearing the options. But after restart the option is checked again automatically. Do you see this too? And if yes, does the fix solve this problem too?
"steve_y" committed SVN revision 1583887 into trunk: Issue 124573 - Office does not start when accessibility is activated.
I forgot to mention one important detail. The bug can only be observed when there is NO screen reader installed. @Regina: So far I only have seen code that would turn off the 'Support assistive technology tools' flag. That is done when a screen reader is detected but for some reason the access bridge can not be initialized.
@Andre: I found that the issue can be reproduced when no screen reader or other AT tools running. That's to say the SPI_GETSCREENREADER is not set. (In reply to Andre from comment #14) > I forgot to mention one important detail. The bug can only be observed when > there is NO screen reader installed. > > @Regina: So far I only have seen code that would turn off the 'Support > assistive technology tools' flag. That is done when a screen reader is > detected but for some reason the access bridge can not be initialized.