Skip to content

WIP: Properly handle dead key shortcuts#10891

Draft
LeonMatthes wants to merge 1 commit intoslint-ui:masterfrom
LeonMatthes:lm/10862-dead-key-shortcuts
Draft

WIP: Properly handle dead key shortcuts#10891
LeonMatthes wants to merge 1 commit intoslint-ui:masterfrom
LeonMatthes:lm/10862-dead-key-shortcuts

Conversation

@LeonMatthes
Copy link
Collaborator

Warning, this is still a work in progress. I have noticed that, for example, Qt on Linux when pressing control actually provides a different key code for the dead keys, which is apparently due to some XKB convention.

The seems to mostly work on winit, but winit only produces pressed events, not released events when dead keys are involved.

So this will require more work and especially unification across our back ends.

@tronical We should discuss what the expected behavior in Slint is here and whether we even want to expose dead keys as normal key events or whether they need some kind of special handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant