Updates:
        Labels: -Area-Misc Area-BrowserUI

Comment #2 on issue 7444 by [email protected]: [french] wrong shortcut
http://code.google.com/p/chromium/issues/detail?id=7444

Firefox uses some tricks (taken from
http://mxr.mozilla.org/seamonkey/source/widget/src/windows/nsWindow.cpp#3511).
Perhaps, we have to do something similar.

3507
3508   // Keep the characters unshifted for shortcuts and accesskeys and  
make sure
3509   // that numbers are always passed as such (among others: bugs 50255  
and 351310)
3510   if (uniChar && (mIsControlDown || mIsAltDown)) {
3511     UINT virtualKeyCode = ::MapVirtualKeyEx(aScanCode, MAPVK_VSC_TO_VK,
3512                                             gKbdLayout.GetLayout());
3513     UINT unshiftedCharCode =
3514       virtualKeyCode >= '0' && virtualKeyCode <= '9' ? virtualKeyCode :
3515       mIsShiftDown ? ::MapVirtualKeyEx(virtualKeyCode,  
MAPVK_VK_TO_CHAR,
3516                                        gKbdLayout.GetLayout()) : 0;
3517     // ignore diacritics (top bit set) and key mapping errors (char  
code 0)
3518     if ((INT)unshiftedCharCode > 0)
3519       uniChar = unshiftedCharCode;
3520   }
3521



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to