[Webkit-unassigned] [Bug 28247] [Chromium] Numpad keys and a manu key don't work in render view

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 10 11:31:48 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=28247


mbk at cs.utah.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mbk at cs.utah.edu




--- Comment #1 from mbk at cs.utah.edu  2009-12-10 11:31:47 PST ---
I can confirm the problem on Ubuntu Karmic Koala (32bit PAE) for chromium
version 4.0.262.0 (33602).  Load any page and try to use the numpad
arrows/pgdn/pgup/home/end and nothing happens.

I made changes to KeyCodeConversionGtk.cpp and it fixed the problem for my
system.  I've put the diff below.

Index: KeyCodeConversionGtk.cpp
===================================================================
--- KeyCodeConversionGtk.cpp    (revision 51589)
+++ KeyCodeConversionGtk.cpp    (working copy)
@@ -72,6 +72,24 @@
     case GDK_KP_Divide:
         return VKEY_DIVIDE; // (6F) Divide key

+    case GDK_KP_Page_Up:
+     return VKEY_PRIOR; // (21) PAGE UP key
+    case GDK_KP_Page_Down:
+     return VKEY_NEXT; // (22) PAGE DOWN key
+    case GDK_KP_End:
+        return VKEY_END; // (23) END key
+    case GDK_KP_Home:
+        return VKEY_HOME; // (24) HOME key
+    case GDK_KP_Left:
+        return VKEY_LEFT; // (25) LEFT ARROW key
+    case GDK_KP_Up:
+        return VKEY_UP; // (26) UP ARROW key
+    case GDK_KP_Right:
+        return VKEY_RIGHT; // (27) RIGHT ARROW key
+    case GDK_KP_Down:
+        return VKEY_DOWN; // (28) DOWN ARROW key
+      
+
     case GDK_BackSpace:
         return VKEY_BACK; // (08) BACKSPACE key
     case GDK_ISO_Left_Tab:

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list