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

           Product: libqt3
         Component: libqt3
           Summary: Japanese IME (kinput2) can't grab ctrl- keystrokes
           Version: 3.1.1-6mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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;



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

Reply via email to