njsmith / partiwm

[defunct] Experiments with window managers in Python + GTK+, including the original version of xpra
GNU General Public License v2.0
23 stars 3 forks source link

Some german keys: "?" and "ß" mismatched #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start xev in xpra
2. Press the "ß" key (right to "0") on a German keyboard, with and without 
Shift
3. Do the same without xpra

What is the expected output?

KeyPress event, serial 35, synthetic NO, window 0xa800001,
    root 0xc7, subw 0x0, time 2074147676, (141,81), root:(143,666),
    state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0xa800001,
    root 0xc7, subw 0x0, time 2074148073, (141,81), root:(143,666),
    state 0x1, keycode 20 (keysym 0x3f, question), same_screen YES,
    XLookupString gives 1 bytes: (3f) "?"
    XmbLookupString gives 1 bytes: (3f) "?"
    XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0xa800001,
    root 0xc7, subw 0x0, time 2074148130, (141,81), root:(143,666),
    state 0x1, keycode 20 (keysym 0x3f, question), same_screen YES,
    XLookupString gives 1 bytes: (3f) "?"
    XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0xa800001,
    root 0xc7, subw 0x0, time 2074148236, (141,81), root:(143,666),
    state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0xa800001,
    root 0xc7, subw 0x0, time 2074152577, (142,80), root:(144,665),
    state 0x0, keycode 20 (keysym 0xdf, ssharp), same_screen YES,
    XLookupString gives 2 bytes: (c3 9f) "ß"
    XmbLookupString gives 2 bytes: (c3 9f) "ß"
    XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0xa800001,
    root 0xc7, subw 0x0, time 2074152638, (142,80), root:(144,665),
    state 0x0, keycode 20 (keysym 0xdf, ssharp), same_screen YES,
    XLookupString gives 2 bytes: (c3 9f) "ß"
    XFilterEvent returns: False

What do you see instead?

KeyPress event, serial 27, synthetic NO, window 0xc00001,
    root 0xfd, subw 0x0, time 2074117364, (37,98), root:(39,121),
    state 0x6000, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0xc00001,
    root 0xfd, subw 0x0, time 2074117677, (37,98), root:(39,121),
    state 0x6001, keycode 20 (keysym 0xbf, questiondown), same_screen YES,
    XLookupString gives 2 bytes: (c2 bf) "¿"
    XmbLookupString gives 2 bytes: (c2 bf) "¿"
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0xc00001,
    root 0xfd, subw 0x0, time 2074117782, (37,98), root:(39,121),
    state 0x6001, keycode 20 (keysym 0xbf, questiondown), same_screen YES,
    XLookupString gives 2 bytes: (c2 bf) "¿"
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0xc00001,
    root 0xfd, subw 0x0, time 2074117951, (37,98), root:(39,121),
    state 0x6001, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0xc00001,
    root 0xfd, subw 0x0, time 2074136837, (38,98), root:(40,121),
    state 0x6000, keycode 20 (keysym 0x5c, backslash), same_screen YES,
    XLookupString gives 1 bytes: (5c) "\"
    XmbLookupString gives 1 bytes: (5c) "\"
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0xc00001,
    root 0xfd, subw 0x0, time 2074136895, (38,98), root:(40,121),
    state 0x6000, keycode 20 (keysym 0x5c, backslash), same_screen YES,
    XLookupString gives 1 bytes: (5c) "\"
    XFilterEvent returns: False

What version of the product are you using? On what operating system?

xpra v0.1.0, (K)ubuntu 11.10

Please provide any additional information below.

So the problem is that xpra transalates the question mark into an upside down 
question mark, and the sharps into a backslash.  The backslash is on that key, 
but only with ISO_Level_3_Shift (Right Alt, AltGr).

Original issue reported on code.google.com by stephan....@gmail.com on 13 Apr 2012 at 9:10

GoogleCodeExporter commented 9 years ago
I'm afraid you're in the wrong bug tracker -- xpra 0.1.0 was released by the 
fork of xpra that's here: http://xpra.org/ , and their bug tracker is here: 
https://xpra.org/trac/

Good luck!

Original comment by njs@vorpus.org on 13 Apr 2012 at 12:33

GoogleCodeExporter commented 9 years ago
Whoops.  I was getting a little confused when I tried to fin the 0.1.0 release 
in your code base :-)  Sorry for the noise!

Original comment by stephan....@gmail.com on 13 Apr 2012 at 1:11