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 489405 - Address _acc issue in Gecko (pyatspi migration)
Address _acc issue in Gecko (pyatspi migration)
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: 2.22.0
Assigned To: Scott Haeger
Orca Maintainers
Depends on:
Blocks: 448848
 
 
Reported: 2007-10-23 14:12 UTC by Scott Haeger
Modified: 2008-07-22 19:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
first version of Address _acc issue in Gecko (3.11 KB, patch)
2007-10-23 14:22 UTC, Scott Haeger
none Details | Review

Description Scott Haeger 2007-10-23 14:12:03 UTC
Accessible._acc, where Accessible is a document frame, was used as a key to cache context information in Gecko.py.  The key needs to change now that pyatspi is being rolled in because this information is no longer available.  Eitan has proposed that we use the hash() method on these accessibles because they will produce a consistent unique value that can be used for the key.
Comment 1 Scott Haeger 2007-10-23 14:22:37 UTC
Created attachment 97732 [details] [review]
first version of Address _acc issue in Gecko

first version simply replaces documentFrame._acc with hash(documentFrame).
Comment 2 Joanmarie Diggs (IRC: joanie) 2007-10-23 14:57:09 UTC
I just tried the patch and it seems to work.
Comment 3 Willie Walker 2007-10-23 15:09:51 UTC
Looks good.  Thanks!
Comment 4 Scott Haeger 2007-10-23 15:15:24 UTC
committed to trunk.