Bug 106886

Summary: Disable possibility to turn on Slowkeys( accessx) by default?
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Stefan Dirsch <sndirsch>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Enhancement    
Priority: P5 - None CC: benderamp, daved, eich, forgotten_9WJQF5tTlz, mike, ms, ro, svollath
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stefan Dirsch 2005-08-23 21:51:19 UTC
I wonder wheter we shouldn't disable the possibility to turn on Slowkeys 
(accessx) by default? So many developers are stumbling over it again and 
again.
Comment 1 Stefan Dirsch 2005-08-23 21:53:57 UTC
e.g. by scrolling up/down with holding Shift and pressing Pg-Up/Pg-Down. 
Comment 2 Stefan Dirsch 2005-10-08 15:32:56 UTC
Another victim (in Cc). 
Comment 3 Stefan Dirsch 2006-01-23 16:38:50 UTC
Another regular victim ...
Comment 4 Stefan Dirsch 2006-09-02 13:22:09 UTC
I wonder why this happens at all, since AccessX seems to be disabled by default and SlowKeys is part of AccessX.

xkbInit.c:
[...]
int                     XkbWantAccessX=         0; 
[...]
    if (XkbWantAccessX)
        ctrls->enabled_ctrls|= XkbAccessXKeysMask;
[...]

    else if ((strncmp(argv[i],"-accessx",8)==0)||
                 (strncmp(argv[i],"+accessx",8)==0)) {
        int j=1;            
        if (argv[i][0]=='-')        
            XkbWantAccessX= 0;
        else {
            XkbWantAccessX= 1;

BTW, I can't reproduce this Slowkeys problem at all. And I'm quite sure none of you starts the Xserver with the "+accessx" option.
Comment 5 Ruediger Oertel 2006-10-19 08:25:01 UTC
some thoughts:
- I think I enabled accessX in sax sometimes for exactly one reason:
  the possibility to do mouse-actions via the keyboard (numpad-mouse functionality)
- are you sure that kdm/xdm do not enable this in their own config ?
Comment 6 Marcus Schaefer 2006-10-19 08:40:51 UTC
I'm pretty sure slow keys is disabled by default. Just checked with
a new installation. It can be enabled by typing:

   Shift+NumLock  (beep = on) again typed (other beep = off)

In the past I had a long discussion with people from the community why
I would misuse the AccessX functions for handling mouse events if there
is no mouse connected or not detected. In principal this extension is
for disabled people and because I don't want to offend anybody this feature
has been disabled in sax some time ago. Of course the xkb system still
allows to enable it with default settings and the default toggle key
combination

It is if ever used and configurable by the window managers and as far as I
know all of them have this feature disabled by default. But I maybe wrong
here
Comment 7 Stefan Dirsch 2006-10-19 08:45:22 UTC
(In reply to comment #5)
> - I think I enabled accessX in sax sometimes for exactly one reason:
>   the possibility to do mouse-actions via the keyboard (numpad-mouse
>   functionality)
Shift-Numlock (Pointer_EnableKeys) works for me. But I'm not able to enable the Slowkeys feature. No matter how long I press Shift. AFAIK it needs to be pressed for 8 seconds.

> - are you sure that kdm/xdm do not enable this in their own config ?
Maybe kdm, but xdm should not.
Comment 8 Stefan Dirsch 2006-10-19 08:48:09 UTC
Marcus, are you mixing up Slowkeys and Pointer_EnableKeys here? Shift-Numlock is for en/disabling Pointer_EnableKeys. I don't think you get a beep here. The beep you get when en/disabling Slowkeys by pressing Shift for minimum of 8 seconds, but I never succeeded in doing so. :-(
Comment 9 Marcus Schaefer 2006-10-19 08:58:28 UTC
yes correct, sorry for mixing it up... I was focused on the sax/mouse issue
Comment 10 Matthias Hopf 2006-10-19 10:11:21 UTC
(In reply to comment #8)
> Marcus, are you mixing up Slowkeys and Pointer_EnableKeys here? Shift-Numlock

Definitely. Pointer_EnableKeys should always be possible, as Shift+Numlock is nothing you can press accidentally.

> is for en/disabling Pointer_EnableKeys. I don't think you get a beep here. The

You do.

> beep you get when en/disabling Slowkeys by pressing Shift for minimum of 8
> seconds, but I never succeeded in doing so. :-(

For me Slowkeys has been off for a long time now.
I'm not 100% sure why some guys get slowkeys turned on. I think this had been enabled a long time ago by default, but it isn't any longer.

Maybe this happens because /etc/X11/xdm/Xservers is marked as a config file? So it probably won't be updated by rpm if you install a newer version (read: if you update instead of reinstall your system).
Comment 11 Stefan Dirsch 2006-10-23 11:32:08 UTC
> Maybe this happens because /etc/X11/xdm/Xservers is marked as a config file?
> So it probably won't be updated by rpm if you install a newer version
> (read: if you update instead of reinstall your system).

I don't think anyone has ever "+accessx" in his /etc/X11/xdm/Xservers file.
Comment 12 Stefan Dirsch 2007-01-30 12:16:11 UTC
*** Bug 240219 has been marked as a duplicate of this bug. ***
Comment 13 Stefan Dirsch 2007-12-02 22:14:10 UTC
Since I never was able to enable Slowkeys on any default installation in the last years I'm finally closing this one as WORKSFORME.
Comment 14 Stefan Dirsch 2009-02-10 08:09:32 UTC
*** Bug 473518 has been marked as a duplicate of this bug. ***
Comment 15 Stefan Dirsch 2009-03-02 16:47:33 UTC
*** Bug 478666 has been marked as a duplicate of this bug. ***
Comment 16 Forgotten User 9WJQF5tTlz 2009-03-02 17:19:48 UTC
The Slowkeys feature is what affected me in my comment in report #478666. I can hear the beeps I described.

Holding down the shift key for a long time can happen if you are thinking what you are about to type.

Can there be a visual notification as to what's about to happen when this feature is to be turned on? Similar to what you get when you first press Shift-NumLock.

Or use the Control key instead of the Shift key.
Comment 17 Stefan Dirsch 2009-03-02 17:28:40 UTC
> Can there be a visual notification as to what's about to happen when this
> feature is to be turned on? Similar to what you get when you first press
> Shift-NumLock.

I suggest to open a seperate bugreport against the appropriate desktop (KDE3, KDE4, Gnome, Xfce, whatever) for this.

I've never been able to enable Slowkeys. See my comment #13.
Comment 18 David Davey 2009-03-02 22:43:11 UTC
I agree that this is the same issue as I first reported in #478666.

I could not see how I would be frequently holding down the shift key for
long periods, especially as I note that the 8 second requirement for SlowKeys
to be activated is interrupted if other keys are typed, i.e. typing a long
uppercase string will not inadvertantly activate SlowKeys.  But, an 8 second
period of holding shift down when using the mouse, including mouse clicks will
activate SlowKeys!  This I consider to be a bug, as I do use shift as a mouse
click modifier in my twm configuration.

I also think "xset q" should report that SlowKeys is active.  If it did so I would
never even have opened report #478666.
Comment 19 Matthias Hopf 2009-03-06 17:17:09 UTC
Most of the discussion has been taken place in bug 478666, so closing this as duplicate the other way round.

In short, this is a KDE4 issue.

*** This bug has been marked as a duplicate of bug 478666 ***