Bug 126745 - gnome-keyboard-properties sets keyboard delay and rate as float instead of int
Summary: gnome-keyboard-properties sets keyboard delay and rate as float instead of int
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: control-center
Version: 2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-25 16:41 UTC by Scott Gifford
Modified: 2007-11-30 22:10 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-05-11 21:34:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Scott Gifford 2004-06-25 16:41:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

Description of problem:
When I run gnome-keyboard-properties (via the Preferences/Keyboard
menu option) and try to adjust the keyboard repeat rate or delay, I
get a popup error like this:

    Type mismatch: Expected `int' got `float' for key
/desktop/gnome/peripherals/keyboard/delay

This error continues to occur when I start X.

I can correct this by hand, and get the results I want, by setting the
properties as integers:

    gconftool-2 -t int -s /desktop/gnome/peripherals/keyboard/delay 500
    gconftool-2 -t int -s /desktop/gnome/peripherals/keyboard/rate 20

As a side note, when the repeat rate gets screwed up, keys repeat so
quickly that it's impossible to type, making it very difficult to
correct the problem by hand.  A limit on the repeat rate would be a
good way of mitigating the damage from bugs like this.


Version-Release number of selected component (if applicable):
control-center-2.6.1-3

How reproducible:
Always

Steps to Reproduce:
1. Select the Preferences/Keyboard menu item
2. Select the Keyboard tab
3. Below Repeat Keys, select "Key presses repeat when key is held down".
4. Move the sliders for Delay or Rate.
    

Actual Results:  An error pops up, and all keys repeat twice
immediately upon pressing them.


Expected Results:  Setting the proper keyboard repeat properties.


Additional info:

Comment 1 Paul Eden 2004-09-17 15:27:16 UTC
I have the same problem.

Comment 2 Paul Eden 2004-09-17 15:37:34 UTC
I have tried to downgrade libgnome 
using:
rpm -e libgnome libgnome-devel --nodeps;  
rpm -ivh libgnome-2.6.0-2.i386.rpm libgnome-devel-2.6.0-2.i386.rpm

to 2.6.0.2 which did not fix the problem.

This downgrade was suggested in bug 124207 which is a duplicate of
this one.

Comment 3 Paul Eden 2004-09-17 15:40:15 UTC
I take that back.  The problem is now fixed after downgrading to
libgnome 2.6.0-2.

Comment 4 Paul Eden 2004-09-17 15:50:15 UTC
Update:

If I use /usr/bin/gnome-keyboard-properties and change either the
delay or speed in the Repeat keys section the error reoccurs (pop up
box with error message and repeat keys does not work).

Using 
gconftool-2 -t int -s /desktop/gnome/peripherals/keyboard/delay 500
gconftool-2 -t int -s /desktop/gnome/peripherals/keyboard/rate 20
and then using /usr/bin/gnome-keyboard-properties and only checking
"Key presses repeat when key is down" fixes the problem again.

Note this manual fix also works after upgrading libgnome to 2.6.0-3.

Comment 5 Marco Pesenti Gritti 2004-11-04 14:46:55 UTC
Can you give me the output of:

/etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/peripherals/keyboard/%gconf.xml
| grep delay

Comment 6 Paul Eden 2004-11-04 15:52:30 UTC
Sorry, not anymore.  I have already changed the OS on that machine.

Comment 7 Scott Gifford 2004-11-05 16:35:52 UTC
[root@gifford gifford]# cat
/etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/peripherals/keyboard/%gconf.xml
|grep delay
        <entry name="delay" mtime="1086833025" type="schema"
stype="int" owner="gnome">

Comment 8 Matthew Miller 2005-04-26 16:09:10 UTC
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.

Comment 9 Ray Strode [halfline] 2005-05-11 21:34:16 UTC
Hi,

This bug is being closed because it has been in the NEEDINFO state for a long
time now.  Feel free to reopen the bug report if the problem still happens for
you and you can provide any information that was requested.


Note You need to log in before you can comment on or make changes to this bug.