Skip to content

GUI RPC drops keystroke flags such as repeat #7231

@iacore

Description

@iacore

How to file a helpful issue

Qubes OS release

r4.1

Brief summary

Key repeat is usable in dom0, but the Qubes gui protocol gui-common doesn't include flags for keys.

This makes games extremely confused, because they can't differentiate between "pressing a key repeatedly" and "holding down a key".

Steps to reproduce

Run xinput test-xi2 in dom0. Hold any key. You will see something like this in stdout:

EVENT type 2 (KeyPress)
    device: 3 (3)
    detail: 113
    flags: repeat

Run xinput test-xi2 in a VM other than dom0. Hold any key. The flags are empty.

EVENT type 2 (KeyPress)
    device: 3 (3)
    detail: 113
    flags:

Expected behavior

X input events should include flags like repeat too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: gui-virtualizationThis issue pertains to GUI virtualization in Qubes OS.P: majorPriority: major. Between "default" and "critical" in severity.affects-4.1This issue affects Qubes OS 4.1.affects-4.2This issue affects Qubes OS 4.2.needs diagnosisRequires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions