https://bugs.freedesktop.org/show_bug.cgi?id=58995

V Stuart Foote <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOTOURBUG                   |---

--- Comment #15 from V Stuart Foote <[email protected]> ---
David

Sorry reopening. There are problems with UNO Accessibility API <--> Java
Accessibility API not passing accessibility events from LibreOffice.
JRE 1.6u45 bridges events flawless, while JRE 1.7u25 misses large numbers of
accessibility events.

Also, we should not bring an AT tool like NVDA or JAWS into the mix as the they
are really not the issue--as AT they have to handle the instrumentation being
passed to them by JAA on Windows. (Although the latest NVDA 2013.1 build is
throwing some JABHandler.pyo gain_Focus errors that are new to me. -- Jamie?)

At this point, rather than the AT it seems more controlled to use the JRE 6,
JavaFerret-32 and follow the focus events, and review the AccessibleContext
information being returned.

Then what is useful is to see the Accessibility Events and Java Events--and
Oracle provides the javaferret-32.exe--since we're on Windows need to keep
things 32-bit for the time being.  The javaferret-32.exe is found bundled with
JAB v2.0.2. Which has a link from the the JRE 7 Enabling & Test page linked at
http://www.oracle.com/technetwork/java/javase/downloads/jab-2-0-2-download-354311.html
  Unzip the download, the Windows executables are

Yes, the Java SwingSet2 demo, which is JRE 6 bytecode 50.0, runs correctly and
its instrumented accessibility events show in javaferret-32 with JRE 1.7u25 and
JAB 2.0.3

But LibreOffice builds 4.0.3.2, 4.0.4.2, 4.1.0.1 and 4.2.0alpha+ are sporadic
in delivering accessibility events when JRE 1.7u25 is otherwise correctly
functioning.


Use case:

Install and configure JRE 1.7u25 environment, so that from a command prompt

where java
java -version
where WindowsAccessBridge*.dll

return meaningful results.


C:\Users\vsfoote>where java
C:\Program Files (x86)\Java\jre7\bin\java.exe

C:\Users\vsfoote>java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b16)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)

C:\Users\vsfoote>where WindowsAccessBridge*.dll
C:\Windows\System32\WindowsAccessBridge-32.dll
C:\Program Files (x86)\Java\jre7\bin\WindowsAccessBridge-32.dll

Launch javaferret-32.exe 

Run SwingSet2.jar from command line:  java -jar SwindSet2.jar

Set javaferret-32 -- Java Events --> Track focus events; and on Accessibility
Events --> Track Name, Value, Selection and Text properties.

Observe that javaferret-32 will show every change of focus and that accessibile
context is well filled.


Install any current LibreOffice build.  Configure 
1) Tools -> Options -> Advanced -> Java Options panel -- check use a Java
Runtine environment, and select radio button for available JRE environment
noting "with accessibility support" if the JRE's jabswitch -enable flag had
been set.

2) Tools -> Options -> Accessibility -> Miscellaneous options panel -- check
Support assistive technology tools (program restart required)

Restart LibreOffice.

The javaferret-32 should reflect the start panel on launch. And <F6> key entry
should generate focus events from LibreOffice. A launch of any component from
start panel should move focus, and again <F6> should cycle focus through
various accessible components.

Uninstall JRE 1.7u25 and install JRE 1.6u45. Make same system configurations to
have reasonable command line results.

C:\JABv2.0.2>where java
C:\Program Files (x86)\Java\jre6\bin\java.exe

C:\JABv2.0.2>java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Client VM (build 20.45-b01, mixed mode, sharing)

C:\JABv2.0.2>java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Client VM (build 20.45-b01, mixed mode, sharing)
C:\JABv2.0.2>where WindowsAccessBridge*.dll
C:\JABv2.0.2\WindowsAccessBridge.dll
C:\Windows\System32\WindowsAccessBridge-32.dll

C:\JABv2.0.2>java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Client VM (build 20.45-b01, mixed mode, sharing)

Launch the same LibreOffice build, launch javaferret-32.

Will then have meaningful details for start panel, and <F6> actions will cause
focus shift when following along in javaferret-32.  If they don't show in the
javaferret-32 they won't be acted on by the AT, and that is what is happening
with the LibreOffice java classes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to