From owner-freebsd-gnome@FreeBSD.ORG Wed Jan 21 03:39:26 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D7BA16A4CE for ; Wed, 21 Jan 2004 03:39:26 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1325043D45 for ; Wed, 21 Jan 2004 03:39:21 -0800 (PST) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 05F8595B5; Wed, 21 Jan 2004 12:39:12 +0100 (CET) Date: Wed, 21 Jan 2004 12:39:12 +0100 From: Simon Barner To: gnome@FreeBSD.org Message-ID: <20040121113912.GA903@zi025.glhnet.mhn.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de Subject: Keyboard repeat rate and delay are saved as floats X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2004 11:39:26 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, [ FreeBSD 4.9-STABLE, Gnome 2.5, see pkginfo.txt ] When I use ->Applications->Desktop Preferences->Keyboard to customize my settings, I get the following error (in a gwarning box): 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. Regards, Simon --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFADmTgCkn+/eutqCoRApdeAKDk+wexc2VIeyGx0EJUzrJzdaZ0hwCffSEC J0OaR3ZqzSWRPLNnnEr9dHI= =GVMO -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--