Michael Schmitt:

>> > 2. In math mode, it is not possible to use keys "_" and "^" for
>> > subscript/superscript. I understand that "^" may be a special case but
>> > why does "_" not work???
>>
>> lyx -dbg key


...
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
Press key 189 text "_", ascii "95"
               ^^^
This should also be a "95", see qnamespace.h:

        Key_Underscore = 0x5f,

aka 95.
Looks as if your Qt gives you the red dripping Windows keycode instead.

Setting key to 189, _
KeySym is onehalf

Key_onehalf = 0x0bd,

aka 189.

So you get inconsistent QKeyEvents. From a glance the LyX code looks correct,
so we should find a way to fix Qt first.
Do you have the source, eg. qapplication_win.cpp ?


Ciao
/Andreas



Reply via email to