RE: GNOME shell magnifier does not track Java UI events

"Cancrinus, Bas(AWF)" <[email protected]> Mon, 24 Apr 2017 14:44:44 +0000
Newsgroups gmane.comp.gnome.accessibility.general
Message-ID <BN3PR0701MB1284A902F0632244E6D9C99EF81F0@BN3PR0701MB1284.namprd07.prod.outlook.com>
>>>>> Do you know the state of the Java ATK wrapper ?
>>>> It would be really nice if someone could step up and answer that question.
>>> CCing Magdalen, Java ATK Wrapper maintainer.
>> What's the current state of affairs? I'd like to break the chain and have an alternative for ZoomText/Windows. What more can I do to get there?
> Could you give me a detailed test that I can do on Debian to check if my screen magnifier (ezoom from Hypra) can resolve your issue ?

This is what I did so far:

1. I installed a fresh Debian Jessie image with the Mate window manager.
2. Added the following lines to /etc/apt/sources.list:

	deb http://debian.hypra.fr/debian jessie main contrib non-free
	deb-src http://debian.hypra.fr/debian jessie main contrib non-free

3. wget debian.hypra.fr/key.pub -O- | apt-key add - 
4. sudo apt update
5. sudo apt install mate-accessibility-full
6. sudo apt upgrade
7. reboot -> The desktop started with a high contrast theme and an activated screen reader.
8. Activated zoom with mod4-up
9. sudo apt install openjdk-7-jdk openjdk-7-demo libatk-wrapper-java
10. vi /etc/java-7-openjdk/accessibility.properties
11. Uncommented last line
12. cd /usr/lib/jvm/java-7-openjdk-amd64/demo/jfc/Notepad
13. java -jar -Dassistive_technologies=org.GNOME.Accessibility.AtkWrapper -verbose:jni Notepad.jar
14. Notepad starts and UI tracking works fine.
15. Download IDEA Ultimate (ideaUI-2017.1.1.tar.gz) from https://www.jetbrains.com/idea/download/#section=linux and extract it to a directory of your choice.
16. Add the following line to bin/idea64.vmoptions and bin/vi idea.vmoptions:

	-Dassistive_technologies=org.GNOME.Accessibility.AtkWrapper

17. Run bin/idea.sh
18. Start your evaluation and keep all defaults.
19. Create a new project from the "Java command line application" template and keep all defaults.
20. Edit the generated Java file and navigate to the File menu with Alt-F -> none of the UI events is tracked.

Please let me know if you need any additional info.

Kind regards,
Bas