shurain / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
1 stars 0 forks source link

autokey-gtk does not recognize second level in ´US International with dead keys´ key map. #267

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Set xkb_keymap to this specification:

karlheg@oaktree ~ % setxkbmap -print
xkb_keymap {
    xkb_keycodes  { include "evdev+aliases(qwerty)" };
    xkb_types     { include "complete"  };
    xkb_compat    { include "complete"  };
    xkb_symbols   { include "pc+us(intl)+us:2+inet(evdev)+ctrl(swapcaps)+compose(paus)+terminate(ctrl_alt_bksp)"    };
    xkb_geometry  { include "thinkpad(60)"  };
};

2. Test and make sure the correct keymap is enabled. You should see: « when 
you hold the right Alt key and type [.

3. Launch autokey-gtk

4. Under “My Phrases” select “First phrase” (or any phrase).

5. Click the “Set” button to the right of “Hotkey:”.

6. In the dialog, click on the “Press to Set” button. The label after 
“Key:” will change to “...”.

7. Hold down the right Alt key and press [.

What is the expected output? What do you see instead?

The expected output is that the “Key:” ought to be “«”, but instead I 
see “[”. So, it does not recognize this (from xev output when I press and 
release the right Alt key):

KeyPress event, serial 40, synthetic NO, window 0x4a00001,
    root 0x298, subw 0x0, time 47103862, (787,252), root:(788,304),
    state 0x0, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x4a00001,
    root 0x298, subw 0x0, time 47104254, (787,252), root:(788,304),
    state 0x80, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

I think I´d also like to be able to set the key binding to ´ISO_Level3_Shift 
Shift x´, which, according to the keymap in the Ubuntu “Text Entry” 
indicator´s “Keyboard Layout Chart”, is not normally bound to anything. In 
other words, on the layout chart, where many keys have four characters printed 
on them, the ´x´ key has only three, so the shifted plus level-3-shifted 
´x´ does not have any actual keysym assigned, if I understand things 
correctly... but that being the case, it´s the perfect choice for a key to 
bind a macro on!

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

0.90.1-1.1 from Ubuntu ´Saucy Salamander´.

Please provide any additional information below.

Don´t forget: It is 2014 now, so don´t accidently write 2013.

Original issue reported on code.google.com by Karl.Heg...@gmail.com on 5 Jan 2014 at 7:40