Before i commented the code below ,
my typing had been consistently interrupted by a pop-up-window or something like that .
Those windows quickly take focus and quickly disappear to take our attention , however , our key focuses are never returned .
modules/FrontEnd/scim_x11_frontend.cpp , int X11FrontEnd::ims_destroy_ic_handler (XIMS ims, IMDestroyICStruct *call_data)
/*if (is_focused_ic (ic))
m_focus_ic = 0;
m_focus_ic = old_focus;