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 93495 - jabg: widgets with text & icon roles can be focussed from at-spi
jabg: widgets with text & icon roles can be focussed from at-spi
Status: RESOLVED NOTGNOME
Product: at-spi
Classification: Platform
Component: javabridge
unspecified
Other Solaris
: Normal normal
: ---
Assigned To: Darren Kenny
Darren Kenny
Depends on:
Blocks: 111999
 
 
Reported: 2002-09-17 15:30 UTC by Patrick Wade
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description Patrick Wade 2002-09-17 15:30:27 UTC
Using SwingSet2 Java app:-

Change over to the JEditorPane HTML Demo tabbed pane.
Expand the widget tree in AT-POKE.

Below the 'JEditorPane HTML Demo' page tab widget, you should see
many widgets with roles of either 'text' or 'icon'. These are
elements of the JEditorPane widget (whose role is called 'text' too).

These elements have states that include FOCUSABLE.
However, 'Grab focus' does not alter the current focus, and their
states do not include FOCUSED.
Comment 1 padraig.obriain 2002-10-08 16:21:51 UTC
The fact tht Grab Focaus does not work seems to a Java bridge issue.
It works correctly in a GTK application.

The reason that an element is not reported as having focus is that the
states are obtained by manipulating an at-poke window so the at-poke
window has focus. Therefore no widget in the application being poked
can have focus. at-poke would need to listen for state changes and
update the list of states. 
Comment 2 Calum Benson 2003-04-03 15:10:37 UTC
Updating status_whiteboard field to reflect A11Y team's assessment 
of accessibility impact.
Comment 3 Calum Benson 2003-04-03 15:21:24 UTC
Woops, don't need to track this one with the status_whiteboard field.
Comment 4 Darren Kenny 2003-04-25 08:55:52 UTC
This appears to be a Java implementation bug, the main text/html
component is focusable, but not it's children. In fact if you
do a grabFocus on the children it's the main HTML component that
obtains the FOCUSED state.

Actually the implementation of the HTML component seems a little
flakey in that with it's various children, many text elements
seem to have the same text being referenced - very strange.

Comment 5 Darren Kenny 2003-05-01 14:59:22 UTC
Java bug 4856191 has been logged to get this problem resolved
in the Java VM.

Issuezilla bug 13955 has been logged to get this problem resolved
for SO / OOo. 

Closing this bug as NOT GNOME