https://qa.mandrakesoft.com/show_bug.cgi?id=1097





------- Additional Comments From [EMAIL PROTECTED]  2003-02-04 03:58 -------
I'm having problems with this here too (I came to report this tonight and ran across 
this 
one already here!). Applying the suggested patch would be appreciated. 



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
description: 
During an editing session in Japanese, one enters a word using English
characters, and then hits keyboard shortcuts for kinput2 to convert the English
characters into Japanese characters.
However, the underlying Qt programs always grab the keyboard shortcuts as if
they were meant for them instead of first giving kinput2 a chance to process them. 
Trolltech has been made aware of the issue and have accepted the patch below to
solve the problem. 
http://marc.theaimsgroup.com/?l=mandrake-cooker&m=104046144228240&w=2

Unfortunately the patch is not included in 3.1.1 so we need to apply it 
to the mdk version of qt-3.1.1.

I tested the patch myself, recompiled and installed the Qt src rpm and can
verify that it solves the problem in question. Please apply.


diff -ur qt-x11-free-3.1.1.orig/src/kernel/qapplication_x11.cpp
qt-x11-free-3.1.1/src/kernel/qapplication_x11.cpp
--- qt-x11-free-3.1.1.orig/src/kernel/qapplication_x11.cpp      Mon Dec  9
18:40:39 2002
+++ qt-x11-free-3.1.1/src/kernel/qapplication_x11.cpp   Mon Dec 23 13:31:59 2002
@@ -3054,9 +3054,6 @@
        break;
     }
 
-    if ( qt_x11EventFilter(event) )            // send through app filter
-       return 1;
-
     QETWidget *widget = (QETWidget*)QWidget::find( (WId)event->xany.window );
 
     if ( wPRmapper ) {                         // just did a widget reparent?
@@ -3173,6 +3170,9 @@
        return 1;
     }
 
+    if ( qt_x11EventFilter(event) )            // send through app filter
+       return 1;
+
     if ( event->type == MappingNotify ) {      // keyboard mapping changed
        XRefreshKeyboardMapping( &event->xmapping );
        return 0;

Reply via email to