GNOME Bugzilla – Bug 355011
java-access-bridge does not receive and forward popup menu item events
Last modified: 2009-08-25 07:01:30 UTC
1.Use a tracing tool or modify the java-access-bridge code to display the events being handled by the java-access-bridge. I modified the propertyChange method of the globalPropertyChangeListener in bridge/org/GNOME/Accessibility/JavaBridge.java to print all the PropertyChangeEvents it receives. I also modified the processEvent and postEvent methods util/org/GNOME/Accessibility/EventQueueRegistry.java to print the events being handled. 2. Start a J2SE demo application, like SwingSet2, that allows users to activate a popup menu from the keyboard. In SwingSet2, press Shift-F10 activates a popup menu. Press the down arrow to move focus among the items in the popup menu 3. You will notice that the java-access-bridge displays that it received a JRootPane focus-changed event, does not display that it received and JMenuItem events. 4. You can confirm that SwingSet2 is firing the JMenuItem events using the AccessibilityMonitor that is packaged with the Java Access Bridge for Windows. Install jaccess.jar and jaccess-examples.jar in the ext directory where the gnome-access-bridge.jar file is installed. Add AccessibilityMonitor to the "assistive-technologies=" line in accessibility.properties. Start SwingSet2, press Shift-F10 to activate a popup menu, and press the down arrow in the popup menu. The AccessibilityMonitor will display that SwingSet2 fired JMenuItem focus-changed events.
Hi Lynn: Thanks for filing the bug report. Are you sure that the java-access-bridge isn't firing "active-descendant-changed" events in this case? That's sort of what I'd expect (along with a preceding "focus:" event on the containing object). Bill
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. ;-) Thanks!
Pardon me for being late responding to your question. The only event received is a focus-changed event whose source is the root pane. No selection events are received. I just double checked with SwingSet2.
Hi Lynn: I didn't ask about selection events, I asked about 'active-descendant-changed'. If you confirm that JABG isn't firing _any_ events when the active menu item changes, then that's indeed a bug in JABG based on your info above about JMenuItem events. regards Bill
Yes, JABG isn't firing _any_ events when the active menu item changes.
add CC to gnome-a11y-bugs-ext@sun.com
Hi Harry, Are you now responsible for this bug? Lynn
reassign to Jeff Cai.
Lynn, is that ok if you select the menu item with mouse? Could you still reproduce this bug after applying the patch of bug 440783?
(In reply to comment #9) > Lynn, is that ok if you select the menu item with mouse? Could you still > reproduce this bug after applying the patch of bug 440783? > Unfortunately, access is so poorly broken due to the other CORBA problem we've been tracking that I cannot even test this: Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No I think we need to really focus on fixing the CORBA problem. It's a major show stopper for all other testing. :-(
Since java-access-bridge will be removed in gnome 2.28. close this bug.