Skip to content

Incorrect key composition/dead key behaviour on macOS #668

Open
@glennsl

Description

On macOS, dead keys like ~ should be printed immediately with an underline indicating it can be composed with other keys. If another composable key is pressed it should be replaced by the composed character, otherwise it should remain as-is.

The current behaviour is to not print anything until the next key is pressed, where it'll either print a composed character or two separate characters, which is probably consistent behaviour across platforms, and at least is how I'd expect it to work on Linux with dead keys enabled.

It might be that this is an upstream issue with SDL2, that they've decided to provide a consistent experience across platforms, that they provide an optional API to implement this behaviour, or that Revery currently just don't use it properly.

Metadata

Assignees

No one assigned

    Labels

    A-inputArea: Input handling, IME etc.bugSomething isn't workingplatform-macosPlatform: macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions