Open Bug 1116180 Opened 10 years ago Updated 2 years ago

Need Azerbaijani layout keycode for tab close hotkey

Categories

(Firefox :: Keyboard Navigation, defect)

36 Branch
x86_64
Windows 8.1
defect

Tracking

()

People

(Reporter: emin, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20141228004007

Steps to reproduce:

I'm Mozilla Rep and managing localization of Firefox and other Mozilla projects into Azerbaijani. In Firefox tabs can be closed using Ctrl+w hotkey. But, there is no w letter in Azerbaijani. We changed hotkey to letter which stands for the place of w (Ctrl+ü) and not Ctrl+w not works but Ctrl+ü works very well.


Actual results:

For Aurora version, Ctrl+w not works, but Ctrl+ü is ok.


Expected results:

We need two hot keys for closing tabs. Its working throw Russian keyboard (Ctrl+ц) but not works in Azerbaijani. Also same problem with Azerbaijani keyboard layout in other locales of Firefox. Chrome has support for Azerbaijani layout (Ctrl+ü).

Keyup and Keydown code is same, 87, for all: w, ü, ц
Component: Untriaged → Keyboard Navigation
To be honest I'm not sure how this is fixable. 

As far as I can tell we can't have two different shortcuts for the same command, and I wonder if ü does generate a keycode at all (accented characters don't on my Italian keyboard)
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/Keyboard_Shortcuts
Status: UNCONFIRMED → NEW
Ever confirmed: true
One more note: apparently there isn't a single locale changing that value
http://transvision.mozfr.org/string/?entity=browser/chrome/browser/browser.dtd:closeCmd.key&repo=aurora
Returned value back in locamotion. While it was ü, Ctrl+ü worked (but ctrl+w not).
w: (119)
                 onKeyDown onKeyPress onKeyUp
event.keyCode 	'87'       '0' 	      '87'
event.charCode 	'0'        '119'      '0'
event.which 	'87'       '119'      '87'
ц: (1094)
                onKeyDown onKeyPress onKeyUp
event.keyCode 	'87'      '0' 	     '87'
event.charCode 	'0'       '1094'     '0'
event.which 	'87'      '1094'     '87'
ü: (252)
                onKeyDown onKeyPress onKeyUp
event.keyCode 	'0'       '0'        '0'
event.charCode 	'0'       '252'      '0'
event.which 	'0'       '252'      '0'
Ctrl+Ü not works yet and it is one of main problems for Azerbaijani release. Users are reporting this problem most of all. It works in Chromium and most of other apps.
As there is no W letter in Azerbaijani keyboard we cannot close tabs using Azerbaijani keyboard layout. Making hot key for tab close Ü solves problem but now Ctrl+W not works.
It would be great to solve problem before spring release
Summary: Need 2 tab close hotkey for Azerbaijani locale → Need Azerbaijani layout keycode for tab close hotkey
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.