In System Settings preference tool/keyboard layouts page automaticaly wrong language selectedGNOME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center |
Unknown
|
Medium
|
|||
Baltix |
Fix Committed
|
Medium
|
Mantas Kriaučiūnas | ||
gnome-control-center (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Low
|
Unassigned | ||
Quantal |
Won't Fix
|
Low
|
Unassigned |
Bug Description
[Impact]
GNOME/Cinnamon users that use the "keyboard layout" preference pane, are presented with a list of languages in which none of them is selected. When moving to the next tab, the first in the list is selected, which causes the whole system to switch to Chinese/
[Test case]
In a GNOME session of a machine with some alphabetically lower than English language pack installed (e.g. language-pack-aa), open "System Settings", select the "Keyboard Layout" pane, then move to the next tab and back.
If the bug is present, the first language in the list will be selected. If it's not, the current language will be selected.
[Regression potential]
The fix consists of uncommenting a small piece of code that adds a new entry for the current language and marks it as selected. This means that the current language is duplicated, however, the current fix considers preferable to have a double entry for the current language than cause the user's session to be suddenly changed to Chinese.
-------
[Original description]
Dear Developers,
I using Ubuntu 12.04 with GNOME3 fallback session.
I found a bug with System settings preference tooll the Keyboard Layouts preference pane:
If launch System settings, choosing keyboard layouts preference pane, the first awailable page tab is the language page tab. When I moving the dialog with TAB and SHIFT+TAB key, the language tree table wrong language are default selected, not the current used language.
Reproducation steps, I verified with Ubuntu 12.04 daily live CD in GNOME3 fallback session:
1. Boot Ubuntu 12.04 daily live CD.
2. In the language list select a non english language.
3. Click try Ubuntu button.
4. Enable the universe and multiverse repositoryes, and install gnome-session-
5. Log out, and log in with Gnome Classic (no effects) session.
6. Launch System settings application.
7. Click keyboard layouts.
8. Press two TAB key, and you will be see the default selected language is not equals your prewious selected language.
9. For example jump the keyboard layouts page with CTRL+ALT+PAGEUP key combination without you correct the wrong selected language.
10. Click All settings button without you change the automated selected language. Log out, and log in again. Your system language will be changing.
In Unity and Unity 2d this problem not happening, because in Keyboard Layout preference tool the language page tab are disabled.
I sending six screenshot with showing this problem real happening. First screen shot shoving original language output (hungarian), other screen shots shoving the language changed with English the next login. Installed Ubuntu 12.04 system I reproduced this issue.
Attila
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-control-
ProcVersionSign
Uname: Linux 3.2.0-29-
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
Date: Fri Aug 10 10:29:31 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120327)
SourcePackage: gnome-control-
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_
activity-
deja-dup 22.0-0ubuntu2
gnome-bluetooth 3.2.2-0ubuntu5
indicator-datetime 0.3.94-0ubuntu2
Changed in gnome-control-center (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in gnome-control-center: | |
importance: | Unknown → Medium |
status: | Unknown → Incomplete |
Changed in baltix: | |
status: | Invalid → Triaged |
importance: | Undecided → Medium |
status: | Triaged → In Progress |
assignee: | nobody → Mantas Kriaučiūnas (mantas) |
Changed in gnome-control-center (Ubuntu Quantal): | |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in gnome-control-center: | |
status: | Incomplete → Unknown |
Changed in gnome-control-center (Ubuntu): | |
assignee: | Gunnar Hjalmarsson (gunnarhj) → nobody |
description: | updated |
Changed in baltix: | |
status: | In Progress → Fix Committed |
importance: | High → Medium |
An interesting test result for officialy Ubuntu 12.04 hungarian language fallback package, logout and log in with GNOME Classict No zh_CN:hu: en
localized CD image:
This CD image containing only hungarian language related language
packages and language support related packages.
If I enable universe and multiverse repositoryes, installed
gnome-session-
effects session, I experienced following:
If I launch system settings application, choose keyboard layout
preference tool, navigate TAB key the language list table, the selected
language is Chinese. I don't no keyboard layout preference tool how can
detect chinese language, because chinese related language packs are of
course not installed the hungarian 12.04 CD image.
After I activated the all settings button, log out and login back the
GNOME Classic No effects session, language related environments values
is following:
LANG=zh_CN.UTF-8
LANGUAGE=
This buggy language related setting change resulted a mixed
chinese/hungarian language desktop. For example, in the live system
desktop icon names changed with chinese names, but GNOME application
menu elements are keeped the hungarian menu translations.
This problem happening only when I using keyboard navigation the
keyboard layout preference pane. Unfortunately visualy impaired screen
reader users need using the keyboard navigation to navigate all dialogs.
Before users not land the language list table in keyboard layouts
preference pane unable to switch the layouts page tab with
CTRL+ALT+PAGEUP or CTRL+ALT+PAGEDOWN key combinations. If I click direct
with layouts page with Orca Screen Reader left click flat review command
(this is equals with left mouse button click with layouts page tab), the
problem doesn't happening.
If not have better fix alternative, please disable the language and
formats related page tabs in GNOME Fallback sessions, similar with Unity
and Unity 2d shells.
Attila