[Kde-accessibility] [Bug 78655] Accessibility | Keyboard | Sticky Keys doesn't work (no effect)

Gunnar Schmidt gunnar at schmi-dt.de
Wed Mar 31 12:36:28 CEST 2004


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=78655      




------- Additional Comments From gunnar schmi-dt de  2004-03-31 12:36 -------
CVS commit by gunnar: 

Fix for bug #78655 (Sticky keys do not work in certain situations)

Without this patch the xkb features sticky keys, slow keys and bounce keys
do only work if you activate a custom bell or visible bell or if you
deactivate the system bell

CCMAIL:78655 bugs kde org


  M +13 -4     kcmaccess.cpp   1.35


--- kdebase/kcontrol/access/kcmaccess.cpp  #1.34:1.35
 @ -33,11 +33,20  @
 static bool needToRunKAccessDaemon( KConfig *config )
 {
-    KConfigGroup group( config, "Bell" );
+    KConfigGroup bell( config, "Bell" );
     
-    if (!group.readBoolEntry("SystemBell", true))
+    if (!bell.readBoolEntry("SystemBell", true))
         return true;
-    if (group.readBoolEntry("ArtsBell", false))
+    if (bell.readBoolEntry("ArtsBell", false))
         return true;
-    if (group.readBoolEntry("VisibleBell", false))
+    if (bell.readBoolEntry("VisibleBell", false))
+        return true;
+    
+  KConfigGroup keyboard( config, "Keyboard" );
+
+  if (keyboard.readBoolEntry("StickyKeys", false))
+        return true;
+  if (keyboard.readBoolEntry("SlowKeys", false))
+        return true;
+  if (keyboard.readBoolEntry("BounceKeys", false))
         return true;


More information about the kde-accessibility mailing list