Downtown Doug Brown Wiki

Thoughts from a combined Apple/Linux/Windows geek

User Tools

Site Tools


ubuntu:qt_text_editor_widgets_jump_to_text_cursor_when_losing_focus

Qt text editor widgets jump to text cursor when losing focus

I've run into a problem that is extremely annoying and always happens to me when I'm using Qt Creator. If I have scrolled away from the text cursor, then click into another widget, the widget I clicked out of scrolls back to the text cursor. This causes a lot of problems for me. It makes me forget what I'm working on.

It turns out this is not a bug specific to Qt Creator. It affects every program with a QTextEdit widget, and who knows what else?

There is a bug report describing the problem which I have contributed to. I discovered the problem lies in Qt 5's ibus input context plugin (libibusplatforminputcontextplugin.so). You can remove that plugin from your Qt plugins directory to make the problem go away at the expense of being unable to type special characters like Unicode with control-shift-U.

For now I'm just writing this here so I don't forget it or for anyone else's reference. Hopefully the bug will be fixed soon.

ubuntu/qt_text_editor_widgets_jump_to_text_cursor_when_losing_focus.txt · Last modified: 2017/03/16 14:03 by doug