keyboard shortcuts when keyboard set to non-english language

Bug #2561 reported by Sergey Sinitsa
58
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Fix Released
Medium
firefox (Ubuntu)
Fix Released
Medium
Mozilla Bugs

Bug Description

I can't use keyboard shortcuts when keyboard set to non-english language. For example, I can't open a new tab in firefox with ctrl+t when keyboard is set to russian. Current language must be ignored when a shortcut is pressed.

Tags: mt-confirm
Revision history for this message
In , Hp-pobox (hp-pobox) wrote :

If I have modifiers other than ControlMask active in xevent->state then Ctrl-A,
Ctrl-E, etc. bindings don't work in the location field. Perhaps a "event->state
== GDK_CONTROL_MASK" should be "event->state & GDK_CONTROL_MASK"? Though someone
seems to have special-cased NumLock, the accelerators do work with NumLock for
me which is on mod2 or something. In any case, this is broken behavior, some
keymaps may even require non-control modifiers to be active in order to input
the "a" keysym. I have some code in the GTK unstable tree already related to
trying to fix this same problem for GTK itself; that code goes a step further
and tries to have "Ctrl + any key which has A printed on the cap" work, even if
the keysym isn't related to "A" at all, so that you can still use accelerators
despite switching between English/Hebrew keyboard groups. i.e. in Hebrew mode a
Ctrl + the English "A" key should still work. But fixing that may be overkill,
for now I'd just be happy if Ctrl-A worked with Caps lock or shift held down. ;-)

Revision history for this message
In , Akkana Peck (akkzilla) wrote :

Not sure I understand this bug. Our key event system intentionally treats
ctrl-A as different from ctrl-shift-A and ctrl-alt-A. Is the problem here that
you want ctrl-shift-A and ctrl-alt-A to go to beginning of line just like ctrl-A
does? Or is it that our event system is doing the wrong thing with
ctrl-[othermod]-A (and if so, what should we be doing that we're not)?

In nsGtkEventHandler we do use & GDK_CONTROL_MASK, not ==, which it sounds like
we both agree is correct.

Revision history for this message
In , Hp-pobox (hp-pobox) wrote :

OK, you guys aren't going to want to go here for 1.0 probably. ;-) But I'll
explain the issues and maybe you want to deal with it eventually.

The original problem I had was a broken keymap, where caps lock was basically on
whenever I was holding control (both Lock and Control modifiers bound to one
key). So Ctrl-a didn't work. This is not really a big deal since I just unbroke
the keymap. But I would expect accelerators to be immune to caps lock, e.g.
imagine a text editor or the Mozilla composer, I'm typing with caps lock on, I
expect "Ctrl-s" to still save - Emacs does this for example, though you may want
to see what more user friendly apps do. However, Emacs treats Shift-Ctrl as
separate from plain Ctrl. It only ignores Lock.

As a bit of a tangent and a larger/harder issue, there are international
keyboards to consider. This is what we haven't fixed yet in GTK unstable version
and are planning to. The issue of ignoring shift/lock is just a special case of
the fact that users expect accelerators to work regardless of keyboard mode. For
example, a Hebrew/English keyboard would normally have a Mode_switch key,
bound to one of Mod1-Mod5, which toggles language. In Hebrew mode, you basically
want the key which generates "S" in English to still mean Save, since it will
drive users nuts if switching modes moves the accelerators around or removes
them. We have user complaints about this. So the way you do that is to query the
X keymap and find out which key generates S in English, roughly. The
keymap-query code is already in GTK unstable, and code to see which modifier is
Mode_switch, but we haven't yet sorted out all the issues; such as what if one
key generates several accelerators in different modes.

The user behavior I think is right is that the same key cap plus the same
non-persistent/non-mode modifiers always generates the same accelerator. So
basically to get the accelerator, you strip off the effects of whichever
modifier Mode_switch controls (one of Mod1-Mod5), strip off the effects of Lock,
then evaluate the result. For English you could just do something like ignore
Lock, or if Lock is set flip the case of the keysym, but ignoring the
Mode_switch modifier is important to, and there you need to query the English
keysym that would have been generated by that keycode absent the mode switch.
Also Num Lock is one of these modal modifiers, which you're already handling
somehow. (Num Lock brings up another pesky issue, which is that the mode
modifiers can apply to only a subregion of the keyboard.)

It isn't really totally clear what the right thing to do is in detail. If you
want I can point you at what we end up doing for GTK when we do it.

Relevant resources would be the Xkb spec from the X distribution, and useful
code from GTK unstable tree is in gdk/x11/gdkkeys-x11.c. I wrote that code and
it's available under MPL if you have any use for it.

Revision history for this message
In , alecf (alecf) wrote :

so what is the bug? I am tempted to mark this INVALID, because as I understand
it, you had a broken keymap?

Revision history for this message
In , Hp-pobox (hp-pobox) wrote :

The bug sort of mutated. ;-)
This is what we've ended up implementing in GTK IIRC:

 - when we get a key event, first check whether the exact received keysym and
 mask is an accelerator

 - if not, then get a list of keysyms generated by the hardware keycode that
   was pressed in other groups/levels

 - see if any of those keysyms was an accelerator, then activate it

