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 364773 - GOK using wrong SPI API
GOK using wrong SPI API
Status: RESOLVED WONTFIX
Product: gok
Classification: Deprecated
Component: general
1.0.x
Other Linux
: Normal normal
: ---
Assigned To: David Bolter
David Bolter
gnome[unmaintained]
Depends on:
Blocks: 518864 519313
 
 
Reported: 2006-10-24 18:27 UTC by George Kraft IV
Modified: 2011-10-14 11:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description George Kraft IV 2006-10-24 18:27:05 UTC
GOK is using libcspi instead of libspi which is the normative C runtime API.
Comment 1 David Bolter 2006-11-08 14:11:13 UTC
Thanks George.  
Comment 2 Gerd Kohlberger 2008-07-11 14:45:10 UTC
I'd like to claim this bug for GOPA.

However, grep'ing through gok didn't show any use of libcspi. The only thing that looks suspicious is in gok-keyboard.c:

#if (!defined CSPI_1_5 || (CSPI_1_5 == 0))
/* missing from cspi headers in 1.4 series, but present in libcspi */
SPIBoolean
AccessibleTable_addRowSelection (AccessibleTable *obj,
				 long int row);
SPIBoolean
AccessibleTable_addColumnSelection (AccessibleTable *obj,
				    long int column);

SPIBoolean
AccessibleTable_removeRowSelection (AccessibleTable *obj,
				    long int row);
SPIBoolean
AccessibleTable_removeColumnSelection (AccessibleTable *obj,
				       long int column);
#endif

Is this the problem or is the report not valid anymore?
Comment 3 David Bolter 2008-07-14 20:30:45 UTC
George, could you chime in again to elaborate on this bug?
Comment 4 George Kraft IV 2008-07-17 14:48:55 UTC
ldd /usr/bin/gok | grep spi
libcspi.so.0 => /usr/lib/libcspi.so.0 (0x050df000)
libspi.so.0 => /usr/lib/libspi.so.0 (0x0508d000)

I assume that GOK is using libcspi directly; however, that library is not being maintained that well.   This may impact you when SPI migrates from Orbit2 to DBus.
Comment 5 Willie Walker 2008-12-08 15:34:28 UTC
George, do you have a recommended way that this could be resolved?
Comment 6 George Kraft IV 2008-12-09 14:48:40 UTC
To me it looks like gok-spy.c is using libcspi which is not being maintained very well.  Also, AT-SPI is in the process of migrating from Orbit2 to DBus which will break most all ATs.

http://www.linuxfoundation.org/en/Accessibility/ATK/AT-SPI/AT-SPI_on_D-Bus

My recommendation is to keep this bug open as a reminder to migrate to AT-SPI on DBus.
Comment 7 Akhil Laddha 2011-10-14 11:00:10 UTC
gok (GNOME on-screen keyboard) development has been stalled and it has been replaced by caribou [1]. Maintainers don't have future development plan so i am closing all the bugs as WONTFIX.

[1] https://mail.gnome.org/archives/gnome-bugsquad/2011-October/msg00001.html