GNOME Bugzilla – Bug 350574
assertion `GAIL_IS_WINDOW (child)
Last modified: 2006-08-22 15:11:39 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
Created attachment 70543 [details] [review] patch
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.