In other words, accelerators should work regardless of current keyboard
group/level. GTK devel sources contain the code for the second step if
you need it, you can have that code MPL, I wrote it. gdk/x11/gdkkeys-x11.c

This means that things work regardless of caps lock, but it also means that e.g.
Ctrl+s still works if the keyboard is in Cyrillic or Hebrew mode instead of
English mode.

You could argue with the exact solution, but the bug is that the same physical
keycap should be an accelerator despite group/level.

Revision history for this message
In , alecf (alecf) wrote :

ok, this seems like a backend issue. aaron/akkana, do you want to take this? I
have no idea what to do with this and am just going to future it

Revision history for this message
In , Aaronlev (aaronlev) wrote :

Reassigning alecf keyboard bugs.

UNIX keyboard stuff -> Akkana

Akkana, send it on to whoever you think should have it.

Revision history for this message
In , Hp-pobox (hp-pobox) wrote :

The i18n issue is now addressed in GTK:
 http://cvs.gnome.org/lxr/source/gtk+/gtk/gtkkeyhash.c

Both underline shortcuts (mnemonics, Alt+f) and accelerators (Ctrl+s) are
placed in GtkKeyHash and then GtkKeyHash is used to resolve key press events
into an action.

Revision history for this message
In , Simos Xenitellis  (simosx) wrote :

Firefox 1.0 has been released and this problem still exists for Linux builds.

When you setup any international keyboard (at least through XKB, most common)
and switch to that other language, you are no longer able to use shortcuts in
Firefox.

This severely hampers usability since you cannot use the common
Copy/Cut/Paste/Print shortcuts.

In addition, GTK+ enables you to switch input method in any text field by
right-clicking in it and choosing that different input method. In Firefox 1.0
this option does not appear.

I have collected some more info on this and I put below.

Revision history for this message
In , Simos Xenitellis  (simosx) wrote :

Check out the following thread on this at the GTK+ mailing list.

http://mail.gnome.org/archives/gtk-i18n-list/2004-December/msg00016.html

(specifically check the followups).

Revision history for this message
In , Simos Xenitellis  (simosx) wrote :

The following Bugzilla bugs might be resolved through this issue:

1. "+ and - Keyboard accelerators inaccessible on international keyboards
(larger/smaller font size)"
https://bugzilla.mozilla.org/show_bug.cgi?id=88380

2. "some control key sequences don't generate the correct event (ctrl-enter
...)"
https://bugzilla.mozilla.org/show_bug.cgi?id=50255

3. "can't use gtk2 input modules ?"
https://bugzilla.mozilla.org/show_bug.cgi?id=164793

I think the following three are as well related to the core problem discussed here:
a. Unable to input Latin-1 chars using US keyboard with input locale set
to CJK
https://bugzilla.mozilla.org/show_bug.cgi?id=98376
b. Gtk2 XIM : Multi input context is not separated
https://bugzilla.mozilla.org/show_bug.cgi?id=218155
c. No way to switch the GTK input modules
https://bugzilla.mozilla.org/show_bug.cgi?id=214412
extract: "Yeah, SCIM and IIIIMF should 'solve' this problem without
anything changed on
the part of Mozilla. "

