diff --git a/docs/ui.md b/docs/ui.md index 9c62037..12f7d1e 100644 --- a/docs/ui.md +++ b/docs/ui.md @@ -161,8 +161,9 @@ this file is `voelin_ui_vm::chat`. The boundary: to draw again (`Refresh`, each once however many events set it), the status line, the engine commands in order, what to keep (`Persist`: a bookmark, the UI's settings, the audio settings, the clients' volumes), pictures to - decode again, the password dialog, notices for the bell, the chats that - changed and a stream to watch. `Host` is what the transitions ask while + decode again, the servers whose gateway is to be looked up, the password + dialog, notices for the bell, the chats that changed and a stream to watch. + `Host` is what the transitions ask while they run: whether the chat or a private chat is on screen, the store's read markers, the preview limit, the time. The Slint client's `App::handle_event` is `handle` and then `perform`, which carries the update @@ -1032,7 +1033,8 @@ crates/voelin-gpui/ the rail's, a server is saved, edited, removed and selected, a connect and the other commands reach the engine's wire, the sample servers send nothing, the window's place is kept and found again, a window left maximized is zoomed once - and stays remembered so, the theme follows the settings and a switch), the shell on a drawn window that the tests click (a server added is in + and stays remembered so, the theme follows the settings and a switch), the + shell on a drawn window that the tests click (a server added is in the rail, a click selects it and titles the window, an engine event updates the rail and the cards, the form adds and removes, the toast goes, an idle window is not told), a connect through a real engine that has no connector (it answers @@ -1258,8 +1260,9 @@ its own `Later`/`later`), `perform` (what an `Update` does to a window), the status line's toast, the invite's clipboard write, `HostedEngine` (`engine.rs`), the guards of the GPUI shell's save (`save_refused`: the sample servers are not kept, and a server needs an address, which the Slint dialog checks in -`dialogs.slint` before it calls), the store at start (`Backend::open` against `run()`: the identity import, the crash -reports and `--set` of the Slint one) and the form widgets themselves. +`dialogs.slint` before it calls), the store at start (`Backend::open` against +`run()`: the identity import, the crash reports and `--set` of the Slint one) +and the form widgets themselves. **The store at start** (`backend.rs`) is `run()` of the Slint front end through `voelin-ui-vm`: the client's database at `/client.db` (bookmarks, @@ -1285,9 +1288,9 @@ the position when a screen still shows its corner and the window manager lets a window choose (GPUI asks X11 for the place, and openbox, like most window managers, places new windows itself; Wayland tells no position at all, so none is kept there), maximized if it was. **Maximized** is asked for twice: GPUI -asks when it creates the window (`WindowBounds::Maximized`: Wayland and the -other platforms honour that), and the window asks again when its first frame is -drawn if it is not maximized by then (`MainView`: `Window::zoom_window`, which +asks when it creates the window (`WindowBounds::Maximized`: a Wayland +compositor is expected to honour that, which was not run here), and the window +asks again when its first frame is drawn if it is not maximized by then (`MainView`: `Window::zoom_window`, which toggles on X11, hence the check), because an X11 window manager manages a window only from its map, so the early request is lost (openbox: the window opened at its restored size). Until the window has been seen maximized, what it reports