Bug#604287: Control/Alt key maps not updated when changing keyboard layout

Hugo Herbelin Hugo.Herbelin at inria.fr
Sun Nov 21 18:24:57 UTC 2010


Package: gnome-terminal
Version: 2.30.2-1
Severity: important
Tags: upstream

When changing keyboard layout in a gnome session, the first-level key
map (keys used without modifiers or with shift) is correctly updated
but not the other levels (keys used in conjunction with ctrl, alt, ...)

Here is a procedure to reproduce the bug:

- start a gnome session,
- start a gnome-terminal,
- type a few character at the terminal prompt,
- type ctrl-a in the terminal, it goes to the beginning of the line, as expected
- in the system preferences, keyboard, general, choose a different,
  keyboard layout than the one selected (typically switch from azerty to
  qwerty or from some azerty to some qwerty keyboard),
- type again a few characters at the terminal prompt: the "a" now 
  correctly writes "q" since key "a" is now bound to "q",
- but if one types ctrl-a in the terminal, it goes to the beginning of
  the line as if it were a true ctrl-a, while it should send a ctrl-q
  since "a" is now bound to "q".

This is problematic when one uses several keyboards with different
layout, and I guess it would also be problematic when switching from
regular layout to dvorak.

After the keyboard layout is switched, restarting gnome-terminal does
not fix the ctrl and alt maps. However, if one restarts the gnome
session, then the ctrl and alt maps get ok. So it might be related
also to the communication between gnome and gnome-terminal??

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf-8, LC_CTYPE=fr_FR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-terminal depends on:
ii  gnome-terminal-data          2.30.2-1    Data files for the GNOME terminal 
ii  libatk1.0-0                  1.30.0-1    The ATK accessibility toolkit
ii  libc6                        2.11.2-6    Embedded GNU C Library: Shared lib
ii  libdbus-glib-1-2             0.88-2      simple interprocess messaging syst
ii  libgconf2-4                  2.28.1-4    GNOME configuration database syste
ii  libglib2.0-0                 2.24.2-1    The GLib library of C routines
ii  libgtk2.0-0                  2.20.1-1+b1 The GTK+ graphical user interface 
ii  libice6                      2:1.0.6-1   X11 Inter-Client Exchange library
ii  libpango1.0-0                1.28.1-1    Layout and rendering of internatio
ii  libsm6                       2:1.1.1-1   X11 Session Management library
ii  libvte9                      1:0.24.3-1  Terminal emulator widget for GTK+ 
ii  libx11-6                     2:1.3.3-3   X11 client-side library

Versions of packages gnome-terminal recommends:
ii  gvfs                     1.6.3-1         userspace virtual filesystem - ser
ii  yelp                     2.30.1+webkit-1 Help browser for GNOME

gnome-terminal suggests no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list