[immodule-qt] Re: [SCIM] scim-qtimm 0.7 released

Daisuke Kameda kaminmat at cc.rim.or.jp
Sun Sep 5 17:27:35 EEST 2004


On Sunday 05 September 2004 06:17, LiuCougar wrote:
> This is due to the fact that the IMEnd event in qt-immodule is posted
> to be processed later. However, in the Vietnamese m17n-vi-viqr input
> method, after pressing "s", the first "d" is committed and the "s" is
> forwarded to qt. Because the commit of "d" is scheduled while the
> forward of "s" takes effect immediately, we get "sd", rather than "ds"
> as expected
> .
> I changed one function in kernel/qapplication_x11.cpp to overcome this
> issue:
>
> void QApplication::postIMEvent( QObject *receiver, QIMEvent *event )
> {
>     if( event->type() == QEvent::IMCompose )
>         postEvent( receiver, event );
>     else {
>         sendEvent( receiver, event );
>         delete event;
>     }
> }
>
> (With this modification, the input "To^i te^n la` Dda vi.t." will
> generate the correctly output.)

This change is good. And, I also think there is no other solution
about this problem.


-- 
Daisuke Kameda <kaminmat at cc.rim.or.jp>




More information about the immodule-qt mailing list