Hotkeys not functional in non-latin keyboard layout

Bug #1226962 reported by Misha Bazanov on 2013-09-18
This bug affects 469 people
Affects Status Importance Assigned to Milestone
Default settings and artwork for Baltix OS
Undecided
Unassigned
Indicator keyboard
Fix Released
Critical
William Hua
Inkscape
Undecided
Unassigned
Intellij Idea
Undecided
Unassigned
LibreOffice
Fix Released
Critical
OpenOffice
New
Undecided
Unassigned
Unity
Fix Released
High
Unassigned
aptana-studio-installer
Undecided
Unassigned
ibus
New
Undecided
Unassigned
monodevelop
New
Undecided
Unassigned
mutter
Fix Released
Medium
okular
New
Undecided
Unassigned
sigram
New
Undecided
Unassigned
gnome-settings-daemon (Ubuntu)
High
Unassigned
Xenial
High
Unassigned
gnome-shell (Fedora)
Unknown
Unknown
gnome-terminal (Ubuntu)
High
Unassigned
Xenial
High
Unassigned
kdevelop (Ubuntu)
High
Unassigned
Xenial
High
Unassigned
openjdk-7 (Ubuntu)
High
Unassigned
Xenial
High
Unassigned
openoffice (Fedora)
Unknown
Unknown
unity (Ubuntu)
High
Unassigned
Xenial
High
Unassigned
unity-settings-daemon (Ubuntu)
High
William Hua
Xenial
High
William Hua

Bug Description

New keyboard layout changer in Ubuntu 13.10 introduce old-new bug. Any system or application hotkey witch use char (for example: ctrl+alt+t for terminal or ctrl+t for new tab in browser) become unfunctional when selected non-latin keyboard layout.
Hotkeys with F1-12, numbers and other non-character buttons works perfectly.

Window manager hotkeys not affected by this bug. All hotkeys in system parameters->keyboard->hotkeys->windows works perfect with any keyboard layout.

Workaround for some system hotkeys and two layouts (english and non-latin): rebind all hotkeys in your local layout. For example instead of ctrl+alt+t use ctrl+alt+τ (greek tau). That hotkey still work with english layout. If you use english and two different non-latin layouts this workaround helps only with one of them.

Dear Ubuntu users and developers!
Please include the following information to your comment about non-latin shortcuts problems:
1. What Ubuntu version do you have (Ubuntu 13.10, Ubuntu 13.10 GNOME, Ubuntu 14.04, Ubuntu 14.04 GNOME and so on), upgraded (describe version) or clean installed
2. What keyboard layout do you have
3. What shortcut for keyboard layout switching do you use
4. On which session you have problems - that is one from Unity, GNOME Shell, GNOME FlashBack/Fallback (Metacity), GNOME FlashBack/Fallback (Compiz)
5. With which program and its version and origin (Ubuntu repositories, PPA, non-deb binary package from some website) you have problems.

By providing this information you can make bug-fixing much simpler and may be faster.

----------
For other layout switching problems introduced in Ubuntu 13.10 you can see bug 1218322.
----------

Related branches

lp:~attente/gnome-settings-daemon/non-latin-media-keys
Sebastien Bacher: Disapprove on 2013-10-08
lp:~attente/indicator-keyboard/lp1226962
Ted Gould: Approve on 2013-10-09
PS Jenkins bot: Approve (continuous-integration) on 2013-10-09
lp:~attente/unity/gnome-key-grabber
Christopher Townsend: Approve on 2014-02-11
Marco Trevisan (Treviño): Approve on 2014-02-11
PS Jenkins bot: Approve (continuous-integration) on 2014-02-07
lp:~attente/gnome-settings-daemon/gnome-key-grabber
Sebastien Bacher: Disapprove on 2014-02-26
lp:~attente/unity-settings-daemon/gnome-key-grabber
Sebastien Bacher: Approve on 2014-02-18
PS Jenkins bot: Approve (continuous-integration) on 2014-02-17
Unity Settings Daemon Development Team: Pending requested 2014-02-12
lp:~attente/unity-settings-daemon/1226962
Sebastien Bacher: Approve on 2016-01-07
Stephen M. Webb (bregma) on 2013-09-18
Changed in unity:
importance: Undecided → High
status: New → Triaged
Changed in unity (Ubuntu):
status: New → Triaged
importance: Undecided → High

Testing in Firefox with Afghani, ctrl+t for new tab works. Though ctrl+alt+t does now...which would is possibly under gnome-compatibilty in compiz.... but one would think things should still work? As im not sure what the new layout changer did that would cause it to stop working. Unless it hadn't worked before...as we should still be getting the same events as before through compiz/unity. A new keyboard layout changer shouldn't change the type of events we get hmmm. I need to test if Ctrl+Alt+t worked before the new layouts...

Misha Bazanov (bmw-) wrote :

Are you testing Ubuntu 13.10? May be i'm wrong and this issue it is not related to layout changer.

Yup, on 13.10. My ctrl+t know doesn't work. Sooo i must have messed up testing it :). So yes there is a problem there.

Really im just wondering what use to happen, if this is a regression. As I see 3 cases, and 2 different ways to handle this.

1) You are using a standard qwerty latin keyboard with all the keys in the correct spot.
2) You are using a different layout where they keys (such as 't') may be in different locations.
3) You are using a language where such a key does not exists (such as 't').

The two ways to possibly handle this, as in case 1 there is no need to change how we handle it.

