diff --git a/docs/design/gpui-spikes.md b/docs/design/gpui-spikes.md index 743688f..2d918d1 100644 --- a/docs/design/gpui-spikes.md +++ b/docs/design/gpui-spikes.md @@ -42,9 +42,9 @@ show changed (the window then draws every part: gpui-pre 0.3.10 renders every uncached child view on every frame), the eleven callbacks of `bind/servers.rs` as actions through `voelin-ui-vm`'s logic and the engine's commands, the window's size and position kept in `ui.window`, the engine-event task in steps -and a tick that draws nothing. What it shows, what it costs idle and what it leaves to the -slices after it are in docs/ui.md, "The desktop shell"; the next slice is the -channel tree and the members. The shell was reviewed and gated the same day (an +and a tick that draws nothing. What it shows, what it costs idle and what it +leaves to the slices after it are in docs/ui.md, "The desktop shell"; the next +slice is the channel tree and the members. The shell was reviewed and gated the same day (an Opus gate: no blocker and no major, six minors), and the minors are closed on `phase5/gpui-shell-minors`: the records that said the parts draw only when what they show changed are corrected (a part tells the window, and the window draws diff --git a/docs/ui.md b/docs/ui.md index 5d693b8..d82ae84 100644 --- a/docs/ui.md +++ b/docs/ui.md @@ -1256,9 +1256,9 @@ wrappers, so its call sites are unchanged): `observe`, `discover_gateway`, `gateway_found`, `select_server`, `save_bookmark`, `save_and_connect`, `delete_bookmark`, `bookmark_form`, `default_nickname` and, since the channel tree, `join_channel` and - `join_with_password` (over `connect_into`). Each is a transition over the state, the `Cx` and a - `Backing` (the store, the secrets and the identity a connection is made - with), so the engine's commands, the status line, what is to be kept and the + `join_with_password` (over `connect_into`). Each is a transition over the + state, the `Cx` and a `Backing` (the store, the secrets and the identity a + connection is made with), so the engine's commands, the status line, what is to be kept and the gateways to look up (`Update::discover`) go out through the update, and each front end's `perform` and its tests handle them as they handle every other transition's (the GPUI tests see the commands as `take_sent`, and the @@ -1323,16 +1323,16 @@ 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). The first two windowed reports of a window opened to be -maximized (the place it opened with, and the configure an X11 window manager -may send when it maps the window) are not kept, so a run that ends before the -window manager answers leaves `maximized: true` as it found it; the reports -after them are the user's, kept whether or not the window was seen maximized (a -resize before the window manager answered, or under one that never maximizes, a -tiling one, is kept), and once it has been seen maximized what it reports is -the user's too (restoring it is kept). A maximized -window is kept with the size it returns to (X11 reports the screen's; Wayland -the size it returns to). The `maximized` request itself needs a real window: +request is lost (openbox: the window opened at its restored size). The first two +windowed reports of a window opened to be maximized (the place it opened with, +and the configure an X11 window manager may send when it maps the window) are +not kept, so a run that ends before the window manager answers leaves +`maximized: true` as it found it; the reports after them are the user's, kept +whether or not the window was seen maximized (a resize before the window +manager answered, or under one that never maximizes, a tiling one, is kept), +and once it has been seen maximized what it reports is the user's too +(restoring it is kept). A maximized window is kept with the size it returns to +(X11 reports the screen's; Wayland the size it returns to). The `maximized` request itself needs a real window: GPUI's test platform has no zoom, so the tests count the request and report the window manager's answer themselves; it was seen at run time under openbox (below). A development switch that sets the size or the sample data leaves the