GTK+ 1.x (old stable version) had a bug and exhibited this exactly bug that
Firefox has. However, it has been resolved in GTK+ 2.x, therefore it looks good
to give control to GTK+ to handle input.
For a summary, see
http://mail.gnome.org/archives/gnome-i18n/2002-February/msg00051.html

Solving this core issue can clear up quite a few bugzilla entries.

Revision history for this message
In , Simos Xenitellis  (simosx) wrote :

Similar bug reported in OpenOffice.org.
X-posting the issue here:
http://qa.openoffice.org/issues/show_bug.cgi?id=39307

Revision history for this message
In , Simos Xenitellis  (simosx) wrote :

A similar discussion has occured at Bug 177508
https://bugzilla.mozilla.org/show_bug.cgi?id=177508

Shall we make Bug 177508 a DUP of this?

Revision history for this message
In , Shoshannah Forbes (xslf) wrote :

Yet another one at bug 246491. Another DUP? That one has 35 votes at the moment.

Sergey Sinitsa (sin3)
description: updated
Revision history for this message
In , Ilya-konstantinov+future (ilya-konstantinov+future) wrote :

*** Bug 246491 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Eyalroz (eyalroz) wrote :

So are we waiting for the GNOME people to do something? Cause if we are than a year of no progress means that maybe we should do something about it. And when I say 'we' I mean whoever knows his away around the keyboard input code of mozilla...

Revision history for this message
In , Eyalroz (eyalroz) wrote :

Adding relevant keywords. BTW, see recent regression bug 323212.

Revision history for this message
In , Simos Xenitellis  (simosx) wrote :

(In reply to comment #15)
> So are we waiting for the GNOME people to do something? Cause if we are than a
> year of no progress means that maybe we should do something about it. And when
> I say 'we' I mean whoever knows his away around the keyboard input code of
> mozilla...

It is indeed "we" who are expected to do something about this.

I cannot help in the programming part of this; I would be really happy to test experimental builds though.

Revision history for this message
In , Sergey V. Udaltsov (sergey-udaltsov) wrote :

GNOME has nothing to do with it. The keyboard configuration has nothing to do with it. It is really an application problem (well, xlibc could give some help - but currently IIRC it does not).
The application should grab the key regardless of the group. The principle, for, let's say "Ctrl-T" should be "if in _any_ configured group the symbol for this keycode is t, raise the signal". So even if my current layout is Russian, and I press Russian 'e' (which is on the same key as t in American layout), the shortcut is activated (sure if I press Ctrl at the same time).

30 comments hidden view all 265 comments
Revision history for this message
Alexey Balmashnov (a.balmashnov) wrote :

Yep, the same here. This is pretty annoying.

Revision history for this message
Sergey Sinitsa (sin3) wrote :

In Ubuntu 5.10 shortcuts in non-english begin to work in OpenOffice 2.0, GEdit. Opera 8.5 also fine. But Firefox and AbiWord still have described problem. I found similar bug reported in AbiWord BugZilla 4 years ago! Аnd it still not fixed. So I think it is not Ubuntu problem but a Linux architecture and must be fixed globally somewhere deep in XOrg or Gnome or in each individual case.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report, which locale and keyboard layout do you use? Can you run
   xprop -root | grep XKB
and
   gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
and paste the output here?

Revision history for this message
Sergey Sinitsa (sin3) wrote :

xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc104", "us,ru", ",winkeys", "grp:ctrl_shift_toggle"
_XKB_RULES_NAMES(STRING) = "xorg", "pc104", "us,ru(winkeys)", "", "grp:ctrl_shift_toggle"

gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [us,ru winkeys]
 model = pc104
 overrideSettings = false
 options = [grp grp:ctrl_shift_toggle]

locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Thanks for your attention!

Revision history for this message
Daniel Holbach (dholbach) wrote :

Could you please elaborate which application you were using, and how I could attempt to reproduce the problem.

Revision history for this message
Sergey Sinitsa (sin3) wrote :

In Ubuntu 5.10 with configuration pasted above in Firefox 1.0.7 all keyboard shortcuts with letter keys do nothing when russian layout is active. To reproduce set active keyboard layout to russian and in Firefox try to open new tab with ctrl+t -- I can't.

I installed AbiWord 2.4.1 through Synaptic. In reaction to any shortcut with letter with russian layout active AbiWord do wierd thing -- it selects all text in active document. To reproduce set active keyboard layout to russian, in AbiWord select some text and try to copy it with ctrl+c -- I got all text selected instead.

So now I discovered only Firefox and AbiWord have this problem. Shortcuts in russian work in Gedit, OOWriter and Opera without any toubles.

I must note that in previous Ubuntu 5.04 I experienced the same problems in Gedit and OOWriter too.

Revision history for this message
admarginem (admarginem) wrote :

It is an old story... Please see, noone can solve it:
https://bugzilla.mozilla.org/show_bug.cgi?id=69230

Revision history for this message
Simos Xenitellis  (simosx) wrote :

It's a Firefox (Mozilla) issue. The solution is rather well-defined, there is need for a developer to implement it.

Revision history for this message
Simos Xenitellis  (simosx) wrote :

I think there is another launchpad bug report about this with more comments. If you can find, please report here so that we keep one active.

23 comments hidden view all 265 comments
Revision history for this message
In , Dmitry Agafonov (dmitry-agafonov) wrote :

Dublicates:
340944 Hotkeys In Linux with non-english keyboard layout
277893 Copy/Paste shortcuts not working with "russian" input locale

Please fix, I've tired to switch locale just to copy/paste text in my native language...

Revision history for this message
In , Cernii (cernii) wrote :

This is a very annoying bug that has been aroud for way too long. It's very cumbersome to switch locale everytime I need to copy-paste, to the point of making firefox on linux VERY unusuable with a non-latin keyboard layout. OpenOffice 2.0 learned to pick up the keyboard shortcuts just fine.

Revision history for this message
In , Mozilla-s (mozilla-s) wrote :

This bug is very annoying in non-Latin scripts. Is it possible to get it fixed for ff2.0?

Revision history for this message
In , Sergey Svishchev (svs) wrote :

bug 229284, bug 277893, bug 295614 and bug 340944 all look very similar.

Revision history for this message
In , admarginem (admarginem) wrote :

This story longs from the mozilla 0.x and no one is able to fix it. All Mozilla applications are unusable under linux with non-english keyboard layout.

Please fix it in the Firefox 2, do not frustrate users ;-)

