texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] patch: make input methods work in Qt-TeXmacs


From: Gubinelli Massimiliano
Subject: Re: [Texmacs-dev] patch: make input methods work in Qt-TeXmacs
Date: Fri, 22 Oct 2010 16:57:54 +0200

I've implemented a slightly different change. Moreover in current svn the input method preview mechanism is changed (to reactivate the old one you have to manually change an ifdef in the source code of QTMWidget.cpp).

Thanks

Best
Massimiliano Gubinelli

On 22 oct. 2010, at 11:11, Zou Hu wrote:

Dear Gubinelli,
Change the follow line in QTMWidget::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
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev


reply via email to

[Prev in Thread] Current Thread [Next in Thread]