elementary / wingpanel-indicator-keyboard

Wingpanel Keyboard Indicator
GNU General Public License v3.0
10 stars 7 forks source link

NumLock indicator : empty label #85

Closed andirsun closed 3 years ago

andirsun commented 4 years ago

What Happened

I just install elementary os 6.0 and set my 2 lenguage keyboard layout (English and spanish) Then I noticed that numlock indicator has an empty label (when suppose to be a keyboard layout)

Screenshot from 2020-11-27 17 10 48

Expected Behavior

Show both of my keyboard layouts

Steps to Reproduce

1.Install eos6.0 daily (27 Nov build) 2.add 2 keyboard layouts 3.see the empty label

Logs

Platform Information

andirsun commented 4 years ago

This is the keyboard layout Screenshot from 2020-11-27 17-16-14

jeremypw commented 4 years ago

May be related to #80. Can you post the value of the setting org.gnome.desktop.input-sources.sources ? You can get this with the terminal command gsettings get org.gnome.desktop.input-sources sources or by using the dconf-editor app.

andirsun commented 4 years ago

May be related to #80. Can you post the value of the setting org.gnome.desktop.input-sources.sources ? You can get this with the terminal command gsettings get org.gnome.desktop.input-sources sources or by using the dconf-editor app.

Sure!,

org.gnome.desktop.input-sources sources [('ibus', 'us'), ('ibus', 'latam')]
jeremypw commented 4 years ago

This would explain the problem - somehow you have ibus sources rather than xkb layouts. There is a bug in the switchboard keyboard plug causing this under some circumstances. Wingpanel indicator does not currently recognise ibus sources. Do you have any input methods set up in the next tab? I am working on some PRs to make the wingpanel indicator work with ibus sources as well as xkb layouts. Till then, a workaround is to edit the gsetting replacing "ibus" with "xkb" (or remove and readd all the layouts). Hopefully https://github.com/elementary/switchboard-plug-keyboard/pull/338 will prevent the sources getting unintentionally messed up.

andirsun commented 3 years ago

This bug is related with #80, I think must be close it.