mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-30 21:17:55 -06:00
The prompt's field requested focus on every frame. In egui 0.36 each request also interrupts the input method, and egui-winit answers with set_ime_allowed(false) then (true), which recreates the X11 input context (or re-enables Wayland text-input) every frame. On Linux typed keys go through the input method, so nothing typed reached the field. Request focus only when the field doesn't have it, as the command search does (#1638). The permissions password prompt shares the box. Tests type through synthetic IME pre-edits and commits after opening an encrypted file from the command line, File > Open, the start page and a drop, and into the permissions prompt; both fail without the fix.