Keyboard layout switcher ignores settings

Bug #1083489 reported by Fake51
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In Keyboard Layout settings, you can choose "Allow different layouts for individual windows". This used to work just fine (in 12.04 and before) but recently in 12.10 a change has been introduced that makes the keyboard layout switcher (using a hotkey) ignore this setting.

In effect, when I use my hotkey to switch keyboard layouts, the layout is switched not just for the active application but all applications at once. I typically see this when I am in an application like Thunderbird and switch to another keyboard layout to compose a message, then switch to a console (that was already open) where I suddenly input in a different language than when the console opened.

What I expect to happen:
the keyboard layout switcher only affects the currently enabled window

What happened instead:
more windows had their keyboard layout effected, not just the active window

lsb_release -rd:
Description: Ubuntu 12.10
Release: 12.10

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: keyboard-configuration 1.70ubuntu6
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
Date: Tue Nov 27 10:18:33 2012
InstallationDate: Installed on 2012-08-22 (96 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: console-setup
UpgradeStatus: Upgraded to quantal on 2012-10-22 (36 days ago)

Revision history for this message
Fake51 (peter-e-lind) wrote :
Revision history for this message
Fake51 (peter-e-lind) wrote :

I can narrow this down more actually - it doesn't happen for everything, seemingly only on some windows.

I can reproduce it with new windows with text areas where nothing has been entered - so opening a compose window in thunderbird, or a blank page in gedit, then switching keyboard layout using the keyboard combination, will trigger the bug.

In other words it seems as if the keyboard switcher gets confounded by new windows, and instead of switching keyboard layout for just that window, it does it overall.

Also, the keyboard layout indicator fails to update - which makes me think this bug is related to, if not a double of, https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/948763

Revision history for this message
Fake51 (peter-e-lind) wrote :

Interestingly, if after I switch keyboard layout the first time in a new window, I then switch again until I hit the "right" keyboard layout (i.e. making a full round), then the switch does not carry over to other windows, but is working as it should (meaning: I'm only switching layout for that single window).

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in console-setup (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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