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 478124 - Java bridge needs interface objects to be narrowed.
Java bridge needs interface objects to be narrowed.
Status: RESOLVED FIXED
Product: pyatspi2
Classification: Applications
Component: general
unspecified
Other Linux
: High normal
: ---
Assigned To: Eitan Isaacson
Li Yuan
Depends on:
Blocks:
 
 
Reported: 2007-09-18 18:32 UTC by Eitan Isaacson
Modified: 2019-03-27 20:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (1.63 KB, patch)
2007-09-18 18:38 UTC, Eitan Isaacson
committed Details | Review

Description Eitan Isaacson 2007-09-18 18:32:56 UTC
Pyatspi returns CORBA.Object.Unknown when it queries for an Accessible interface from a Java bridge. Objects need to be cast to the correct interface type.
Comment 1 Eitan Isaacson 2007-09-18 18:38:00 UTC
Created attachment 95815 [details] [review]
Proposed patch

Narrows instance accordingly. Let me know if this patch is sensible.
Comment 2 Eitan Isaacson 2007-10-02 00:26:54 UTC
I would like to commit this for the 2.20.1 release. You guys think it's possible?
Comment 3 Peter Parente 2007-10-02 01:06:31 UTC
What version of pyorbit are you using? Gustavo committed a patch some months back that shouldn't require narrowing to Java objects anymore.

I don't see any harm in doing it though.
Comment 4 Eitan Isaacson 2007-10-12 18:48:32 UTC
I'm on pyorbit 2.14.3 (gutsy). And its still not narrowing.
Comment 5 Eitan Isaacson 2007-10-12 19:32:22 UTC
Committed, hopefully we could put this in a stable release.