Skip to content

Flutter does not receive key up events when cmd key is pressed (macOS) #38076

@shyndman

Description

@shyndman

This has the effect of "sticking" keys in RawKeyboard.instance.keysPressed, which in turn causes the Shortcuts widget to fail.

After a bit of research, it might be worthwhile to send events directly from the NSApplication to the engine. Looks like everything passes through - sendEvent before it is interpreted and delegated to the various the NSResponder methods.

Related to #36001

Metadata

Metadata

Labels

a: desktopRunning on desktopengineflutter/engine related. See also e: labels.platform-macBuilding on or for macOS specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions