After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 355011 - java-access-bridge does not receive and forward popup menu item events
java-access-bridge does not receive and forward popup menu item events
Status: RESOLVED WONTFIX
Product: at-spi
Classification: Platform
Component: javabridge
unspecified
Other Linux
: Normal major
: ---
Assigned To: Jeff Cai
Jeff Cai
Depends on:
Blocks: 398100
 
 
Reported: 2006-09-08 20:21 UTC by Lynn Monsanto
Modified: 2009-08-25 07:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Lynn Monsanto 2006-09-08 20:21:09 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.
Comment 1 bill.haneman 2006-09-08 20:29:46 UTC
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
Comment 2 André Klapper 2006-11-29 19:29:27 UTC
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!
Comment 3 Lynn Monsanto 2006-12-12 18:13:12 UTC
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.
Comment 4 bill.haneman 2006-12-12 18:26:19 UTC
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
Comment 5 Lynn Monsanto 2006-12-18 17:03:18 UTC
Yes, JABG isn't firing _any_ events when the active menu item
changes. 
Comment 6 Harry Lu 2007-02-05 06:27:58 UTC
add CC to gnome-a11y-bugs-ext@sun.com
Comment 7 Lynn Monsanto 2007-02-12 19:38:10 UTC
Hi Harry,

Are you now responsible for this bug?

Lynn
Comment 8 Harry Lu 2007-02-13 02:23:26 UTC
reassign to Jeff Cai.
Comment 9 Jeff Cai 2007-11-07 11:54:38 UTC
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?
Comment 10 Willie Walker 2007-11-09 16:50:20 UTC
(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.  :-(
Comment 11 Jeff Cai 2009-08-25 07:01:30 UTC
Since java-access-bridge will be removed in gnome 2.28. close this bug.