GNOME Bugzilla – Bug 511625
Application role should be ROLE_APPLICATION, not ROLE_EXTENDED
Last modified: 2008-02-06 03:51:54 UTC
When looking at the getRole() of an application object, we're getting ROLE_EXTENDED and not ROLE_APPLICATION. To add to this confusion, getRoleName() is correct and returns 'application'.
Created attachment 103575 [details] [review] Patch to make the role of an application be ROLE_APPLICATION This modifies impl/org/GNOME/Accessibility/ApplicationImpl.java to make the role be ROLE_APPLICATION instead of ROLE_EXTENDED. Seems to solve the problem, but I have no idea why it was ROLE_EXTENDED in the first place. ROLE_EXTENDED seems so obviously wrong that I'm guessing it was done that way for a purpose, unless perhaps ROLE_APPLICATION was added to the AT-SPI idl after this code was written. The svn history seems to have been lost, though, with the first comment being for revision 58 from billh: http://svn.gnome.org/viewvc/java-access-bridge/trunk/impl/org/GNOME/Accessibility/ApplicationImpl.java?view=annotate
Jeff - please review this bug for GNOME 2.21.91. It would be a nice thing to get fixed if we could.
I can't see any reason why it was ROLE_EXTENDED. Could you please commit your patch?
(In reply to comment #3) > I can't see any reason why it was ROLE_EXTENDED. Could you please commit your > patch? > Thank you! Committed. Please remember to make a new release (and thanks ahead of time for doing so :-)).