Solved No KeyPress keyboard events for some keys after upgrade to Xorg 1.20.7

Hello,

After yesterday's upgrade from xorg-server 1.18.4 to 1.20.7 I've stumbled upon strange behavior while working in LibreOffice Calc - I have no response from arrow Up key for movement within the spreadsheets.

Environment: FreeBSD 12.1-RELEASE-p2, Xfce 14.4, pc-105 keyboard.

Digging further I've found that Up arrow is not working anywhere, xfce-terminal & xterm included.
However Up arrow key works as expected when only X server 1.20.7 is started and therefore I suspect Xfce 4.14 to Xorg 1.20.7 compatibility issues.

Additional info.
Next is the difference of behaivour of Up and Down keys from xev, as you see - no KeyPress events for Up key, Down works as expected.
Code:
FocusOut event, serial 37, synthetic NO, window 0x4c00001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 37, synthetic NO, window 0x4c00001,
    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  


KeyPress event, serial 37, synthetic NO, window 0x4c00001,
    root 0x1d5, subw 0x0, time 2688593, (60,129), root:(931,606),
    state 0x0, keycode 116 (keysym 0xff54, Down), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
    root 0x1d5, subw 0x0, time 2688737, (60,129), root:(931,606),
    state 0x0, keycode 116 (keysym 0xff54, Down), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

The mapping are correct, output from xmodmap, keycode 111 for Up key:
Code:
keycode 110 = Home NoSymbol Home
keycode 111 = Up NoSymbol Up
keycode 112 = Prior NoSymbol Prior
keycode 113 = Left NoSymbol Left
keycode 114 = Right NoSymbol Right
keycode 115 = End NoSymbol End
keycode 116 = Down NoSymbol Down
keycode 117 = Next NoSymbol Next
keycode 118 = Insert NoSymbol Insert
keycode 119 = Delete NoSymbol Delete

Any ideas how I could fix this Xfce4-Xorg problem?
 
Todays new xorg-server-1.20.7_1 update fixed the problem.

I still suffered same problem even my xorg-server version 1.20.7_1.
This happen with Up arrow key.


Code:
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

KeyPress event, serial 37, synthetic NO, window 0x4800001,
    root 0xf6, subw 0x0, time 2058242, (63,-8), root:(833,283),
    state 0x0, keycode 116 (keysym 0xff54, Down), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x4800001,
    root 0xf6, subw 0x0, time 2058371, (63,-8), root:(833,283),
    state 0x0, keycode 116 (keysym 0xff54, Down), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

[SOLVED]
After change to the latest branch, fix the ABI problem and get xorg-server-1.20.7_1.
 
Last edited:
I still getting this issue, UP arrow key doesn't work. It doesn't happen on wayland compositor (sway, dwl, hikari). So, it must be X related issue.
Solved by revert to default keybind config. Hillarious.
 
Back
Top