If case 2, use the new location of the key if it has moved.
If case 3, use the keycode of the key it self when no such key exists.

Not entirely sure what the approach should be and would like to discuss this a bit more before heading down an implementation.

Misha Bazanov (bmw-) wrote :

I do not know much about non-english layouts with Latin character set. If they all contain a full set of English letters - move key to new location seems logical. Have no idea what DVORAK layout users think about it. Hotkeys like ctrl+x ctrl+c ctrl+v looks little absurdly, when they scattered on keyboard.

As russian user, i'm using cyrillic character set and expect hot keys use same key regardless of the layout (case 3).

Stephen and I looked into this. Turns out you're correct about the new keyboard layout changer did cause this bug to resurface. Though the reason, was there was a bug in the old keyboard layout changer. It was using the first keyboard layout you had (such as english) for the shortcuts.

So a bug was fixed in the keyboard changer that was fixing this issue...fun. So there really was no correct solution implemented for this. (Though there does appear to be some shortcuts that do still work regardless. ex: super+w/super+s).

We are going to have to discuss this and aim to land a fix in for 14.04 as there is no time for 13.10 :(.

Thank you very much for bringing this problem to our attention!

George Christofis (geochr) wrote :

@Brandon Schaefer (brandontschaefer)
[qoute="Brandon Schaefer"]We are going to have to discuss this and aim to land a fix in for 14.04 as there is no time for 13.10 :(.[/qupte]
Is that the official answer ?
With simple words you are saying us that no one can use the 13.10 as properly if works with his native language (non English)???

Is it possible to release 13.10 with a bug that affects millions users on their native language?
In my opinion, If this bug exists after release, then the 13.10 will be a non-handy version for many users.

Am i wrong, is there something that i misunderstanding?

Simos Xenitellis  (simosx) wrote :

I am using 13.10 (latest updates) and I have configured the layouts US English, Greek, Russian.

I started "gedit" (core GTK+ app) and I switch keyboard layout to Greek.

1. I typed some text in Greek. Then, pressed Ctrl+A (Select All) but nothing happened. Instead, the whole text should have been selected.
In the Greek keyboard layout, the Greek A is on the same physical key as the Latin A.

2. I pressed Alt+F (Open the File menu). Nothing happened.

GTK+ should have handled correctly both of these cases as it has code to handle the multiple-layout issue.
I tried to unset 'GTK_MODULES' (has a value of 'unity-gtk-module'), but I did not get back the old behavior.
I could not find a workaround for these critical issues.

Simos Xenitellis  (simosx) wrote :

A workaround to get shortcuts in non-Latin scripts to work again is to kill any IBus processes.

I killed

/usr/bin/ibus-daemon --replace --xim --panel disable
/usr/lib/ibus/ibus-dconf
/usr/lib/ibus/ibus-x11 --kill-daemon
/usr/lib/ibus/ibus-engine-simple

and then I could "Select All", or start "Alt+F" to get the File menu.

Thus, IBus is interfering with GTK+ apps, even if for those apps the default GTK+ IM is active.

Stephen M. Webb (bregma) wrote :

Turns out the new keyboard indicator always starts ibus even when the system is configured to never run it, and even then ends up starting it with the wrong arguments.

Changed in indicator-keyboard:
importance: Undecided → Critical
status: New → Triaged
Changed in indicator-keyboard (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in unity (Ubuntu):
status: Triaged → Invalid
Changed in unity:
status: Triaged → Invalid
NickTh  (nick-athens30) wrote :

I tested the /etc/default/im-config with several inputs (xim, none), but ibus is always there. Up and running.

I presume @Stephen M. Webb has right.

1 comments hidden view all 313 comments
Stephen M. Webb (bregma) wrote :

The downside to just killing ibus-daemon is that every time you change your keyboard layout it restarts the daemon.

NickTh  (nick-athens30) wrote :

Yeap, just figured out.

This daemon is strong enough to resurrected himself :P

So comment #11 IS NOT A WORKAROUND. (I will hide it, so people not get confused). You have to kill ibus-daemon every time you change the layout.

Also I tried to disable it completely , then is not even start , through the following command

    gsettings set org.gnome.settings-daemon.plugins.keyboard active false

but then, shortcuts still not working.

This is strange enough for me (I'm not a developer) as it seems the shortcuts work only if you leave the ibus-daemon to be started and then kill it.

William Hua (attente) wrote :

I just tested this, I don't believe IBus is the culprit here. Killing IBus with another keyboard layout selected (I used Arabic) did not fix the hotkey problem. My guess is that this is in g-s-d, but I'm still looking into it.

Stephen M. Webb (bregma) wrote :

See https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1228422 for many quality comments describing the problems and side effects of running ibus-daemon when it is explicitly configured not to run.

Lars Karlitski (larsu) wrote :

I don't understand this. I'm running a German keyboard (Y and Z keys are swapped). Ctrl+Z has always been mapped to the physical Z key on my keyboard. It sounds like this bug is about changing that?

Stephen M. Webb (bregma) wrote :

@Lars

A Greek keyboard does not have a physical Z key, nether does an Arabic or Hebrew keyboard. There are different requirements for Latin and non-Latin keyboards, and different requirements again for IMs like the various Indic or CJK entry systems. That's why it's definitely wrong to force ibus to run when it's explicitly configured not to.

@Stephen: In Greek, the Z key happens to be on the same physical key as Z
on the US English/British physical key (Qwerty).

@Lars: GTK+ has code in
https://git.gnome.org/browse/gtk+/tree/gtk/gtkkeyhash.c so that when you
press Ctrl+A (where A is the Greek A), it will search what was supposed to
have been pressed if the first group (let's say 'keyboard layout', commonly
US English) was active. Thus, Ctrl+A (Greek Alpha) works with the GTK+ IM.

There is an issue if you happen to have two Latin keyboard layouts, such as
US English + German. Such a difficult situation is discussed at
https://bugzilla.gnome.org/show_bug.cgi?id=162726.

I think the goal for 13.10 should definitely be to get the GTK+ IM
functionality working again.

On Tue, Sep 24, 2013 at 11:34 PM, Stephen M. Webb <
<email address hidden>> wrote:

> @Lars
>
> A Greek keyboard does not have a physical Z key, nether does an Arabic
> or Hebrew keyboard. There are different requirements for Latin and
> non-Latin keyboards, and different requirements again for IMs like the
> various Indic or CJK entry systems. That's why it's definitely wrong to
> force ibus to run when it's explicitly configured not to.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1226962
>
> Title:
> Hotkeys not functional in non-latin keyboard layout
>
> Status in Indicator keyboard:
> Triaged
> Status in Unity:
> Invalid
> Status in “indicator-keyboard” package in Ubuntu:
> Triaged
> Status in “unity” package in Ubuntu:
> Invalid
>
> Bug description:
> New keyboard layout changer in Ubuntu 13.10 introduce old-new bug. Any
> system or application hotkey witch use char (for example: ctrl+alt+t for
> terminal or ctrl+t for new tab in browser) become unfunctional when
> selected non-latin keyboard layout.
> Hotkeys with F1-12, numbers and other non-character buttons works
> perfectly.
>
> Window manager hotkeys not affected by this bug. All hotkeys in system
> parameters->keyboard->hotkeys->windows works perfect with any keyboard
> layout.
>
> Workaround for some system hotkeys and two layouts (english and non-
> latin): rebind all hotkeys in your local layout. For example instead
> of ctrl+alt+t use ctrl+alt+τ (greek tau). That hotkey still work with
> english layout. If you use english and two different non-latin
> layouts this workaround helps only with one of them.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/indicator-keyboard/+bug/1226962/+subscriptions
>

--
CONFIDENTIALITY This e-mail and any attachments are confidential and may
also be privileged. If you are not the named recipient, please notify the
sender immediately and do not disclose the contents to another person, use
it for any purpose, or store or copy the information in any medium.

no longer affects: unity (Ubuntu)
Filippos Kolyvas (fkol-k4) wrote :

@ Dmitry, that's great news!
Is there some action that could be taken to achieve that, or will it be fixed by a future update?
On the second case, do we have a rough estimation on the arrival time of this fix?

Misha Bazanov (bmw-) wrote :

@Filippos it is just about project to witch bug is assigned.

Simos Xenitellis  (simosx) wrote :

@Misha: So you are saying that the bug still exists, it is not a Unity bug, but solely an "indicator keyboard" bug.

Artyom Kazak (artyom-kazak) wrote :

Shortcuts work when I’m using standard Russian layout, don’t work when I’m using my own custom layout; everything used to work flawlessly in 13.04.

Simos Xenitellis  (simosx) wrote :

@Artyom: The issue is with Ubuntu 13.10 which has specific new changes when switching layouts.
My layouts are EN/GR/RU, and while RU is active, the shortcuts do not work. I tested with Ctrl+A (Select All).
Do note that I check with 'gedit' (core GTK+ app). Some other apps like Chromium have specific changes and are unaffected.

summary: - Hotkeys not functional in non-latin keyboard layout
+ Hotkeys not functional in non-latin keyboard layout in 13.10

I have uploaded gnome-settings-daemon with William's patch applied to ppa:mitya57/ppa, please test and give your feedback before it is uploaded to archive.

affects: indicator-keyboard (Ubuntu) → gnome-settings-daemon (Ubuntu)
Filippos Kolyvas (fkol-k4) wrote :

Thanks Dmitry, i added the ppa, upgraded, rebooted and here are the results:

After upgrading, i cannot change layout using the shortcut, change is only possible with the mouse, so every layout change on following test is made using the mouse on the keyboard indicator:

Gedit (gtk core app): Hotkeys (copy, paste, print) are working on Greek layout.
Kate (KDE app): Hotkeys are not working on Greek layout.
LibreOffice: Hotkeys are not working on Greek layout.
Mozilla Firefox: Hotkeys are not working on Greek layout.
Chromium Browser - Google Chrome: Hotkeys are working on Greek layout.
Global shortcuts are probably working, for example ctrl+alt+T (gnome-terminal) shortcut works, super key +S works too (i haven't tested more shortcuts).

Hope that it's going to help.

@Filippos: layout switching not working is a different issue, tracked in
bug 1218322. I hope William will look at it soon.
On Oct 6, 2013 6:00 PM, "Filippos Kolyvas" <email address hidden>
wrote:

> Thanks Dmitry, i added the ppa, upgraded, rebooted and here are the
> results:
>
> After upgrading, i cannot change layout using the shortcut, change is
> only possible with the mouse, so every layout change on following test
> is made using the mouse on the keyboard indicator:
>
> Gedit (gtk core app): Hotkeys (copy, paste, print) are working on Greek
> layout.
> Kate (KDE app): Hotkeys are not working on Greek layout.
> LibreOffice: Hotkeys are not working on Greek layout.
> Mozilla Firefox: Hotkeys are not working on Greek layout.
> Chromium Browser - Google Chrome: Hotkeys are working on Greek layout.
> Global shortcuts are probably working, for example ctrl+alt+T
> (gnome-terminal) shortcut works, super key +S works too (i haven't tested
> more shortcuts).
>
> Hope that it's going to help.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1226962
>
> Title:
> Hotkeys not functional in non-latin keyboard layout in 13.10
>
> Status in IBus:
> New
> Status in Indicator keyboard:
> Triaged
> Status in Unity:
> Invalid
> Status in “gnome-settings-daemon” package in Ubuntu:
> Triaged
>
> Bug description:
> New keyboard layout changer in Ubuntu 13.10 introduce old-new bug. Any
> system or application hotkey witch use char (for example: ctrl+alt+t for
> terminal or ctrl+t for new tab in browser) become unfunctional when
> selected non-latin keyboard layout.
> Hotkeys with F1-12, numbers and other non-character buttons works
> perfectly.
>
> Window manager hotkeys not affected by this bug. All hotkeys in system
> parameters->keyboard->hotkeys->windows works perfect with any keyboard
> layout.
>
> Workaround for some system hotkeys and two layouts (english and non-
> latin): rebind all hotkeys in your local layout. For example instead
> of ctrl+alt+t use ctrl+alt+τ (greek tau). That hotkey still work with
> english layout. If you use english and two different non-latin
> layouts this workaround helps only with one of them.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ibus/+bug/1226962/+subscriptions
>

@ Dmitry:
This is somewhat different, i don't mean that i can't change layout with some custom shortcut. I'm using the default shortcuts (super+space, shift+super+space) and these do not work anymore.

But this is not the reason why i mentioned it, of course we can deal with that later. The reason was that prior to the upgrade through the PPA, when i was "confirming" the layout change with the mouse (i mean change the layout to Greek through super+space and then change it to Greek once more with the mouse), made the shortcuts work on Gedit Text Editor (but not on global shortcuts).

You can see the relative attached picture on comment #5 of duplicate bug #1228422 of similar test results:
https://bugs.launchpad.net/unity/+bug/1228422/+attachment/3834215/+files/greek-layout-saucy.png
This was true until now.

Thanks for your time

Jacob Popov (j-a-popov) wrote :

Dima, your patch works but partially.

It works fine if I switch layout with XKB hotkey.
However, it doesn't work if I switch using the indicator (which utilises iBus, I presume?).

Steps to reproduce:
1) Launch LO:Writer.
2) Enter some text
3) Try to cut it with Ctrl+X and paste with Ctrl+V (or undo with Ctrl+Z).
4) Change the layout using Alt+Shift and repeat no.3. Works fine.
5) Change the layout using the indicator and mouse and repeat no.3 again. No luck. :-(

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:indicator-keyboard at revision 133, scheduled for release in indicator-keyboard, milestone Unknown

Changed in indicator-keyboard:
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-keyboard (Ubuntu):
status: New → Confirmed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-keyboard - 0.0.0+13.10.20131010.1-0ubuntu1

---------------
indicator-keyboard (0.0.0+13.10.20131010.1-0ubuntu1) saucy; urgency=low

  [ William Hua ]
  * Don't set LightDM's layout if we're in a session. (LP: 1226962).
    (LP: #1226962)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 134
 -- Ubuntu daily release <email address hidden> Thu, 10 Oct 2013 12:36:09 +0000

Changed in indicator-keyboard (Ubuntu):
status: Confirmed → Fix Released
Evgecyn (evgecyn) wrote :

Ubuntu 13.10. I use colemak and russian layouts. After fix this bug, hotkeys in russian layout work like by using qwerty. I press different hardware keys for the same hotkey combination in different layouts. In ubuntu 12.04 it works fine, the same hardware keys for russian and colemak layouts.

Igor Zubarev (igor.zubarev) wrote :

Still can't assign CAPS LOCK to switch a keyboard layout.

Misha Bazanov (bmw-) wrote :

@Igor This bug is not relative, try #1218322

I use Dvorak and Russian layouts. Now hotkeys in Russian layout work like the layout was QWERTY, not Dvorak, which is very inconvenient, as I have to use different physical keys when I switch layouts. It worked flawlessly for years, and now it's broken.

Gilad Ravid (gilad-m) wrote :

I have the same bug (since my last night upgrade to 13.10) the package as describe at #31 installed on my system . I still have that bug

I confirm that the bug still remains

I have found a workaround here: https://bbs.archlinux.org/viewtopic.php?id=167687

This bug affects only Libreoffice. In other applications (e.g. Gedit, Nautilus, Thunderbird etc.), the shortcuts work even after switching layouts. If you remove libreoffice-gtk and libreoffice-gnome, the problem is solved, although libreoffice becomes very ugly.

It should be noted that the bug affects both Ubuntu 13.10 and UbuntuGnome 13.10. I have tried this workaround in both an Ubuntu and an UbuntuGnome installation. Libreoffice In Ubuntu became unusable, although the bug disappeared, whereas in UbuntuGnome Libreoffice could still be used.

Filippos Kolyvas (fkol-k4) wrote :

I confirm that the bug is fixed for GTK core applications (gedit, nautilus) and Mozilla Firefox.
Well done @ all who worked in this!

I can also confirm that the bug still affects typing when using LibreOffice and when using KDE applications (such as kate text editor) on Ubuntu with standard Unity desktop environment.

I haven' tested this on UbuntuGnome.

Norbert (nrbrtx) wrote :

I have installed latest packages from ppa:attente/1218322 (Ctrl+Shift or Alt+Shift or Caps Lock - all work as layout switchers between English and Russian), but shortcuts (such as Ctrl+Alt+T) on non-latin layout do not work (UbuntuGnome, Ubuntu).

tags: added: saucy
Norbert (nrbrtx) on 2013-10-29
description: updated
Norbert (nrbrtx) on 2013-10-31
tags: added: keyboard-layout-switching-related
Charles Kerr (charlesk) on 2013-11-03
Changed in indicator-keyboard:
assignee: nobody → William Hua (attente)
status: Fix Committed → Fix Released
Changed in gnome-control-center:
importance: Unknown → Medium
status: Unknown → Invalid
Norbert (nrbrtx) on 2013-11-19
Changed in gnome-control-center:
importance: Medium → Unknown
status: Invalid → Unknown
affects: gnome-control-center → mutter
Changed in mutter:
importance: Unknown → Medium
status: Unknown → New
John Rotomano (rotomano) on 2013-12-15
Changed in df-libreoffice:
importance: Undecided → Unknown
status: New → Unknown
Changed in df-libreoffice:
importance: Unknown → Critical
status: Unknown → Invalid
Norbert (nrbrtx) on 2013-12-20
tags: added: trusty
Norbert (nrbrtx) on 2013-12-24
summary: - Hotkeys not functional in non-latin keyboard layout in 13.10
+ Hotkeys not functional in non-latin keyboard layout
summary: - Hotkeys not functional in non-latin keyboard layout
+ Hotkeys not functional in non-latin keyboard layout in 13.10 and 14.04
maria (gina-g-gg23) on 2014-01-22
Changed in gnome-settings-daemon (Ubuntu):
status: Triaged → In Progress
William Hua (attente) on 2014-02-04
tags: added: ubuntu-desktop-trusty
William Hua (attente) on 2014-02-05
Changed in unity:
status: Invalid → In Progress
Changed in unity:
status: In Progress → Fix Committed
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity (Ubuntu):
status: Confirmed → Fix Released
Changed in df-libreoffice:
status: Invalid → Confirmed
Changed in unity-settings-daemon (Ubuntu):
status: New → Fix Released
Changed in mutter:
status: New → Fix Released
Norbert (nrbrtx) on 2014-03-17
tags: added: trusty-desktop
Changed in gnome-settings-daemon (Ubuntu):
milestone: none → ubuntu-14.04
Changed in indicator-keyboard (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-14.04
Changed in unity (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-14.04
Changed in unity-settings-daemon (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-14.04
Changed in gnome-settings-daemon (Ubuntu):
status: In Progress → Triaged
Changed in gnome-terminal (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-14.04
status: New → Triaged
Stephen M. Webb (bregma) on 2014-04-03
Changed in unity:
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
status: Fix Released → Triaged
Changed in unity-settings-daemon (Ubuntu):
status: Fix Released → Triaged
Changed in indicator-keyboard (Ubuntu):
status: Fix Released → Triaged
Changed in openjdk-7 (Ubuntu):
status: New → Confirmed
Changed in kingsoft-office (Ubuntu):
status: New → Confirmed
Norbert (nrbrtx) on 2014-04-25
description: updated
Norbert (nrbrtx) on 2014-04-26
tags: added: apport-collected
Changed in openjdk-7 (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
no longer affects: kingsoft-office (Ubuntu)
information type: Public → Public Security
information type: Public Security → Private Security
information type: Private Security → Public
Changed in sublime-text (Ubuntu):
status: New → Confirmed
no longer affects: sublime-text (Ubuntu)
summary: - Hotkeys not functional in non-latin keyboard layout in 13.10 and 14.04
+ Hotkeys not functional in non-latin keyboard layout in 13.10, 14.04,
+ 14.04.1
summary: Hotkeys not functional in non-latin keyboard layout in 13.10, 14.04,
- 14.04.1
+ 14.04.1, 14.10
Changed in df-libreoffice:
status: Confirmed → Fix Released
tags: added: keyboard-layout-switching-hotkeys metabug
removed: charset hotkeys keyboard-layout-switching-related layout trusty-desktop
tags: removed: ubuntu-desktop-trusty
Adolfo Jayme (fitojb) on 2015-04-03
no longer affects: indicator-keyboard (Ubuntu)
tags: added: utopic
tags: added: vivid
summary: Hotkeys not functional in non-latin keyboard layout in 13.10, 14.04,
- 14.04.1, 14.10
+ 14.04.1, 14.10, 15.04
Changed in openjdk-7 (Ubuntu):
status: Triaged → Incomplete
summary: - Hotkeys not functional in non-latin keyboard layout in 13.10, 14.04,
- 14.04.1, 14.10, 15.04
+ Hotkeys not functional in non-latin keyboard layout
tags: added: patch
tags: added: wily
Changed in gnome-settings-daemon (Ubuntu):
milestone: ubuntu-14.04 → none
affects: gnome-shell (Fedora) → ubuntu
Changed in ubuntu:
importance: Unknown → Undecided
status: Unknown → New
no longer affects: ubuntu
affects: gnome-settings-daemon (Fedora) → ubuntu
Changed in ubuntu:
importance: Unknown → Undecided
status: Unknown → New
no longer affects: ubuntu
Changed in gnome-terminal (Ubuntu):
milestone: ubuntu-14.04 → none
Changed in unity (Ubuntu):
milestone: ubuntu-14.04 → none
Changed in unity-settings-daemon (Ubuntu):
milestone: ubuntu-14.04 → none
233 comments hidden view all 313 comments
Norbert (nrbrtx) wrote :

Bug exists in Ubuntu 15.10 beta2 - unable to start gnome-terminal in GNOME sessions on non-latin layout.

OrDuek (orduek) wrote :

attente -
Your PPA works great. I'm using alt+left Shift with no problems.
Thank you very much.

Download full text (3.6 KiB)

See http://www.whizzy.org/2015/09/big-bug-bonanza-16-04-lts/ for a sprint
to fix issues in Ubuntu (targeting 16.04).
Since there are patches for this and these patches work, it is important to
get the issue fixed during the sprint.

On Sat, Oct 10, 2015 at 10:49 AM, OrDuek <email address hidden> wrote:

> attente -
> Your PPA works great. I'm using alt+left Shift with no problems.
> Thank you very much.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1226962
>
> Title:
> Hotkeys not functional in non-latin keyboard layout
>
> Status in aptana-studio-installer:
> New
> Status in Default settings and artwork for Baltix OS:
> New
> Status in LibreOffice Productivity Suite:
> Fix Released
> Status in ibus:
> New
> Status in Indicator keyboard:
> Fix Released
> Status in Inkscape:
> New
> Status in monodevelop:
> New
> Status in mutter:
> Fix Released
> Status in okular:
> New
> Status in OpenOffice:
> New
> Status in sigram:
> New
> Status in Unity:
> Fix Released
> Status in gnome-settings-daemon package in Ubuntu:
> Triaged
> Status in gnome-terminal package in Ubuntu:
> Triaged
> Status in openjdk-7 package in Ubuntu:
> Incomplete
> Status in unity package in Ubuntu:
> Triaged
> Status in unity-settings-daemon package in Ubuntu:
> Triaged
> Status in gnome-shell package in Fedora:
> Unknown
> Status in openoffice package in Fedora:
> Unknown
>
> Bug description:
> New keyboard layout changer in Ubuntu 13.10 introduce old-new bug. Any
> system or application hotkey witch use char (for example: ctrl+alt+t for
> terminal or ctrl+t for new tab in browser) become unfunctional when
> selected non-latin keyboard layout.
> Hotkeys with F1-12, numbers and other non-character buttons works
> perfectly.
>
> Window manager hotkeys not affected by this bug. All hotkeys in system
> parameters->keyboard->hotkeys->windows works perfect with any keyboard
> layout.
>
> Workaround for some system hotkeys and two layouts (english and non-
> latin): rebind all hotkeys in your local layout. For example instead
> of ctrl+alt+t use ctrl+alt+τ (greek tau). That hotkey still work with
> english layout. If you use english and two different non-latin
> layouts this workaround helps only with one of them.
>
>
> Dear Ubuntu users and developers!
> Please include the following information to your comment about non-latin
> shortcuts problems:
> 1. What Ubuntu version do you have (Ubuntu 13.10, Ubuntu 13.10 GNOME,
> Ubuntu 14.04, Ubuntu 14.04 GNOME and so on), upgraded (describe version) or
> clean installed
> 2. What keyboard layout do you have
> 3. What shortcut for keyboard layout switching do you use
> 4. On which session you have problems - that is one from Unity, GNOME
> Shell, GNOME FlashBack/Fallback (Metacity), GNOME FlashBack/Fallback
> (Compiz)
> 5. With which program and its version and origin (Ubuntu repositories,
> PPA, non-deb binary package from some website) you have problems.
>
> By providing this information you can make bug-fixing much simpler and
> may be faster.
>
> ----------
> For other ...

Read more...

Ivan Larionov (xeron-oskom) wrote :

Actually @attente 's patch has issue with layout switching and hotkeys as well. On vivid sometimes after login all hotkeys don't work and you can't even switch layout. After relog it usually works again.

Will Cooke (willcooke) on 2015-10-14
tags: added: rls-w-incoming
Norbert (nrbrtx) wrote :

Bug exists in Ubuntu 15.10 for example in at least Midnight Commander (mc) and gnome-terminal with Cyrillic (Russian) layout and en_US.UTF-8 locale.

suslikk (suslikkreal) wrote :

Bug exists in Ubuntu 15.10 for example in Josm (Java application) and Terminator terminal with Cyrillic (Russian) layout and en_US.UTF-8 locale.
!!!

William Hua (attente) wrote :

Hi, I have updated the PPA, please try the PPA:

https://launchpad.net/~attente/+archive/ubuntu/java-non-latin-shortcuts

suslikk (suslikkreal) wrote :

William Hua (attente), its work with Josm and GPSPrune. Thanks!

Ari (aryehtanz) wrote :

Fantastic!

How do you get it to work with apacheoffice?
thx

tags: added: rls-x-incoming
removed: rls-w-incoming
Oryganum (altclava) wrote :

William Hua (attente), the last version of unity-settings-daemon (14.04.0+14.04.20151122-0ubuntu1ppa1) solved all my problems.
OmegaT and LibreOffice now understand short-cuts on both non-Latin languages I use.
Thank you very much!

I confirm,
the update to unity-settings-daemon 14.04.0+14.04.20151122-0ubuntu1ppa1 did solved the issues for me too.

Hotkeys didn't work in Russian layout in ThinkingRock and Freemind (both are using Java), but now everything is fine.

The author(s) of the new version, you're the greatest dudes/gals in the universe! I love you!!

Changed in unity (Ubuntu):
status: Triaged → Invalid
Will Cooke (willcooke) on 2015-11-30
tags: removed: rls-x-incoming
Rick1 (khandramay) wrote :

William Hua (attente) thanks. It's work for Intellij Idea 15

Changed in unity (Ubuntu):
status: Invalid → Fix Released
Nazar Mokrynskyi (nazar-pc) wrote :

Dear Ubuntu developers, FIX THIS ISSUE, please!
It is ridiculously stupid that every single application should do something special to support hotkeys, it should just work out of the box as it forked for many years before. I've tired to explain to many people how to get rid of unity-settings-daemon plugin and use setxkbmap instead!

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-settings-daemon - 15.04.1+16.04.20160119-0ubuntu1

---------------
unity-settings-daemon (15.04.1+16.04.20160119-0ubuntu1) xenial; urgency=medium

  [ William Hua ]
  * plugins/keyboard/gsd-keyboard-manager.c:
    - Fix shortcuts for non-latin keyboard layouts in certain programs,
      but only when the user's layout switching shortcuts are not
      Shift_L, Shift_R, <Shift>Shift_L, or <Shift>Shift_R (LP: #1226962)

  [ Rui Matos ]
  * power: Fix a crash when reading invalid backlight values

  [ Sebastien Bacher ]
  * keyboard: Avoid warning when bell-custom-file changes

 -- Iain Lane <email address hidden> Tue, 19 Jan 2016 17:08:48 +0000

Changed in unity-settings-daemon (Ubuntu Xenial):
status: Triaged → Fix Released
Norbert (nrbrtx) wrote :

Dear Launchpad Janitor (janitor)!

I'm sorry but users need this bug to fixed completely in all supported Ubuntu releases.
By all supported releases I mean especially LTS - 12.04 LTS, 14.04 LTS, 16.04 LTS.

Please fix this annoying bug completely without PPAs and other crutches.
Thank you!

Iain Lane (laney) wrote :

I am reverting this patch, it broke keyboard shortcuts for me in terminator, so it will have to be revisited.

Changed in unity-settings-daemon (Ubuntu Xenial):
assignee: nobody → William Hua (attente)
status: Fix Released → In Progress

Confirm on Ubuntu 16.04 in JOSM (Openstreetmap editor). HOT KEYS DON'T work in Russian layout!!!

eNdiD (endid13) wrote :

Confirm on Ubuntu 14.04, 14.10, 15.04, 15.10 releases with latin and cyrillic layouts. System hotkeys works ok (terminal hotkey e.g.).
But IDE's hotkeys (Sublime Text, PhpStorm, Intellij Idea) makes me suffer.
Well.. Someone. Fix it. Please.

Norbert (nrbrtx) wrote :

Bug still exists in 14.04 and 16.04.

tags: added: xenial

> Confirm on Ubuntu 14.04, 14.10, 15.04, 15.10 releases with latin and cyrillic layouts. System hotkeys works ok (terminal hotkey e.g.).
But IDE's hotkeys (Sublime Text, PhpStorm, Intellij Idea) makes me suffer.
Well.. Someone. Fix it. Please.

I second that, because for me in Ubuntu 14.04.4 LTS, Intellij Idea with Netbeans keymap (long-story :D) keyboard shortcut CTRL + SHIFT + 1 (non numpad) only gets captured by Intellij Idea when Ubuntu keyboard language is set to "EN", but when I switch to my native language "LT" (Lithuanian), then nothing happens nowhere :)

I have this bug also on Ubuntu 14.04, on Libre (at the system generally not) .

I have download the latest Libre release yesterday, 5.1.0, but it's doesn't solved.

Is there is any solution?
<email address hidden>

Dmitry Veltishev (vdmit) wrote :

Same issue on 15.10, Unity desktop.
In most applications (except Firefox) shortcuts like Ctrl+F not working in alternate (Russian in my case) layout.

Alexandr (jumpjet68) wrote :

Confirm this bug on ubuntu 16.04 (updated 2016.03.12) with unity-settings-daemon 15.04.1+16.04.20160209
System hotkeys work ok, java-based IDE (Sublime Text, PhpStorm, Intellij Idea) hotkeys don't work.

Ivan Larionov (xeron-oskom) wrote :

Some system hotkeys are still broken. Super+A/F/M/C/V hotkeys do not work.

n0dwis (n0dwis-u) wrote :

On Cinnamon in Mine everything works fine, so bug in Gnome/Unity, I think.

Alexandr (jumpjet68) wrote :

Bug is still confirmed on Ubuntu 16.04, but this ppa https://launchpad.net/~attente/+archive/ubuntu/java-non-latin-shortcuts repaired it. Why patch is still not in the official repository?

Alexandr (jumpjet68) wrote :

P.S. Many thanks to William Hua.

Alexandr (jumpjet68) wrote :

I found one more bug in that PPA. When i use english keyboard layout, slash key (dot-period key in russian layout) works as it have to, but Ctrl+slash hotkey gives me Ctrl+[dot+period] keyboard shortcut in PyCharm and Intellij IDEA as though i've used russian layout.

Alexandr (jumpjet68) wrote :

One another bug is that russian layout with Caps Lock activated behaves as english layout with Caps Lock, and vice versa. Tested PyCharm and Intellij IDEA, other applications works well.

Alexandr (jumpjet68) wrote :

same shit in Firefox and LibreOffice.

Pe4enko (ipe4enko) wrote :

Same issue on 16.04, Java applications, Intellij Idea

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kdevelop (Ubuntu Xenial):
status: New → Confirmed
Changed in kdevelop (Ubuntu):
status: New → Confirmed
Changed in kdevelop (Ubuntu):
importance: Undecided → High
Changed in kdevelop (Ubuntu Xenial):
importance: Undecided → High
Norbert (nrbrtx) on 2016-07-11
tags: added: yakkety
1 comments hidden view all 313 comments
Ari (aryehtanz) wrote :
Download full text (3.7 KiB)

Please fix openoffice.

This was fixed once and came back. Could be done much better.

On Tue, Jul 12, 2016 at 12:43 AM, Norbert <email address hidden>
wrote:

> ** Tags added: yakkety
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1226962
>
> Title:
> Hotkeys not functional in non-latin keyboard layout
>
> Status in aptana-studio-installer:
> New
> Status in Default settings and artwork for Baltix OS:
> New
> Status in LibreOffice:
> Fix Released
> Status in ibus:
> New
> Status in Indicator keyboard:
> Fix Released
> Status in Inkscape:
> New
> Status in Intellij Idea:
> New
> Status in monodevelop:
> New
> Status in mutter:
> Fix Released
> Status in okular:
> New
> Status in OpenOffice:
> New
> Status in sigram:
> New
> Status in Unity:
> Fix Released
> Status in gnome-settings-daemon package in Ubuntu:
> Triaged
> Status in gnome-terminal package in Ubuntu:
> Triaged
> Status in kdevelop package in Ubuntu:
> Confirmed
> Status in openjdk-7 package in Ubuntu:
> Incomplete
> Status in unity package in Ubuntu:
> Fix Released
> Status in unity-settings-daemon package in Ubuntu:
> In Progress
> Status in gnome-settings-daemon source package in Xenial:
> Triaged
> Status in gnome-terminal source package in Xenial:
> Triaged
> Status in kdevelop source package in Xenial:
> Confirmed
> Status in openjdk-7 source package in Xenial:
> Incomplete
> Status in unity source package in Xenial:
> Fix Released
> Status in unity-settings-daemon source package in Xenial:
> In Progress
> Status in gnome-shell package in Fedora:
> Unknown
> Status in openoffice package in Fedora:
> Unknown
>
> Bug description:
> New keyboard layout changer in Ubuntu 13.10 introduce old-new bug. Any
> system or application hotkey witch use char (for example: ctrl+alt+t for
> terminal or ctrl+t for new tab in browser) become unfunctional when
> selected non-latin keyboard layout.
> Hotkeys with F1-12, numbers and other non-character buttons works
> perfectly.
>
> Window manager hotkeys not affected by this bug. All hotkeys in system
> parameters->keyboard->hotkeys->windows works perfect with any keyboard
> layout.
>
> Workaround for some system hotkeys and two layouts (english and non-
> latin): rebind all hotkeys in your local layout. For example instead
> of ctrl+alt+t use ctrl+alt+τ (greek tau). That hotkey still work with
> english layout. If you use english and two different non-latin
> layouts this workaround helps only with one of them.
>
>
> Dear Ubuntu users and developers!
> Please include the following information to your comment about non-latin
> shortcuts problems:
> 1. What Ubuntu version do you have (Ubuntu 13.10, Ubuntu 13.10 GNOME,
> Ubuntu 14.04, Ubuntu 14.04 GNOME and so on), upgraded (describe version) or
> clean installed
> 2. What keyboard layout do you have
> 3. What shortcut for keyboard layout switching do you use
> 4. On which session you have problems - that is one from Unity, GNOME
> Shell, GNOME FlashBack/Fallback (Metacity), GNOME FlashBack/Fallback
> (Compiz)
> 5. With wh...

Read more...

Ivan Larionov (xeron-oskom) wrote :

So 16.10 released with the same bug.

I assume this won't be fixed until they release Ubuntu with Unity 8 because it uses QT and won't be affected by this bug :)

The same problem in NetBeans IDE 8.2

1 comments hidden view all 313 comments
referee (referee-home) wrote :

ubuntu 16.10
same issue, intellij idea, datagrip
use english and russian layout, ctrl+shift to switch between them

ZoLToR (zoltor) wrote :

Just use another keyboard switcher (e.g., gxkb) and keep only one English layout in system layout switcher. I tried gxkb and all worked fine but some another issues appeared, which specific to gxkb (e.g., when laptop was waking up from the sleep mode, gxkb settings were resetting. Also, I didn't see gxkb indicator on the lock screen, so sometime I entered the password on wrong layout). But I almost didn't notice this gxkb-specific issues in comparison with this idiotic annoying issue in unity-settings-daemon, which cannot be fixed so long time (wtf? Developers are fixing the result of this issue by adding some "bicycles" to software where this issue is persist, but they aren't fixing the ROOT CAUSE in unity-setting-daemon -_-" )

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

Other bug subscribers

Remote bug watches

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