-----BEGIN PGP SIGNED MESSAGE----- On Sunday 13 October 2002 18:19, John Levon wrote: > On Sun, Oct 13, 2002 at 06:16:17PM +0100, John Levon wrote: > > Can you find out what Qt::Key_blah type gets generated by pressing it ? > > Or can you try changing > > if (sym.empty()) { > lyxerr[Debug::KEY] << "sym empty in getSymbolName()" << > endl; sym = text_.latin1(); > } > > to do sym = "none"; or something instead ?
No crash now, but no "ä" inserted either. This is the log now: repainting 118,472 1,20 Press key 4128 text "none", ascii "0" getSymbolName() -> Shift_L KeySym is Shift_L repainting 118,472 1,20 repainting 118,472 1,20 Press key 0 text "ä", ascii "228" sym empty in getSymbolName() getSymbolName() -> none KeySym is none Empty kbd action (probably composing) Modify+':' == dead_diaeresis on my keyboard. This is the key-sequence which should lead to "ä": KeyPress event, serial 27, synthetic NO, window 0x3200001, root 0x36, subw 0x0, time 3737891775, (146,99), root:(150,119), state 0x10, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 27, synthetic NO, window 0x3200001, root 0x36, subw 0x0, time 3737892362, (146,99), root:(150,119), state 0x2010, keycode 47 (keysym 0xfe57, dead_diaeresis), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 27, synthetic NO, window 0x3200001, root 0x36, subw 0x0, time 3737892449, (146,99), root:(150,119), state 0x2010, keycode 47 (keysym 0xfe57, dead_diaeresis), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 27, synthetic NO, window 0x3200001, root 0x36, subw 0x0, time 3737892470, (146,99), root:(150,119), state 0x2010, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 27, synthetic NO, window 0x3200001, root 0x36, subw 0x0, time 3737908220, (146,99), root:(150,119), state 0x10, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 characters: "a" KeyRelease event, serial 27, synthetic NO, window 0x3200001, root 0x36, subw 0x0, time 3737908290, (146,99), root:(150,119), state 0x10, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 characters: "a" Kornel - -- Kornel Benko [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQCVAwUBPamtq7ewfbDGmeqhAQGZGAP+IL3UQ38tAIrtEo4jN3fkpLG9MTx3iS6r HU6YAnQrfEgmjKAoqMe+03B5Ma5Q2bRTVB8iD0LFMbjWGOY2754RFyEP0KKZrHS6 AswHwlDR9CKLaGwA2KjToeOuZWJ13rYzxt8ZTcg5IziPmF296eznKWCgj3ADxHPK amsxWPJEKso= =UhoD -----END PGP SIGNATURE-----