Bug 82738

Summary: [EFL] keycode translation is wrong for function keys
Product: WebKit Reporter: Sudarsana Nagineni (babu) <naginenis>
Component: WebKit EFLAssignee: Sudarsana Nagineni (babu) <naginenis>
Status: RESOLVED FIXED    
Severity: Normal CC: gyuyoung.kim, lucas.de.marchi, rakuco, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Sudarsana Nagineni (babu)
Reported 2012-03-30 09:25:39 PDT
The following code sets wrong keycode value for function keys. // Set F_XX keys to the windowsKeyMap. >> for (unsigned int i = 1; i < 25; i++) { > String key = "F" + String::number(i); >> windowsKeyMap().set(key, VK_F1 + i); Vk_F1 keycode is equivalent to F1, so it should be 'VK_F1 + i - 1' instead of 'VK_F1 + i'.
Attachments
Patch (2.35 KB, patch)
2012-03-30 09:46 PDT, Sudarsana Nagineni (babu)
no flags
Sudarsana Nagineni (babu)
Comment 1 2012-03-30 09:46:42 PDT
Created attachment 134832 [details] Patch Fix keycode translation for function keys
Raphael Kubo da Costa (:rakuco)
Comment 2 2012-03-30 12:50:06 PDT
Comment on attachment 134832 [details] Patch Looks good, thanks.
WebKit Review Bot
Comment 3 2012-04-05 01:47:36 PDT
Comment on attachment 134832 [details] Patch Clearing flags on attachment: 134832 Committed r113300: <http://trac.webkit.org/changeset/113300>
WebKit Review Bot
Comment 4 2012-04-05 01:47:41 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.