Bug ID 1010715
Summary gnome-terminal ignores xmodmap remapping
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component GNOME
Assignee bnc-team-gnome@forge.provo.novell.com
Reporter jmatejek@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

preface:
on Thinkpad X240, Ins and End share the same key, and with FnLock engaged, Ins
is the default mapping (Fn+key emits End)

I use the following xmodmap config to flip this:
keysym Insert = End
keysym End = Insert

this works fine throughout the system, xev returns, for simple keypress:
state 0x0, keycode 118 (keysym 0xff57, End),
for Fn+key:
state 0x0, keycode 115 (keysym 0xff63, Insert),

Since recently, gnome-terminal is ignoring the remap, treating simple key as
Ins and Fn+key as End, i.e., same as what the keyboard is actually sending.

This is a regression. Until roughly two months ago, gnome-terminal was working
fine. When I did a "zypper dup" after the dirtycow fix, the bug appeared.

To reproduce:
1. flip Ins and End keys with the above mentioned xmodmap script:
xmodmap ~/xmodmapfile
2. type something on the shell prompt, without hitting enter
3. press Home. this should move cursor to start of line
4. press Ins
Expected behavior:
- given the keys are flipped, this should bring the cursor to the end of line
Actual behavior:
- nothing happens, as if the keys are not flipped


You are receiving this mail because: