It seems this was the same bug as here: https://youtrack.jetbrains.com/issue/IDEA-78860 Since I upgraded ibus to 1.5.11-1 (from stretch) the problem never reappeared. libreoffice 5.x (from stretch) seems not affected regardless of ibus version. Best Regards, Michał Mirosław