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 78618 - gail key notification doesn't check to see if key was consumed
gail key notification doesn't check to see if key was consumed
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: gail
unspecified
Other Linux
: Normal normal
: ---
Assigned To: padraig.obriain
padraig.obriain
: 78616 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-13 17:18 UTC by bill.haneman
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description bill.haneman 2002-04-13 17:18:06 UTC
in gail_key_snooper in gailutil.c, the listeners which are notified may
return an int to indicate whether the listener wishes to consume the key of
not; gail_key_snooper does not check this value, but simple returns "0". 
This means that all of the key events pass through regardless, so key
listeners cannot consume keys.

The fix is to change gail_key_snooper so that it checks 
the returns from the AtkKeySnoopFuncs it calls.
Comment 1 bill.haneman 2002-04-13 18:16:37 UTC
*** Bug 78616 has been marked as a duplicate of this bug. ***
Comment 2 bill.haneman 2002-04-15 17:16:23 UTC
fixed in CVS; we may need to review the fix though, replacing the
GHashTable with a GList may be more efficient than the current fix.