See 0f11650 (previous commit). Focus-out will cancels pre-edit

The weird thing is that in #qt4, when focus is lost, the pre-edit window
will be destroyed (and committed), while on #qt5, pre-edit window is still
working and accepting new keys when focus is back.