Revision history for this message
In , Paul Pogonyshev (doublep) wrote :

Not really "no one is able to fix it." Rather no one cares to fix it.

Revision history for this message
In , Maysara (maysara) wrote :

on FF2 rc1, still not working :(

28 comments hidden view all 265 comments
Revision history for this message
Elez (elez) wrote :

maybe now towards firefox 2.0 someone that knows a firefox developer could ask him to implement.

This bug is valid for firefox, mozilla, thunderbird and NVU (built using a lot of mozilla code)

29 comments hidden view all 265 comments
Revision history for this message
In , Timeless-bemail (timeless-bemail) wrote :

would someone please explain to me what key i should press on my dvorak-right keyboard to trigger copy once this bug is "fixed"?

for reference <http://en.wikipedia.org/wiki/Image:KB_Dvorak_Right.svg>

suppose i'm using the hebrew localization of firefox.

also, what should happen if i switch to typing hebrew?

note that my keyboard is printed precisely as indicated in the picture.

28 comments hidden view all 265 comments
Revision history for this message
Daniel Holbach (dholbach) wrote :

Not a Desktop-Bugs bug.

Changed in firefox:
assignee: desktop-bugs → nobody
David Farning (dfarning)
Changed in firefox:
assignee: nobody → mozillabugs
David Farning (dfarning)
Changed in firefox:
assignee: mozillateam → mozilla-bugs
Revision history for this message
Alexander Sack (asac) wrote :

this is processed upstream -> In Progress for us.

Changed in firefox:
status: Confirmed → In Progress
Changed in firefox:
status: Confirmed → Fix Released
213 comments hidden view all 265 comments
Revision history for this message
In , Ivanov-q (ivanov-q) wrote :

Hm... Why new bug?
It's for current bug (Accelerators should not be affected by keyboard group/level), this patch makes gtk to think about it (and with it textEdits are not affected by group/level).
One change more and we would be able to discard from conversion to Latin-letters (it will fix the whole bug and depending bug).
About CVS I got it, I will do it in a right way.

Revision history for this message
In , Jwalden-m (jwalden-m) wrote :

Well, for one, this bug is an utter mess from all the advocacy comments -- it's almost completely useless for understanding the problem it's trying to fix, because you have to wade through so much to get to anything useful.

For another, people agreed enough that the original bug was fixed that they marked it fixed. If they thought various nits were part of that problem, they'd have required them to be fixed here before resolving the bug.

For a third, breaking issues into smaller pieces to deal with them is better for managing problem scope. You can't accurately estimate time to review or fix big problems. It's easier to know what must be done with small problems, rather than wondering whether a particular issue is on the table or not from only a few summaries of big bugs.

Last, and don't take this as criticism (more useful "political" advice in general), but when people more involved in a project (any project, not just Mozilla) than you asks you to do something in a slightly different but not indisputably worse way, and those people are willing to help with whatever you're doing, it's in your best interests to be accommodating. :-) Pedantic, nonsubstantive disagreement just isn't all that productive in practice -- you need other people's cooperation to see your issue fixed.

Revision history for this message
In , Ivanov-q (ivanov-q) wrote :

Oh, that :)
I haven't any disagreement, I asked a question only to understand why it should be done in another way, because it's really about this issue. I took part only in a small fpc module project from scratch, so it's a absolutely new thing for me.
At this moment I'm downloading the source from CVS and opening new bug.
Should I put here a link to the new issue?
Jeff, thanks you for your "political" advice :)
P.S. How should I call guys from the discussion? By name or surname nor both?

