mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-28 04:17:06 -06:00
* Linux: built-in file browser when the portal file dialog is unavailable (#576) rfd 0.17 on Linux/BSD asks the xdg-desktop-portal FileChooser and falls back to zenity; with neither (labwc with only xdg-desktop-portal-wlr, no zenity) it returns None, the same as Cancel, so Open/Save As/Insert Picture silently did nothing. The dialog thread now checks first (zenity on PATH, or the portal's FileChooser interface via dbus-send) and answers with an error when neither is there; the app then finishes the job in its own egui file browser (folder field, Up/Home, folders and files of the chosen type, file name, type filter, replace confirmation) with a hint on how to get the system dialog. File > Open > Browse in WordCraft... (Linux/BSD) and `ui.fileBrowser` reach it at any time, even while a system dialog never showed up; WORDCRAFT_FILE_DIALOG=builtin forces it. Native only (not wasm32). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Turkish and Russian strings for the file browser (#576) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>