I have fixedthe problem with check off Fcitx in Startup Applications.
OR
playing with Fcitx configuration AND set Text Entry --->Use same source for all windows
I have ubuntu 14.04 -64bit. I've got the same problem. keyboard layout switches after go to another application windows and come back OR when press some key Alt Shift.... at first sight randomly.
I have fixedthe problem with check off Fcitx in Startup Applications.
OR
playing with Fcitx configuration AND set Text Entry --->Use same source for all windows
I have ubuntu 14.04 -64bit. I've got the same problem. keyboard layout switches after go to another application windows and come back OR when press some key Alt Shift.... at first sight randomly.