Revision history for this message
In , Jwalden-m (jwalden-m) wrote :

(In reply to comment #214)
> Should I put here a link to the new issue?

Certainly; mentioning followup bugs by number in the original bug is standard practice here (and I'd imagine across most bug systems, although I don't venture out of here often enough to guarantee it).

> P.S. How should I call guys from the discussion? By name or surname nor both?

Generally first names, or by bugmail address if no name is given. Deeply involved people may also get called by IRC nicknames, but it's certainly not necessary to do so, just faster/more concise. (It's also sometimes less ambiguous -- there are quite a few Mikes doing Mozilla stuff, for example. :-) )

Revision history for this message
In , Ivanov-q (ivanov-q) wrote :

Jeff, thanks for your answers :)

Bug 406407 was created. It fixes gtk bindings for textEdit (it caused a part of current problem).
I'm sure, that there is a way to make Bug 69230 fixed without conversion to Latin (and issuing Bug 399939).

Revision history for this message
In , Amos Shapira (amos-shapira) wrote :

(In reply to comment #216)
> Jeff, thanks for your answers :)
>
> Bug 406407 was created. It fixes gtk bindings for textEdit (it caused a part of
> current problem).

Would it make sense to block the current bug (69230) by the new bug?

Revision history for this message
In , Ivanov-q (ivanov-q) wrote :

What does it mean, to block the bug (sorry, that I ask here)?

Revision history for this message
In , Zzfi-live (zzfi-live) wrote :

