GNOME Bugzilla – Bug 128959
Use of SPI_KEYMASK_MOD2 instead of SPI_KEYMASK_NUMLOCK
Last modified: 2004-12-22 21:47:04 UTC
The code in gnopernicus/kbd_mouse/libke/libke.c uses SPI_KEYMASK_MOD2. This will work on linux but not on SOlaris.
Created attachment 22286 [details] [review] Proposed patch
This patch is not correct.
Created attachment 22364 [details] [review] Updated patch
The upadted patch replaces calls to SPI_registerAccessibleKeyStrokeListener with SPI_KEYMASK_MOD2 and SPI_KEYMASK_MOD3 with a call using SPI_KEYMASK_NUMLOCK.
I tested it on my linux RH8.0 system, and I get the following warning messages. As result the layers are not working using SPI_KEYMASK_NUMLOCK. I use last at-spi version from 11.12.2003 . "Warning: AT-SPI error: registering keystroke listener: Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0' Warning: AT-SPI error: registering keystroke listener: Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0' Warning: AT-SPI error: registering keystroke listener: Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0' Warning: AT-SPI error: registering keystroke listener: Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0' Warning: AT-SPI error: registering keystroke listener: Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0' Warning: AT-SPI error: registering keystroke listener: Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0' Warning: AT-SPI error: registering keystroke listener: Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0' "
Yes. This is a consequence of bug #129103. Try using at-spi from CVS HEAD.
bumping up severity since it breaks gnopernicus controls on Solaris.
It does not actually break Solaris as gnopernicus registers for MOD2 and MOD3 instead of NUMLOCK.
agreed, this isn't a hard stopper then. But the patch should go in now that the at-spi bug has been identified and fixed.
Padraig, can you apply the patch?
Patch committed to CVS HEAD.