Qt breaks dead keys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qt-x11-free (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: libqt3-mt
Dead keys are not working with Qt applications. This applies to both qt3 and qt4 based applications.
How to reproduce:
Use a keymap with dead keys, for example via
'setxkbmap -layout us -variant intl'
When pressing ' followed by o the result shoult now be a ó, when pressing " followed by space, the result should be a ", etc.
But in Qt apps (for example konsole) ' followed by o gives an o, ' followed by space results in a space. The dead keys are truly dead and can not be used to composite characters.
In KDE lineedit widgets, when I choose from the context-menu "Select Input Method" -> "Simple Composing Input Method" (the default is XIM), the dead keys are working as expected, but only inside KDE's lineedit widgets but not in other areas like for example konsole.
GTK+ based applications don't show this behaviour. There dead keys work as expected.
This is on current Edgy. It's a regression from Dapper, where dead keys were working out of the box.
Changed in qt-x11-free: | |
importance: | Untriaged → Medium |
I found a work-around in setting 'QT_IM_ MODULE= simple' , for example in /etc/environment. Then dead keys work in every qt3 (but not qt4) based application with the sole exeption that " followed by space gives an \ instead of ".
Regardless, in KDE's lineedit widgets the input method must be set to "Simple Composing Input Method", otherwise dead keys do not work in these widgets.