Dear Gubinelli,
Change the follow line inQTMWidget::inputMethodEvent
    imwidget->setWindowFlags(Qt::Tool|Qt::FramelessWindowHint);
to
#ifdef Q_WS_X11
    imwidget->setAutoFillBackground(true);
#else
    imwidget->setWindowFlags(Qt::Tool|Qt::FramelessWindowHint);
#endif

Would fix this problem on Linux.

Best wishes.

On 2010-09-18 09:31:10,"Zou Hu" wrote:
I press Ctrl-space to activate default Chinese "Pinyin" input method in Ubuntu, 
and press any key such as 'a', then the preedit text label shows , but quickly 
this text label disappear with no any character inputed to texmacs. If I press 
another key such as 'b', the same thing appears as before and seems the last 
key 'a' I pressed is totally lost. Therefore, the result is that I could not 
input any Chinese character to texmacs. It's OK before revision 3151.


By the way, ctrl-space in Linux and Windows is the default shortcut to activate 
input method (in MacOS is cmd-space), But texmacs uses it as shortcut to 
enlarge selection. I think It would be better to change the shortcut for 
"enlarge selection".

Best.
On 2010-09-18 06:08:01,Gubinelli Massimiliano wrote:
Dear Zou,


On 17 sept. 2010, at 07:28, Zou Hu wrote:

Dear Massimiliano,
There are still some problems with respect to input method support.


1. With revision 3151, preedit strings are shown near current cursor position. 
But this revision broke input method under Linux (I tested it under Ubuntu 
Linux 10.04). It's OK before this revision.




Could you give me some details? In which sense the im is broken?

_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to