[Gllug] Nasty characters creeping in on xorg desktop

john at sinodun.org.uk john at sinodun.org.uk
Fri May 19 12:36:05 UTC 2006


> On 5/19/06, john at sinodun.org.uk <john at sinodun.org.uk> wrote:
>
>> Anyone know why it´s doing it and what I can do to cure it?
>
> Looks to me more like a problem with squirrelmail and/or your browser
> than with X. Or do you get the same problem in an xterm?

Yes, precisely the same occurs in every X application.  Even OpenOffice.org

> What does xev tell you?

If I run xev and press the apostrophe key once I get:

KeyPress event, serial 26, synthetic NO, window 0x2a00001,
    root 0x4c, subw 0x2a00002, time 19548394, (48,57), root:(720,112),
    state 0x0, keycode 48 (keysym 0xfe51, dead_acute), same_screen YES,
    XLookupString gives 2 bytes: (c2 b4) "\xc2\xb4"
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: True

KeyRelease event, serial 29, synthetic NO, window 0x2a00001,
    root 0x4c, subw 0x2a00002, time 19548458, (48,57), root:(720,112),
    state 0x0, keycode 48 (keysym 0xfe51, dead_acute), same_screen YES,
    XLookupString gives 2 bytes: (c2 b4) "\xc2\xb4"



whilst if I run it again and this time press the apostrophe key twice I get:


KeyPress event, serial 26, synthetic NO, window 0x2a00001,
    root 0x4c, subw 0x2a00002, time 19605164, (17,65), root:(689,120),
    state 0x0, keycode 48 (keysym 0xfe51, dead_acute), same_screen YES,
    XLookupString gives 2 bytes: (c2 b4) "\xc2\xb4"
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: True

KeyRelease event, serial 29, synthetic NO, window 0x2a00001,
    root 0x4c, subw 0x2a00002, time 19605236, (17,65), root:(689,120),
    state 0x0, keycode 48 (keysym 0xfe51, dead_acute), same_screen YES,
    XLookupString gives 2 bytes: (c2 b4) "\xc2\xb4"

KeyPress event, serial 29, synthetic NO, window 0x2a00001,
    root 0x4c, subw 0x2a00002, time 19605380, (17,65), root:(689,120),
    state 0x0, keycode 48 (keysym 0xfe51, dead_acute), same_screen YES,
    XLookupString gives 2 bytes: (c2 b4) "\xc2\xb4"
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: True

KeyPress event, serial 29, synthetic NO, window 0x2a00001,
    root 0x4c, subw 0x2a00002, time 19605380, (17,65), root:(689,120),
    state 0x0, keycode 0 (keysym 0xb4, acute), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 2 bytes: (c2 b4) "\xc2\xb4"
    XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x2a00001,
    root 0x4c, subw 0x2a00002, time 19605444, (17,65), root:(689,120),
    state 0x0, keycode 48 (keysym 0xfe51, dead_acute), same_screen YES,
    XLookupString gives 2 bytes: (c2 b4) "\xc2\xb4"


It is noticeable that one press seems to produce 2 events, whilst 2
presses produce 5 events.  Odd or what?

John

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list