emilk / emilk/egui

Ctrl+X, C, V events get cut out

Open
#4,065 12 comments 9 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

They're replaced by cut/copy/paste commands.

Egui is the wrong layer for that - this is clearly an application feature and not a UI library one. I've an application that needs ctrl+x/c for input. With an event chain both events could be included however I would recommend not providing cut/copy/paste events in the first place. Don't know of any UI library handling that on this level.

Esp. applications may remap key binds that may break it. Or give some options to specify the behavior there.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing egui's keyboard event chain and the handling that replaces Ctrl+X, Ctrl+C, and Ctrl+V with commands, then read the discussion to determine whether events should be preserved or behavior made configurable. Done requires an agreed behavior and coverage showing remapped key bindings are not unexpectedly cut out.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.