Unsolved

This post is more than 5 years old

6 Posts

13252

June 6th, 2015 08:00

XPS 13 2015 Tab key on keyboard stops working

Intermittently I find that the key on the keyboard stops behaving as a Tab key.  xev will show no tab keypress and alludes to a second modifier being depressed (which I am not doing).  Depending upon where I am in the xfce UI it interprets it as a variation of alt-tab (without the pretty switching dialog).  Actually pressing alt-tab brings up the switching dialog instead.

The system does not behave as if other keys think that a modifier key is depressed AFAICT.

The only way to clear this so far is to restart X.  If I flip back to a console tty the tab key works fine though while X is doing the wrong thing.

I haven't been able to narrow down exactly the timeline that leads to causation.  I am on the A04 bios and am on stock ubuntu 14.04.2 with the 3.19 canonical kernel. 

I would gladly appreciate diagnostic help.

6 Posts

June 6th, 2015 08:00

Some results from capturing xev from a broken state and then a subsequently corrected state after logging out and logging back in again:

BROKEN

FocusOut event, serial 37, synthetic NO, window 0x3600001,
mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 37, synthetic NO, window 0x3600001,
mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

FIXED

KeyPress event, serial 37, synthetic NO, window 0x4000001,
root 0x97, subw 0x0, time 9552089, (-794,-332), root:(77,143),
state 0x0, keycode 23 (keysym 0xff09, Tab), same_screen YES,
XLookupString gives 1 bytes: (09) " "
XmbLookupString gives 1 bytes: (09) " "
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x4000001,
root 0x97, subw 0x0, time 9552186, (-794,-332), root:(77,143),
state 0x0, keycode 23 (keysym 0xff09, Tab), same_screen YES,
XLookupString gives 1 bytes: (09) " "
XFilterEvent returns: False

6 Posts

June 6th, 2015 19:00

So I tracked part of it down as:

  1. XFCE's window manager by default looks for Super+Tab to rotate focus between similar windows (terminals for instance)
  2. Somehow despite not having a Super key bound on the keyboard with my xmodmap, a Super key got indefinitely depressed as far as X was concerned
  3. Every press of Tab thereafter (until logout/login) triggered Super+Tab

So the new question is, what caused a nonexistent modifier key to be indefinitely depressed?

No Events found!

Top