Public bug reported:

Since I upgrade GNOME Shell from 3.4 to 3.6, the keyboard indicator is blank
and doesn't display the codename for the active keyboard layout.

I have enabled english & arabic keyboard layouts. I have the following
settings:

$ gsettings list-recursively org.gnome.desktop.input-sources
org.gnome.desktop.input-sources current uint32 0
org.gnome.desktop.input-sources show-all-sources true
org.gnome.desktop.input-sources sources [('xkb', 'xkb_layout')]
org.gnome.desktop.input-sources xkb-options @as []

I checked the code in /usr/share/gnome-shell/js/ui/status/keyboard.js, and I
reached the '_inputSourcesChanged' method in 'InputSourceIndicator' class, the
program does run the following code:


            let [type, id] = sources.get_child_value(i).deep_unpack();

            if (type == INPUT_SOURCE_TYPE_XKB) {
                [info.exists, info.displayName, info.shortName, , ] =
                    this._xkbInfo.get_layout_info(id);

I checked the 'id' variable, and its value was 'xkb_layout' (as per the
settings).
Yet the output of the last statement { this._xkbInfo.get_layout_info(id) } is

[ false, null, null, , ]

Can anyone help with this issue ? I'm not sure if its a bug in GNOME Shell, or
something wrong with my system or settings.

Note: This issue has been in Ubuntu precise & it is still happening in
raring, that I am running right now

** Affects: gnome-shell
     Importance: Unknown
         Status: Unknown

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New

** Bug watch added: GNOME Bug Tracker #695723
   https://bugzilla.gnome.org/show_bug.cgi?id=695723

** Also affects: gnome-shell via
   https://bugzilla.gnome.org/show_bug.cgi?id=695723
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1154486

Title:
  Keyboard layout doesn't show in GNOME Shell session (again)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1154486/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to