Comment 100 for bug 1240198

Revision history for this message
Michel Kleidt (kleidt) wrote :

Perhaps I can add some clues which hopefully will help to solve this problem:

1) Restart of ibus change the keyboard layout always to US, while the indicator still shows the configured layout.
- Configure a non US layout like German [DE].
- The Keyboard indicator shows the correct "De"
- The Keyboard has the correct German layout (QWERTZ)
- Open a terminal and type in "ibus restart"
- The Keyboard indicator still shows "De"
- But the Keyboard has now US layout (QWERTY)
Shouldn't the ibus restart preserve the keyboard layout?

2) Since the last major release ibus has a new command line option: "--restart" or "-R". This option is missing in the current man page (I use Ubuntu 15.10), but if you run "ibus-daemon -h" you get:
-R, --restart restart panel and config processes when they die.

3) I didn't find out where and how idbus-daemon is actually started, but assuming
- the daemon is started with restarting option
- the daemon dies during startup and automatically restarts
- that the automatic restart also change silently the keyboard layout
In this case we would have US layout after startup, but the indicator will show the configured keyboard layout.