Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.3.2
-
None
-
Fedora 20, qt creator 3.2.2 downloaded from http://qt-project.org (not from fedora repos).
Description
I have assigned the right alt key to be iso_level3_shift and created a custom layout via xkb. Here is my xkb file:
/usr/share/X11/xkb/symbols/en-custom-colemak:
default partial alphanumeric_keys modifier_keys xkb_symbols "basic" { name[Group1]= "English (Custom)"; key.type = "THREE_LEVEL"; ... key <AB06> { [ k, K, BackSpace ]}; key <AB07> { [ m, M, Delete ]}; ... key <RALT> { type[Group1]="ONE_LEVEL", symbols[Group1] = [ ISO_Level3_Shift ] };
Using various key symbols generated by xkb iso_level3_shift works in qt creator 3.2.2 based on qt 5.3.2, except when assigning hotkeys in the options->environment->keyboard dialog.
Pressing and releasing the RALT key alone prints khemer character ោ and some other character (<?>).
Similarily, pressing RALT+i (supposed to be the up arrow) prings the same characters and the Up arrow after them.
The iso_level3_shift is a modifier key, it should not print anything when pressed alone.
Here is the xev output (pressing and releasing RALT):
KeyPress event, serial 37, synthetic NO, window 0x3000001, root 0x9b, subw 0x0, time 3889973, (1118,335), root:(1120,440), state 0x10, 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 37, synthetic NO, window 0x3000001, root 0x9b, subw 0x0, time 3890069, (1118,335), root:(1120,440), state 0x90, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XKeysymToKeycode returns keycode: 92 XLookupString gives 0 bytes: XFilterEvent returns: False }
Assigning iso_level3_shift to another key (right control, for example) does not help. The same output is produced when right control is pressed.
Screenshot is attached.
Maybe, it is related to this issue.
Attachments
Issue Links
- relates to
-
QTBUG-42421 Backspace generated by xkb level 3 shift does not delete selected text
- Closed
-
QTBUG-36565 Some key symbols generated by xkb level 3 shift don't work in QTextBrowser, QTextEdit, QLineEdit
- Closed
- resulted in
-
QTCREATORBUG-24457 Shortcut Recording shows ោ for Right Alt key(Qt::GroupSwitchModifier or ISO_Level3_Shift)
- Closed