Keyboard repeat rate and delay are saved as floats

Joe Marcus Clarke marcus at marcuscom.com
Wed Jan 21 10:32:54 PST 2004


On Wed, 2004-01-21 at 06:39, Simon Barner wrote:
> Hi,
> 
> [ FreeBSD 4.9-STABLE, Gnome 2.5, see pkginfo.txt ]
> 
> When I use <Menu>->Applications->Desktop Preferences->Keyboard to
> customize my settings, I get the following error (in a gwarning box):

Works fine for me, but I'm still running g-c-c 2.5.1.1 on this machine
(I'm waiting for GNOME 2.5.3 before I do the recursive upgrade).

> 
> Type mismatch: Expected `int' got `float' for key
> /desktop/gnome/peripherals/keyboard/rate
> 
> Type mismatch: Expected `int' got `float' for key
> /desktop/gnome/peripherals/keyboard/delay
> 
> While this message is only annoying, the real problem is, that my
> keyboard is unusable since the float values are misinterpreted: When I
> press a key, it is printed twice are more often, i.e. the delay seems to
> be very short and the repeat speed very high.
> 
> The only possibility to restore valid integer values is to use gconf
> editor, and to delete the bogus float values and to re-create them as
> integers (delay=450 and rate=90 are good choices for me).
> 
> I had a glance at gnomecontrolcenter's code, and it looks that gconf
> entries get their type specification from schemas. The corresponding one
> seems to be
> 
> /usr/X11R6/etc/gconf/schemas/desktop_gnome_peripherals_keyboard.schemas.
> 
> There, both rate and delay are ints.
> 
> Before I take any further action, like trying to produce a patch or file
> a bugzilla report, I'd like to know whether somebody can reproduce this,
> or whether this is a local problem.

Sounds like kaeru can reproduce this, so a bug would be a good thing to
have.  As he said, please keep us in the loop so we can add it to the
Known Issues list.  Thanks.

Joe

> 
> Regards,
>  Simon
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040121/0a10b1fd/attachment.bin


More information about the freebsd-gnome mailing list