Skip to content

Alt-space doesn't generate an X11 KeyPress #1068

@aimfiz

Description

@aimfiz

Windows build number:

10.0.22621.1702

Your Distribution version:

22.04

Your WSL versions:

WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1702

Steps to reproduce:

xev -event keyboard
[type alt-space]

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

KeyPress event, serial 25, synthetic NO, window 0x600001,
    root 0x390, subw 0x0, time 8639038, (132,-51), root:(1023,471),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 28, synthetic NO, window 0x600001,
    root 0x390, subw 0x0, time 8639100, (132,-51), root:(1023,471),
    state 0x18, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XmbLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x600001,
    root 0x390, subw 0x0, time 8639200, (132,-51), root:(1023,471),
    state 0x18, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x600001,
    root 0x390, subw 0x0, time 8640190, (132,-51), root:(1023,471),
    state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Actual behavior:

KeyPress event, serial 25, synthetic NO, window 0x600001,
    root 0x390, subw 0x0, time 8639038, (132,-51), root:(1023,471),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x600001,
    root 0x390, subw 0x0, time 8640190, (132,-51), root:(1023,471),
    state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

If pressing alt-space brought up the usual Windows menu for the window, then I would assume that that was the intended behavior, but it doesn't do that either. It just does nothing. If it's supposed to bring up a Windows menu, and that bug gets fixed, then please consider this bug report to be a feature request for some way to turn that feature off and have the alt-space usable by X11 applications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions