Skip to content

Space replaced with non-space character input afterwards when typing quickly. #321

@KelvarIW

Description

@KelvarIW

Describe the bug
Typing three characters quickly, where the middle is a space, causes the space to be replaced with the third character. For example, quickly typing "tyj" will work as intended; while "t j" will leave the client with "tj" in the message box.

To Reproduce
In any message input (server channel or DMs), type a non-space symbol (number, letter...) then input a space, then type another non-space symbol. The behavior only occurs if the inputs are done very quickly.
Holding and releasing modifier keys including Shift does not affect this behavior.
Encountered on LibreWolf, running on Windows 10.

Expected behavior
All three inputs should appear in the order they were pressed: non-space symbol, space, non-space symbol

Screenshots
In the gif, you can see the cursor move when I press space, followed by the third inputted character appearing directly after the first input, erasing the space.
https://drive.proton.me/urls/C1QXCC18VC#1WAkGdPikmUG

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions