Skip to content

Universal clipboard shortcuts (Ctrl+C/V/X) don't work with non-Latin keyboard layouts #4081

@TicClick

Description

@TicClick

Describe the bug

at least on Windows 10 (and I think it happens on MacOS as well) these shortcuts only work in layouts with Latin characters, such as English (United States). this is because the code checking for special shortcuts operates on logical, not physical keys:

(this is present in at least egui v0.25.0, and it doesn't look like it's fixed in the current master branch, b804857)

To Reproduce

try copying any text from a text field while having a keyboard layout without a Latin character on the C hardware key

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions