emilk / emilk/egui

egui::TextEdit::singleline characters appear very slowly when using a barcode scanner to input content

Open
#7,935 1 comment 0 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

`ui.add(egui::TextEdit::singleline(&mut self.qr_code).desired_width(f32::INFINITY));`
When the barcode scanner inputs content into this field, the characters appear very slowly. The barcode scanner displays text at normal speed in Notepad and in text fields of programs developed with other languages.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a barcode scanner in egui::TextEdit::singleline using the example code from the report, then trace the text-input handling. Done means scanner-entered characters appear at normal speed, as they do in Notepad and other applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.