(In reply to comment #200)
> As per popular request here is a rediffed version of the patch for firefox 2.0.
> Diffed against firefox source code 2.0.0.10.

When do this patch include to gecko 1.8.1.x? I am waiting it for seamonkey 1.1.x

Revision history for this message
In , Jo-hermans (jo-hermans) wrote :

*** Bug 407355 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jo-hermans (jo-hermans) wrote :

*** Bug 407356 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jwalden-m (jwalden-m) wrote :

(In reply to comment #218)
> What does it mean, to block the bug (sorry, that I ask here)?

The term "block" is heavily overloaded. "X blocks Y" implies "Y depends on X", and it can mean that X must be fixed before Y can be fixed, that X is a regression from fixing Y, or that X must be fixed for Y to be considered fully fixed (which doesn't necessarily imply that Y can't be marked fixed before X is marked fixed).

It's all a bit confusing, really. We sort of want more knobs to turn to record these things more precisely, but Bugzilla UI is already full enough that nobody's really been interested in spending effort to add yet more of it (and get it past the inevitable UI bikeshedding discussions).

Revision history for this message
In , Ivanov-q (ivanov-q) wrote :

Jeff, thanks a lot! Great explanation, I got it.
In this context I hope I will kill one of Xs this evening :)

Revision history for this message
In , Ivanov-q (ivanov-q) wrote :

Some of the shortcuts problems are caused by clipboard handling, see Bug 407604.

Revision history for this message
In , Jruderman (jruderman) wrote :

*** Bug 417060 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dmitrii 'Mamut' Dimandt (dmitriid) wrote :

The bug is now marked as RESOLVED/FIXED. Will it be included in upcoming Firefox updates? Or is it scheduled for FF3?

Revision history for this message
In , Ehsan-mozilla (ehsan-mozilla) wrote :

It will affect Firefox 3.

Revision history for this message
In , Simos Xenitellis  (simosx) wrote :

The fix has been included in Firefox 3. I doubt it will be backported to Firefox 2.

I just tested with Firefox 3.0beta3 and it works really great.

Revision history for this message
In , Ndemou-gmail (ndemou-gmail) wrote :

It Works! tested with FF v3.0b3 (us qwerty + greek qwerty layouts)

MANY THANKS to everyone involved!

Revision history for this message
In , Ivanov-q (ivanov-q) wrote :

Comment on attachment 290399
look for latin key if modifier is down [rediffed for firefox 2.0]

It's very annoying. Everybody is tired from it

Revision history for this message
In , Karlt (karlt) wrote :

(In reply to comment #230)
See comment 201.

Revision history for this message
In , Ivanov-q (ivanov-q) wrote :

Created attachment 307428
Rediffered for ff2 with fix (comment 201)

Sorry, didn't notice it.
Karl, it the thing we are talking about in Bug 399939. With this change we should be free to apply this patch to ff2.

Revision history for this message
In , Eyalroz (eyalroz) wrote :

This bug manifests again in recent SM trunk builds (last week or so) - on Windows (and using Hebrew keybouard layout). Has there been a related check-in recently?

Revision history for this message
In , Unghost-mozilla-russia (unghost-mozilla-russia) wrote :

(In reply to comment #233)
> This bug manifests again in recent SM trunk builds (last week or so) - on
> Windows (and using Hebrew keybouard layout). Has there been a related check-in
> recently?
>
This is Bug 429180

Revision history for this message
In , Karlt (karlt) wrote :

(In reply to comment #233)
> Windows (and using Hebrew keybouard layout).

Bug 429970. No check-in yet.

235 comments hidden view all 265 comments
Revision history for this message
Saša Bodiroža (jazzva) wrote :

This bug has been fixed upstream. Marking as Fix released for Ubuntu's task. Please, reopen it if you are still expiriencing this bug.

Changed in firefox:
status: In Progress → Fix Released
236 comments hidden view all 265 comments
Revision history for this message
In , Unghost-mozilla-russia (unghost-mozilla-russia) wrote :

*** Bug 425350 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Shai Berger (shai-platonix) wrote :

I'm seeing this on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008060909 Iceweasel/3.0 (Debian-3.0~rc2-1).

Revision history for this message
In , Shai Berger (shai-platonix) wrote :

... and also in Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0 (still on Debian sid). Both on a clean profile, with Hebrew layout. So apparently the problems are not unique to Win32 and are not yet solved. I think it did work at some point on Hardy, but I just checked there and it's FF3RC3 and I see the same problem.

Revision history for this message
In , Smontagu (smontagu) wrote :

Which shortcuts exactly is there a problem with? I'm not seeing anything not working on Hardy with Hebrew layout.

Revision history for this message
In , Karlt (karlt) wrote :

(In reply to comment #238)
There must be a Latin keyboard layout enabled (but not necessarily selected) if you wish Latin accelerators to function based on their corresponding keys in a Latin layout. Check the enabled layouts with "setxkbmap -print". Despite the setxkbmap man page you can use that command to enable two layouts with something like "setxkbmap -layout il,us".

If this still doesn't work with a Latin layout enabled or if your normal layout-switching tool doesn't provide the necessary functionality then please file a separate bug with some details and CC me. (This bug report is already too long.)

Revision history for this message
In , Haggai Eran (haggai-eran) wrote :

I'm running firefox on hardy with Hebrew and English keyboard layouts. I found that the Ctrl-W shortcut for closing the current tab only works on the English layout, while the cut-copy-paste shortcuts work on both layouts.

Haggai

Revision history for this message
In , Ndemou-gmail (ndemou-gmail) wrote :

Ctrl plus C,V,X,P,W,A,Z,Y,F,H,L work just fine here:

1) Mozilla/5.0 (X11; U; Linux i686; el-GR; rv:1.9) Gecko/2008060309 Firefox/3.0
2) Keyboard Layouts
   a) US Qwerty
   b) EL (Greek) Qwerty
3) Ubuntu Hardy (8.04)

