[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#347377: qt-x11-free and immodule patch



Package: qt-x11-free

Version: 3:3.3.5-3

Hi,

please include the immodule patch from http://www.freedesktop.org/wiki/Software_2fimmodule_2dqt

this patch has a problem with the KeyRelease event, so I fixed this for ubuntu/kubuntu in the latest qt upload.

The patch which fixed this problem is:

--- src/kernel/qapplication_x11.cpp.sav 2005-06-15 15:43:02.000000000 +0200

+++ src/kernel/qapplication_x11.cpp 2005-06-15 16:26:36.000000000 +0200

@@ -5209,11 +5209,12 @@ bool QETWidget::translateKeyEventInterna

} else {

key = (int)(long)keyDict->find( keycode );

if ( key )

- if( !willRepeat ) // Take out key of dictionary only if this call.

+ if( !willRepeat && statefulTranslation ) // Take out key of dictionary only if this call.

keyDict->take( keycode );

long s = (long)textDict->find( keycode );

if ( s ) {

- textDict->take( keycode );

+ if( statefulTranslation )

+ textDict->take( keycode );

ascii = (char)(s-256);

}

}

and was provided by Lubos Lunak (http://lists.freedesktop.org/archives/immodule-qt/2005-June/000732.html)

Regards,

\sh

Attachment: pgpj3xiBrYGGt.pgp
Description: PGP signature


Reply to: