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





------- Additional Comments From [EMAIL PROTECTED]  2003-02-08 05:40 -------
On Friday 07 February 2003 09:52, [Bug 1097] wrote:

I did a fresh cooker install tonight which included
libqt3-3.1.1-9mdk
libqt3-common-3.1.1-9mdk
and the bug is definately still there. Please apply the patch!
The Japanese KDE user's group has finally updated their website, and you can 
see this same patch there as well:
http://www.kde.gr.jp/patch/
as: qt-x11-free-3.1.1-fix-callPosition-XFilterEvent-20021223.diff

After all, I got the patch from their mailing lists...

Narfi.




------- 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]
status: UNCONFIRMED
creation_date: 
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