Qt breaks dead keys

Bug #56794 reported by Andreas Simon
4
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.

Revision history for this message
Andreas Simon (andreas-w-simon) wrote :

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.

Changed in qt-x11-free:
importance: Untriaged → Medium
Revision history for this message
Anthony Mercatante (tonio) wrote :

The problem was due to the arabic fonts patch.
I just merged with latest debian package, which contains a better patch avoiding this issue.
The package is now uploaded.

Changed in qt-x11-free:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.