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 350574 - assertion `GAIL_IS_WINDOW (child)
assertion `GAIL_IS_WINDOW (child)
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: gail
1.9.x
Other All
: Normal normal
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks:
 
 
Reported: 2006-08-09 11:58 UTC by Ginn Chen
Modified: 2006-08-22 15:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
patch (1.40 KB, patch)
2006-08-09 11:59 UTC, Ginn Chen
committed Details | Review

Description Ginn Chen 2006-08-09 11:58:37 UTC
Please describe the problem:
In Firefox, we want to use gecko a11y toolkit together with gail.
When children-changed:add/removed event emits for atk root, window_added, window_removed in gailutil.c will be executed, but the window may not be a GAIL window.
So it asserts,

** (Gecko:12579): CRITICAL **: window_added: assertion `GAIL_IS_WINDOW (child)' failed

** (Gecko:12579): CRITICAL **: window_removed: assertion `GAIL_IS_WINDOW (child)' failed


Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Firefox need fix its bug 332660 to work with gail.
https://bugzilla.mozilla.org/show_bug.cgi?id=332660
Comment 1 Ginn Chen 2006-08-09 11:59:36 UTC
Created attachment 70543 [details] [review]
patch
Comment 2 bill.haneman 2006-08-21 13:28:40 UTC
I'm not 100% sure about this.  If you are using gailutil, then it seems a bit odd that your windows would not derive from GailWindow (except of course that GailWindow isn't exported in a public header).

But the change seems harmless, and perhaps I have answered my own question above.