keyboard layout do not switch to default layout

Bug #481169 reported by sKwa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-applets (Ubuntu)
Fix Committed
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-applets

Karmic 64bit
box "separate layout for each window" - checked
default layout - USA

When I start a new application keyboard do not switch to default layout

Revision history for this message
sKwa (setarckos) wrote :

I checked which value is for the key - /desktop/gnome/peripherals/keyboard/general/defaultGroup
When there 3 layouts, so for USA value is "0"
When there 2 layouts so for USA value is "-1"
When I'm trying to set value 0 for 2 layouts so first two times application starts with right default layout, but on the third time not - depends in your current layout :(

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

 * Is this reproducible?
 * If so, what specific steps should we take to recreate this bug?

 This will help us to find and resolve the problem.

Changed in gnome-applets (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
sKwa (setarckos) wrote :

>> * Is this reproducible?
>> * If so, what specific steps should we take to recreate this bug?
Really? I don't know. I installed Karmic on three machines - for me and for two my friends and for all of them there was the same problem with switching keyboard layout. Also I asked other users in forum ubuntology.ru, for some of them was the same problem, for others was another problem - some times keyboard did not switch layout by keys sequences, only after switching with mouse switch start work properly for some time until problem do not return.
Yesterday I did fresh install. When I did installation I didn't choose any additional layout - only en(USA) language for interface and keyboard layout (all options by default except partitioning and location). After that I did update&upgrade, and only after that I added support of russian language for GUI and keyboard layout. After that I checked layouts switching and... as you see I decided to report a bug. Just try to add some language (russian for example :)) choose en(usa) as default layout, open some application (doesn't meter which app, for example gedit) switch to russian and open few times another application (for example gnome-terminal). Every time as you open gnome-terminal layout should switch to default language (USA), but it's not always happens :(
I don't sure, I think that another problem already was reported - when runs authorization dialog window (like gksu) so layout doesnt switch to default if you work with another layout. For example, in gksu will be russian layout and not usa. It will be nice when authorization required the layout will be english only, because no one can choose password on another layout.

Sorry for my english, if it impossible to understand tell me I will find some english speaker that will translate because this problem is very preventing me because I have to work with 4 languages and do not always pay attention to layout and not for all that languages I am typing with blind method

Revision history for this message
sKwa (setarckos) wrote :

Forgot to say, this problem exist in LiveCD too so to reproduce it isn't so hard, just add layout, check the box "separate layout for each window", choose EN/USA as default layout, switch to other layout and try to open few times some application and I sure (for 99%) you will reproduce the problem.

Revision history for this message
sKwa (setarckos) wrote :

I did dist-upgrade from Jaunty to Karmic and bug do not appear.

Revision history for this message
sKwa (setarckos) wrote :

I solved the problem on fresh installation of Karmic.
I removed and added all my layouts from -- /desktop/gnome/peripherals/keyboard/kbd/layouts
and set value 0 for /desktop/gnome/peripherals/keyboard/general/defaultGroup [0 = the first layout in the list].
I checked on two machines - it's works :)

Changed in gnome-applets (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
JC Hulce (soaringsky) wrote :

This bug has been marked as Fix Committed for over a year. If the fix has made it into Ubuntu, please mark this bug as Fix Released. If the fix has been released upstream, but not Ubuntu, create a new bug asking for the new version and tag it with upgrade-software-version. If this bug stays inactive for a long period, it may be expired.

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.