New issue
Advanced search Search tips

Issue 825152 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 825075
Owner: ----
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

In mac "option + esc" and "C" both are returning keycode 67. Note: "option + esc" is hortcut for built-in text to speech in mac

Reported by rehanriz...@gmail.com, Mar 23 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36

Steps to reproduce the problem:
1. Create html page.
2. Add on keydown event <body onkeydown="myFunction(event)">
3. Create script tag and define function;
   function myFunction(event) {
    cosnole.log(event.which || event.keyCod);
   }
4. Press "ctrl + c" or "option + esc" both will return 67.
5. Or change shortcut keys for bult-in text to speech in mac from preference 
  and the key which you will change it will also return 67.

What is the expected behavior?
Keycode must be different for "ctrl + c" and "option + esc".

What went wrong?
Keycode is 67 for "ctrl + c" and "option + esc".

Did this work before? N/A 

Chrome version: 64.0.3282.186  Channel: n/a
OS Version: 6.3
Flash Version: 

This issue comes in chrom on mac platform.
 
Components: -Blink Blink>Input

Comment 2 by ajha@chromium.org, Mar 26 2018

Labels: Needs-Triage-M64
Mergedinto: 825075
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment