Closed Bug 256733 Opened 20 years ago Closed 20 years ago

Firefox: ctrl+t doesn't works when keyboard layout is not english

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 246491

People

(Reporter: pi, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040808 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040808 Firefox/0.9.3

I'm using two languages in my system (english and russian).
When I use russian keyboard and type ctrl+t new tab doesn't create. 
When I switch my keyboard to english - everything is ok.

Reproducible: Always
Steps to Reproduce:
1. switch to russian keyboard layput
2. tupe ctrl+t

Actual Results:  
Tab doesn't open.

Expected Results:  
A new tab shuld open.
Is this supposed to work?

Doesn't the different keyboard layout mean that the "t" key actually corresponds
to another key?

The russian layout must be different than the english one. If the "t" key
beccomes a "w" (or some russian letter), then obvisouly you won't get the same
result.

I might be wrong but I don't think this is a bug in FF.
(In reply to comment #1)
> Is this supposed to work?
> 
> Doesn't the different keyboard layout mean that the "t" key actually corresponds
> to another key?
> 
> The russian layout must be different than the english one. If the "t" key
> beccomes a "w" (or some russian letter), then obvisouly you won't get the same
> result.
> 
> I might be wrong but I don't think this is a bug in FF.

Yes when I'm using russian layout "t" becomes russian "e". By the way, not only
crl+t doesnt works. All hotkeys. So when I'm using FF and my keyboard layput is
russian I can't use hotkeys. Im using Fedora 1, but my friends in Gentoo and
Debian have the same problem. I just tested it in windows, there is no such
problem. So this problem appears only on Linux (*nix?).

Im not sure if it is a FF problem. But there are many users that have
international keyboards (I think this problem may appears not only with russian
layout, but with any other) and they feel sad about it :-)

P.S in Epiphany  it works Ok ;-)

P.P.S Maybe you should use not "t" letter but a special number for this key? (as
I remeber from my school expirience in Pascal :-)
(In reply to comment #1)
> Is this supposed to work?
Yes

> Doesn't the different keyboard layout mean that the "t" key actually
corresponds to another key?
No. That's true when we use mnemonic accesskeys (underlined letters) -- for more
info on those see http://www.mozilla.org/projects/ui/accessibility/accesskey.html

Anyway this is *not* an accesskey. It's an accelerator. Those remain constant no
matter what the keyboard layout is. For example, Ctrl+C is always copy. Ctrl+T
should always open a new tab.

Reporter: how do you know this is a problem on other keyboard layouts besides
Russian?
> Reporter: how do you know this is a problem on other keyboard layouts besides
> Russian?

I asked my friends in chat. 
You can add new layout in XF86Config and try it yourself.

I'm looking at this line:
http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser-sets.inc#174
 <key id="key_newNavigatorTab" key="&tabCmd.commandkey;" modifiers="accel"
command="cmd_newNavigatorTab"/>

Which uses tabCmd.commandkey to specify the key, which is defined here:
http://lxr.mozilla.org/seamonkey/source/browser/locales/en-US/chrome/browser/browser.dtd#17
<!ENTITY tabCmd.commandkey "t">

However, if that line didn't make it to the Russian translation, the key
wouldn't work.

Global accelerators should almost always stay the same from language to
language. For example, Ctrl+C should always be copy no matter what language is
being used. The only issue might be for keyboards that don't have a certain
letter. Mnemonic accesskeys (underlined letters in prompts) do change often,
however.
Assignee: aaronleventhal → nobody
Component: Keyboard Navigation → Other
Product: Firefox → Mozilla Localizations
QA Contact: jruderman
Summary: ctrl+t doesn't works when keyboard layout is not english → Firefox: ctrl+t doesn't works when keyboard layout is not english
I tried setting this to Localizations -> Other but it got assigned to
"nobody@mozilla.org"

Seems more important than that.
Component: Other → General
Product: Mozilla Localizations → Firefox
Maybe the bug description should be changed to

Ctrl+T doesn't work when keyboard layout is russian

It works perfectly fine here, with swedish layout anyway.

Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10
2 Jonas Nordlund

You are using FireFox on Windows, as I have tested there is no such bug there. 
But we are talking about Linux.
So, this bug is exists in 1.0 preview :-(

*** This bug has been marked as a duplicate of 246491 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.