-----BEGIN PGP SIGNED MESSAGE-----

On Mittwoch, 18. Dezember 2002 04:05, John Levon wrote:
> On Tue, Dec 17, 2002 at 11:38:06PM +0100, Kornel Benko wrote:
> > > 1. Update to current CVS and build. Do not patch lyx yourself at all
> > > please.
> >
> > done.
>
> Please try removing these lines altogether :
>
>      76         if (sym.empty()) {
>      77                 lyxerr[Debug::KEY] << "sym empty in
> getSymbolName()" << endl; 78                 if (!text_.isEmpty())
>      79                         sym = fromqstr(text_);
>      80         }
>
> in the clean CVS.

done

> Thi is the problem, I think. We're returning some text, and our bad
> operator== is hitting  the first Key_Unknown it finds.
>
> If that doesn't work, try returning @NONE@ when sym.empty() instead.

it does not help.

> I'd like -dbg key with the above change, again, please.

Press key 65535 text "none", ascii "0"
keyevent has isNull() text !
KeySym is getSymbolName() ->

isOK is 0
Empty kbd action (probably composing)
repainting 54,21 1,21
repainting 54,21 1,21
Press key 65535 text "ç", ascii "231"
Setting key to 65535, ç
KeySym is getSymbolName() ->

isOK is 1
isMod is 0
action first set to [433]
action now set to [433]
Key [action=433][getSymbolName() ->
]
Found the pseudoaction: [88|€]
LyXFunc::dispatch: action[88] arg[€]
repainting 54,21 1,21
BufferView::Pimpl::Dispatch: action[88] arg[€] x[138406096] y[139398657] 
button[-1073749472]
LyXFunc::dispatch: action[88] arg[€]
Checking if we know [€]
   no we don't know [€]
Cannot decode: €
..............

returning @none@, the only difference is:
        ...
        action first set to [433]
        action now set to [433]
        Key [action=433][@NONE@]
        Found the pseudoaction: [88|€]
        LyXFunc::dispatch: action[88] arg[€]
        ...
but same behaviour.

> btw, I can insert ccedilla just fine regardless ...

:)

        Kornel

- -- 
Kornel Benko
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBPgBI37ewfbDGmeqhAQHuwgQA2nQIeAW1GHI6/kFOZACBveaA/n+Z7GOq
JNRI/JS/xQFQYKKScgZhafQkzy+pgpnbK/ljFy0xGPSsHT5zC1c6MiPyhRMEhDoA
Z51YPzxhWT2OYP6WnSv8x5+kMuFWX3x1N9oLUNyMSP9KnyNiaat4mg52A4EJNZFA
ho2dpA2nd0Y=
=CSzt
-----END PGP SIGNATURE-----

Reply via email to