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 587229 - Autorepeat problem
Autorepeat problem
Status: RESOLVED NOTGNOME
Product: gnome-settings-daemon
Classification: Core
Component: general
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2009-06-28 21:23 UTC by lemmyg
Modified: 2010-02-20 09:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description lemmyg 2009-06-28 21:23:53 UTC
This bug has been reported here:

https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/392746
Comment 1 lemmyg 2009-06-28 21:27:57 UTC
when you run the command xset r off, the system becomes unstable. 
but If I disable gnome-settings-deamon the problem disapear. 
Comment 2 André Klapper 2009-06-28 21:57:05 UTC
For future reference please give an exact summary here instead of just the link to downstream. Thanks in advance.
Comment 3 lemmyg 2009-06-28 22:07:52 UTC

Binary package hint: gnome-settings-daemon

System: Ubuntu 9.04 x64

Hi,
I have a problem in Autodesk Maya 2009 in jaunty. When I rename an object in a channel box,the system holding down key continuously. This issue did not occur in hardy or intrepid. With this problem is impossible to work, you need to rename objects continuously.

example:
http://ubuntuforums.org/showthread.php?t=1138112

Searching, I found that there was a problem with the command xset r off in gnome. (autorepeat system)
when you run the command, the system becomes unstable.

example:
https://bugs.launchpad.net/xorg-server/+bug/367136

I think they both come from the same problem. If the tested xfce4 or kde4. Both work well.

Obviously the problem is in gnome. I found if I disable gnome-settings-deamon the problem disapear. and both
Maya and "xset r off" works well.

Please review this problem, it is impossible to work in Maya with this problem.

Thanks in advance.
Comment 4 Oxmosys 2009-06-29 06:55:00 UTC
I tried to do a git bisect to find which revision caused this regression, unfortunately I could not test all revisions, here is what I got :

5c719f87f2511c7849f3313b51d350dc7fffbead is the last revision that builds correctly on ubuntu 8.10, next revisions give xrandr build errors. At this point, the bug is Not reproducible.

2569539eb6833112e10356897d3c54f46801d32b is the first revision that builds correctly on ubuntu 9.10, previous revisions give xrandr build errors. At this point, the bug Is reproducible.

The two revisions that could not be tested whether on ubuntu 8.10 and 9.10 are :
aea6ced758a3ecdd7b44764da8010ee6f5956e79
a8c96b9b5de3f5e29edca4495f69d4a000d8cebc

If this is a regression in gnome-settings-daemon, it is likely to be one of these revisions. Otherwise, the bug might appear only when built with a specific version of one or many of the dependencies, since dependencies versions in ubuntu 8.10 and 9.10 are different.

Building the most recent git revision 4d1027f9572ea2110b26723201fce9aefd540729 also does not fix the problem, so it has not been fixed recently.
Comment 5 Michael Abbott 2009-07-29 13:33:11 UTC
I can confirm the behaviour with gnome-settings-daemon, but in a slightly more unusual configuration.

If I type `xset r off` with gnome-settings-daemon running and openbox as my desktop & window manager then any terminal which receives focus sees a continuous stream of carriage-return characters.  If I kill gnome-settings-daemon first then the problem does not occur.

Curiously, if my desktop is xfce then `xset r off` has no effect.
Comment 6 lemmyg 2009-09-06 08:46:43 UTC
Hi, there is a solution in 

https://bugs.launchpad.net/bugs/367136

This bug seems to be with a11y-keyboard. We were having problems with it
in Ubuntu 9.04 64bit, running Maya (same as Bug #392746 ). Disabling the
a11y-keyboard plug-in with gconf-editor seems to make this bug go away.

I can confirm that it fixed the problem. So the problem is in  a11y-keyboard.
Also, I confirm the problem appear in Karmic aplha 5 , I was installed and the problem persist in this version.

thanks in advance.
Comment 7 Jens Granseuer 2009-09-06 09:56:31 UTC
Does it help anything if you just revert commit 9b35943056081fbaae09a01ff748cffe1450a14d ?
Comment 8 lemmyg 2009-09-06 11:55:26 UTC
Sorry,
but  i not know how to find this information?
Comment 10 Oxmosys 2009-09-06 14:32:58 UTC
Jeans Granseuer : I built current gnome-settings-daemon in karmic using pbuilder and your patch reverted right into the source, and the problem was still reproducible after a I installed the package and rebooted the system.
Comment 11 Oxmosys 2009-09-06 14:38:01 UTC
BTW, I confirm the workaround, disabling ally-keyboard make the bug disappear.
Comment 12 lemmyg 2009-09-06 20:25:47 UTC
Hi, 
I think you are going by right way.

http://git.gnome.org/cgit/gnome-settings-daemon/patch/?id=9b35943056081fbaae09a01ff748cffe1450a14d

this change was released in gnome-settings-daemon-2.25.3.

This problem was appear after the change of intrepid to jaunty.
Comment 13 Oxmosys 2009-09-06 22:00:21 UTC
In the same order of idea, I already did a git bisect (comment 5) and there was only two commits left to test. None of these commits seems to introduce changes in ally-keyboard plugin and all builds on intrepid don't suffer from the bug, while all builds on jaunty suffer from the bug.

Therefore it seems pretty hard to identify if this issue comes from gnome-settings-daemon itself, or by a library used at compilation time (which is not in the same version in intrepid and in jaunty).

Jens Granseuer : Do you have any clue at what could be also be tested?
Comment 14 Jens Granseuer 2009-09-07 11:04:07 UTC
Since it doesn't seem to be a change in g-s-d I'd suspect either X itself, or something in the AT stack (at-spi? atk?).
Comment 15 lemmyg 2009-09-07 16:04:15 UTC
Hi, 	
I only can  help you like user level. Until now, the problem is only visible in gnome with the plugging a11y-keyboard activated. In  Kde or xfce the issue disappears, so, it seems strange what this issue come from other package.
Comment 16 Oxmosys 2009-09-11 19:07:48 UTC
It really seems to be a xorg bug, as updating xorg 1.5.2 to 1.6.0 in intrpid makes the bug appear, without updating gnome-settings-daemon.
Comment 17 Oxmosys 2010-02-18 20:21:27 UTC
The bug is gone in Ubuntu 10.04 alpha 2 with these packages :

xserver-xorg-core 2:1.7.3.902-1ubuntu5
gnome-settings-daemon 2.28.1-1ubuntu2

Therefore it seems to be fixed.
Comment 18 Jens Granseuer 2010-02-20 09:36:26 UTC
Thanks for the update!