Revision history for this message
In , Mozilla-bugs-2011-08 (mozilla-bugs-2011-08) wrote :

@Haggai:
Like Karl said, you need to enable the Latin layout in Hebrew as well. If you use KDE 3.x it is done here (translated from Hebrew):
Kcontrol -> Localization and Disability -> Keyboard layouts -> Now select the Israeli layout by clicking on the relevant line under Active Layouts (פריסות פעילות) -> Check the "Include Latin layout ( )" button.

Revision history for this message
In , Mozilla-bugs-2011-08 (mozilla-bugs-2011-08) wrote :

@Haggai:
Like Karl said, you need to enable the Latin layout in Hebrew as well. If you use KDE 3.x it is done here (translated from Hebrew):
Kcontrol -> Localization and Disability -> Keyboard layouts -> Now select the Israeli layout by clicking on the relevant line under Active Layouts (פריסות פעילות) -> Check the "Include Latin layout (כולל פריסה לטינית)" button.

Revision history for this message
In , Haggai Eran (haggai-eran) wrote :

I don't use KDE - I use gnome. I think I already have a latin keyboard layout as well as the Hebrew layout. Here's the output of setxkbmap:
> $setxkbmap -print
> xkb_keymap {
> xkb_keycodes { include "xfree86+aliases(qwerty)" };
> xkb_types { include "complete" };
> xkb_compat { include "complete+ledcaps(group_lock)+ledcaps(group_lock)" };
> xkb_symbols { include "pc+us+inet(logiclx300)+il(lyx):2+group(caps_toggle)" };
> xkb_geometry { include "pc(pc104)" };
> };

Is that ok?

Haggai

Revision history for this message
In , Mozilla-bugs-2011-08 (mozilla-bugs-2011-08) wrote :

@Haggai:
I really don't know. Try asking on your distro's mailing list or on linux-il.

Revision history for this message
In , Smontagu (smontagu) wrote :

I can confirm that Ctrl-W and Ctrl-Q do not work with the Hebrew layout active, although other Ctrl- shortcuts do work, but as Karl says this should be reported as a new bug.

Revision history for this message
In , Mozilla-bugs-2011-08 (mozilla-bugs-2011-08) wrote :

Wow, you are right, I can reconfirm that CTRL-Q and CTRL-W do not work, though CTRL-A, Z, X, C, V, P, F, H, B, and L do.

Revision history for this message
In , Elez-d (elez-d) wrote :

Yes, this bug is not fully fixed. I think some Firefox 3.0 beta versions fixed this bug completely, but since then there was this regression.

This bug should be reopened.

Revision history for this message
In , Mozilla-bugs-2011-08 (mozilla-bugs-2011-08) wrote :

@Elez:
It appears that the new regression is not related to the original fix. Please comment on Bug #452393 with your locale and the keyboard shortcuts that do not work in your keyboard layout.

Everyone else who uses non-US keyboard layouts is encouraged to check the following accelerator combinations and to report in Bug #452393 which accelerators work and which do not:
CTRL-Q, W, A, Z, X, C, V, P, F, H, B, L

https://bugzilla.mozilla.org/show_bug.cgi?id=452393

Changed in firefox:
importance: Unknown → Medium
Revision history for this message
In , Albert-3 (albert-3) wrote :

*** Bug 374585 has been marked as a duplicate of this bug. ***

Displaying first 40 and last 40 comments. View all 265 comments or add a comment.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.