Open Bug 124123 Opened 23 years ago Updated 2 years ago

shortcuts without Ctrl/Alt do not work with cyrillic locale

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect

Tracking

()

People

(Reporter: v.kazmirenko, Unassigned)

References

Details

(Keywords: intl, Whiteboard: [key hell])

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204
BuildID:    2002020406

While reading mail or news some shortcuts, namely "n" - next unread, "t"  - next
unread thread do not work if keyboard input locale switched to Russian or
Ukrainian. In a wishlist newsgroup it was said that shortcuts work with German
locale. It is true. But they do not work with cyrillic.

Reproducible: Always
Steps to Reproduce:
1.Open mail folder (checked with POP) or newsgroup with unread messages
2.Swith keyboard to Russian or Ukrainian
3.Press "n" or "t" key

Actual Results:  Nothing happens

Expected Results:  Next unread message/thread should be loaded (it was so
convenient in all Communicators)
cc to putterman, do you khow where the short cut 'n' is implemented?
yes, i can confirm that when the keyboard is switched to cyrrilic, greek or
japanese input the shortcuts do not work ( i was able to use them with czech,
polish, french, german, portugese)
Status: UNCONFIRMED → NEW
Ever confirmed: true
BTW, it's working on linux when keyboard switched to Russian.
On W2K, when keyboard is switched to Japanese, shortcut works when it's in
English input mode, but not working when the input mode changed to Japanese by
pressing alt ~
cc'ing Sean.  Could you point Naoki to the code for this?
I think this is a generic issue of XUL key handling.
The current way is to specify a character code like 'f' not a key code. 
http://www.mozilla.org/xpfe/xulref/keys.html

So it only works if the user really inputs 'f', may not work even if pressing
the key labeled as 'f' depends on the keyboard locale.
So, as I understand, it is an issue of the way which keyboard input is
interpreted. As I understand this is not bug in common sense but peculiarity of
program realisation that may take a lot of time to improve. could anybody
suggest is it possible to fix? 
One way is to use 'keycode' instead of 'key', but 'keycode' seems to be only for
those special keys like 'VK_HOME'.
Other way is let localization to take care since the actual character is
localizable as it is defined in .dtd file.


QA contact to marina. 
Keywords: intl
QA Contact: ji → marina
Product: MailNews → Browser
Change component and reassign to hyatt. I think this is a generic XUL issue.

Can 'keycode' be used for a key like 'f' or 'n'?
If 'keycode' can be used instead of 'key' then we may change the mail code.
If not then I am not sure we should change to allow more keys for 'keycode', or
design UI to avoid those short cuts.

Assignee: nhotta → hyatt
Component: Internationalization → XP Toolkit/Widgets: XUL
*** Bug 127916 has been marked as a duplicate of this bug. ***
*** Bug 155512 has been marked as a duplicate of this bug. ***
*** Bug 158063 has been marked as a duplicate of this bug. ***
Is anybody looking at this? There is no activity since February. Should we look
for another component/owner?
It's a pitty but really there is no visible activity here. As suggested in
comment #11 resolving the problem may take considerable programming efforts,
related to the core. And as releases appear, the far we become from solution...
I afraid that described bug will have only workarround like 'Use latin locales
and do not compline'. Could anybody tell something, whether this bug considered
or investigated or maybe it is already dead.
Works in Firefox 3.0 .. Finally!!!
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Dunno where it works but in Tb 3.0a1pre (2008050503) on WinXP it does not... The bug is set against Core, no mail functionality in FF. So where suppose this to work?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to comment #18)
> Dunno where it works but in Tb 3.0a1pre (2008050503) on WinXP it does not...
> The bug is set against Core, no mail functionality in FF. So where suppose this
> to work?

Totally agree, although this issue could be related to FF as well, the original problem now belongs to TB. Sure, still does not work...

Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: marina → xptoolkit.widgets
Assignee: hyatt → nobody
Blocks: 579775
n/p issue in in non-English keyboard layout is present in Thunderbird 3.1
also, "/" key for evoking quicksearch in Firefox 4.0b7pre also works only for English locale.
...coming from bug 579775. It also involves the following keys:

'm' for toggling Mark as Read/Unread
'j'/shift + 'j' for toggling Junk/Not Junk

but it DOES work for shortcuts that use CTRL + key, like:

CTRL + c/x/v for copy/cut/paste (in the editor and in text fields)
CTRL + b/u/i for bold/underlined/italics (in the editor)

I too think that instead of detecting which letter was typed and letting each locale handle things we should instead detect keystrokes by keycode somehow. This would make it global (...as in locale-independent I mean).

PS: + adding my vote on this one. Also, I know that by definition this is categorized as 'normal' (NO major loss of functionality), but I do feel that it should be upgraded in order to gain some attention. It is not even assigned to someone! I understand that new and shiny features will 'keep us in the game', but still this is a longstanding annoyance for all multilingual users that should be fixed before we move on. My experience has shown that ignoring issues ends up in them coming back to byte us in the long run.
Status: REOPENED → NEW
Component: XUL → Keyboard: Navigation
OS: Windows 2000 → All
QA Contact: xptoolkit.widgets → keyboard.navigation
Hardware: x86 → All
Summary: shortcuts do not work with cyrillic locale → shortcuts without Ctrl/Alt do not work with cyrillic locale
Whiteboard: [key hell]
...can we get some attention here please???
Component: Keyboard: Navigation → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.