Bug 194821 - Kolourpaint could not launch CJK input methods when typing text
Summary: Kolourpaint could not launch CJK input methods when typing text
Status: RESOLVED FIXED
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Unspecified
: NOR normal
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
: 281145 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-01 07:35 UTC by Franklin Weng
Modified: 2011-09-01 07:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
proposed patch (32.15 KB, patch)
2010-10-31 19:45 UTC, Tasuku Suzuki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franklin Weng 2009-06-01 07:35:35 UTC
Version:            (using KDE 4.2.2)
Installed from:    Mandriva RPMs

In kolourpaint, I created a text block to input texts.  However, inside the input texts I could not launch my input method (gcin).  It looked like kolourpaint hijacked my ctrl keypress (to launch input method we need to press ctrl-space or ctrl-shift).  Even if I launched my input method some other way, I could not type Chinese, since every key I typed became an English character in the box.  I think that my typing was never passed to my input method program.
Comment 1 Tasuku Suzuki 2010-10-31 19:45:49 UTC
Created attachment 53022 [details]
proposed patch
Comment 2 Martin Koller 2011-02-09 23:09:57 UTC
SVN commit 1219639 by mkoller:

Reenable input method support thanks to a patch by Tasuku Suzuki

BUG: 194821
BUG: 221493


 M  +2 -0      AUTHORS  
 M  +2 -0      CMakeLists.txt  
 M  +1 -0      COPYING  
 M  +1 -4      kolourpaint.cpp  
 M  +4 -0      kpViewScrollableContainer.cpp  
 A             layers/selections/text/kpPreeditText.cpp   [License: BSD]
 A             layers/selections/text/kpPreeditText.h   [License: BSD]
 M  +12 -0     layers/selections/text/kpTextSelection.cpp  
 M  +10 -2     layers/selections/text/kpTextSelection.h  
 M  +2 -1      layers/selections/text/kpTextSelectionPrivate.h  
 M  +15 -3     layers/selections/text/kpTextSelection_Cursor.cpp  
 M  +99 -5     layers/selections/text/kpTextSelection_Paint.cpp  
 M  +1 -2      tools/kpTool.h  
 M  +2 -6      tools/selection/text/kpToolText.cpp  
 M  +1 -2      tools/selection/text/kpToolText.h  
 M  +0 -8      tools/selection/text/kpToolTextPrivate.h  
 M  +26 -139   tools/selection/text/kpToolText_InputMethodEvents.cpp  
 M  +8 -2      tools/selection/text/kpToolText_KeyboardEvents_HandleTypingKeys.cpp  
 M  +49 -32    views/kpView.cpp  
 M  +2 -9      views/kpView.h  
 M  +14 -36    views/kpView_Events.cpp  
 M  +17 -3     views/manager/kpViewManager.cpp  
 M  +3 -2      views/manager/kpViewManager.h  
 M  +6 -0      views/manager/kpViewManagerPrivate.h  
 M  +8 -28     views/manager/kpViewManager_TextCursor.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1219639
Comment 3 Franklin Weng 2011-02-10 04:17:02 UTC
Thanks, will this patch applied to KDE 4.7 only, or will backport to 4.6?
Comment 4 Martin Koller 2011-09-01 07:50:10 UTC
*** Bug 281145 has been marked as a duplicate of this bug. ***