Skip to content

Win32 embedding does not receive key up messages of right shift key from the platform #77179

@dkwingsmt

Description

@dkwingsmt

This issue does not describe a bug of Flutter. This describes a bug of Win32.

When the user releases the right shift key, the Win32 embedding does not receive any key up events. It's not about the fault of the embedding; instead, WndProc, which directly connects to the system, does not receive any messages at all.

As a consequence, the right shift key is stuck at a pressed state (see #75675).

The hardward keyboard API solve this problem by checking key states at every key event, meaning that a synthesized key up event of the right shift key will be dispatched at the next event. The raw key event API, however, does not have such checks for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsplatform-windowsBuilding on or for Windows specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions