|
|
|
@@ -38,7 +38,10 @@ crates/voelin-ui-vm/ view models and state, no UI toolkit
|
|
|
|
|
viewer's rows and texts
|
|
|
|
|
servers/logic.rs which server is shown and how it is observed, joining a channel;
|
|
|
|
|
the rail, the server card and the channel tree as plain data
|
|
|
|
|
settings.rs the UI's settings keys, the audio form
|
|
|
|
|
servers/sequence.rs what both front ends do for a server over the store, the secrets
|
|
|
|
|
and the engine (connect, observe, the gateway lookup, save and
|
|
|
|
|
remove a bookmark), as transitions over a `Backing`
|
|
|
|
|
settings.rs the UI's settings keys, the audio form, `open_settings`
|
|
|
|
|
settings_pages/logic.rs, studio/logic.rs
|
|
|
|
|
the decisions of the settings pages and of the Stream Studio
|
|
|
|
|
dev/logic.rs the sample data of `VOELIN_DEMO_UI` as plain values and events
|
|
|
|
@@ -87,8 +90,9 @@ crates/voelin-ui/ the Slint front end
|
|
|
|
|
the Slint side of each area (previews.rs: pictures in chat;
|
|
|
|
|
popout.rs: the stream's own window)
|
|
|
|
|
chat/ mod.rs, bind.rs: the chat view's Bridge writes and models
|
|
|
|
|
servers/ mod.rs, bind.rs: connecting and observing (store, secrets, engine),
|
|
|
|
|
the rail, the server card and the tree on the Bridge
|
|
|
|
|
servers/ mod.rs, bind.rs: connecting and observing (the callbacks of
|
|
|
|
|
`servers/sequence.rs`, the gateway lookup's thread hop), the rail,
|
|
|
|
|
the server card and the tree on the Bridge
|
|
|
|
|
social/ mod.rs (the models), bind.rs: contacts, the bell and the search on
|
|
|
|
|
the Bridge, the desktop toasts, the navigation after a move
|
|
|
|
|
settings_page/ mod.rs, bind.rs: the audio devices, the hotkey, the codec download,
|
|
|
|
@@ -157,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
|
|
|
|
@@ -656,6 +661,7 @@ live when they change (settings page, `--set`, another window):
|
|
|
|
|
| `ui.narrow_breakpoint` | pixels | 800 | below this width the phone layout |
|
|
|
|
|
| `ui.image_cache_mb` | megabytes | 256 | decoded images kept in memory (0: none) |
|
|
|
|
|
| `ui.members_width` | pixels | 280 | width of the members panel (dragging its edge sets it) |
|
|
|
|
|
| `ui.window` | JSON `{width, height, x?, y?, maximized}` | none | where the main window was when the last run ended: its size (the one it returns to when `maximized`), its position where the platform tells one (Wayland does not: no `x` and `y`), and whether it was maximized; the next run opens there. Read at start, not applied live; written by the GPUI front end only (the Slint app neither registers nor reads it) |
|
|
|
|
|
| `ui.voice_compact` | bool | false | the voice channel view's smaller stage (its Smaller stage / Larger stage button sets it; windows under 800 px tall always have it) |
|
|
|
|
|
| `ui.image_preview_kb` | kilobytes | 8192 | pictures linked in chat (files and `[img]`) up to this size show as pictures (0: never) |
|
|
|
|
|
| `notify.mentions`, `notify.private_messages`, `notify.pokes`, `notify.event_reminders`, `notify.friends_online` | off / app / desktop | desktop (friends: app) | what the bell and the desktop say about each kind |
|
|
|
|
@@ -981,6 +987,7 @@ crates/voelin-gpui/
|
|
|
|
|
app.rs AppState, the root Entity: the voelin-ui-vm state and Social, the
|
|
|
|
|
backend, the three loops (events in batches, a quiet tick, Later)
|
|
|
|
|
and the callbacks of the Slint `bind/servers.rs` that the shell has
|
|
|
|
|
(over `voelin_ui_vm::servers::sequence`, which Slint calls too)
|
|
|
|
|
view.rs MainView, the window's root view: the shell or the swatch, the
|
|
|
|
|
handlers of the actions, the server form, the title, the window's place
|
|
|
|
|
shell/ the desktop shell (below): rail.rs, sidebar.rs, topbar.rs,
|
|
|
|
@@ -1025,8 +1032,9 @@ crates/voelin-gpui/
|
|
|
|
|
is quiet, a job from another thread reaches the entity, the store's servers are
|
|
|
|
|
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, the theme follows the settings and a
|
|
|
|
|
switch), the shell on a drawn window that the tests click (a server added is in
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1113,9 +1121,16 @@ GPUI_SHOT_HEADLESS=1 DELAY=4 VOELIN_DEMO_UI=1 VOELIN_DEV_THEME=dark spikes/gpui/
|
|
|
|
|
|
|
|
|
|
Wayland, the desktop's session bus and its portals are out of the environment,
|
|
|
|
|
and the state directories are temporary ones: a run never touches the desktop
|
|
|
|
|
or `~/.local/state/voelin`. `docs/ui/gpui-swatch-dark.png` and
|
|
|
|
|
`gpui-swatch-light.png` are two such pictures (truecolour: a reduction to 256
|
|
|
|
|
colours would change the tokens' values).
|
|
|
|
|
or `~/.local/state/voelin`. **The screen must be larger than the window**:
|
|
|
|
|
`headless.sh`'s default is 3840 by 2160 and `xvfb-run` gets twice the window.
|
|
|
|
|
On a screen as large as the window, openbox fits the window and its frame into
|
|
|
|
|
it and the picture comes out smaller (1438 by 935 for 1440 by 960, which is how
|
|
|
|
|
the first set of pictures was made); on a larger one it is exactly the size
|
|
|
|
|
asked for. `docs/ui/gpui-swatch-dark.png` and `gpui-swatch-light.png` are two
|
|
|
|
|
such pictures (truecolour: a reduction to 256 colours would change the tokens'
|
|
|
|
|
values), and the five of the shell are made the same way (1440 by 960, on
|
|
|
|
|
Xvfb `:143` of 3840 by 2160 with openbox and Mesa's lavapipe, the debug build,
|
|
|
|
|
a state directory under the checkout's `.scratch/`).
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|

|
|
|
|
@@ -1134,16 +1149,24 @@ callbacks), on the client's store.
|
|
|
|
|
The pictures are the shell at 1440 by 960 under `scripts/gpui-shot.sh`; the
|
|
|
|
|
server on screen is the first of the sample servers (`VOELIN_DEMO_UI=1`),
|
|
|
|
|
connected, with its voice card and the user's card. `gpui-shell-form-dark.png`
|
|
|
|
|
is the server form.
|
|
|
|
|
is the server form: the empty shell at the same size, the rail's plus clicked
|
|
|
|
|
and an address and a name typed with `xdotool` (the nickname is the login's;
|
|
|
|
|
the picture was taken as `nova`).
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
What is on screen, each part an entity of `crates/voelin-gpui/src/shell/` that
|
|
|
|
|
observes the root state, makes its view of it (`voelin_ui_vm::servers::logic`:
|
|
|
|
|
`rail`, `toolbar`) and tells the window only when the view differs from the one
|
|
|
|
|
it showed: an engine event about a talker, a setting that is not the theme's or
|
|
|
|
|
a tick draws nothing (the `what_changes_nothing_shown_draws_nothing` test counts
|
|
|
|
|
the parts told).
|
|
|
|
|
it showed (`cx.notify()`): an engine event about a talker, a setting that is not
|
|
|
|
|
the theme's or a tick tells no part, so the window is not drawn at all (the
|
|
|
|
|
`what_changes_nothing_shown_draws_nothing` test counts the parts told). A part
|
|
|
|
|
that is told tells the window, and **the window draws every part**: in gpui-pre
|
|
|
|
|
0.3.10 a child view embedded with `.child(entity)` is rendered again on every
|
|
|
|
|
frame (only `Entity::cached` and `AnyView::cached`, which need a definite size,
|
|
|
|
|
reuse a subtree until its entity is notified), so the parts' comparison saves the
|
|
|
|
|
frames of a window nobody changes, not the work inside a frame ("For the next
|
|
|
|
|
slices" says what the heavy panes do about it).
|
|
|
|
|
|
|
|
|
|
- **The rail** (`rail.rs`): the app's mark, then the saved servers as 46 pixel
|
|
|
|
|
rounded squares (the server's icon from the engine's cache, else its initials
|
|
|
|
@@ -1178,8 +1201,10 @@ minimum size is 640 by 480.
|
|
|
|
|
The eleven callbacks of `bind/servers.rs` that the shell has are GPUI actions
|
|
|
|
|
(`shell/actions.rs`); a click dispatches one with `Window::dispatch_action`,
|
|
|
|
|
`MainView` handles it, and the handler asks the root state for what the Slint
|
|
|
|
|
callback did, through `voelin-ui-vm`'s `servers::logic` and the engine's
|
|
|
|
|
commands:
|
|
|
|
|
callback did, through `voelin-ui-vm`'s `servers::logic` and
|
|
|
|
|
`servers::sequence`, the one sequence over the store, the secrets and the
|
|
|
|
|
engine's commands that the Slint front end runs too ([Shared with the Slint
|
|
|
|
|
front end](#shared-with-the-slint-front-end)):
|
|
|
|
|
|
|
|
|
|
| Slint callback | Action | What it does |
|
|
|
|
|
|---|---|---|
|
|
|
|
@@ -1201,6 +1226,44 @@ voice page), and `copied`, which the Slint toast of a copy needs and `Invite`
|
|
|
|
|
does for itself. `AddServer`, `CancelServerForm`, `OpenSearch` and
|
|
|
|
|
`OpenSettings` are the shell's own.
|
|
|
|
|
|
|
|
|
|
#### Shared with the Slint front end
|
|
|
|
|
|
|
|
|
|
What the Slint crate's `servers/bind.rs` and `app.rs` did and this front end
|
|
|
|
|
repeated lives in one place and both call it (the Slint methods are thin
|
|
|
|
|
wrappers, so its call sites are unchanged):
|
|
|
|
|
|
|
|
|
|
- **`voelin_ui_vm::servers::sequence`**: `connect_voice_to`, `connect_voice`,
|
|
|
|
|
`observe`, `discover_gateway`, `gateway_found`, `select_server`,
|
|
|
|
|
`save_bookmark`, `save_and_connect`, `delete_bookmark`, `bookmark_form` and
|
|
|
|
|
`default_nickname`. 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
|
|
|
|
|
sample servers' are dropped there). `transition_with` of each front end hands
|
|
|
|
|
the `Backing` over: the GPUI root state's and the Slint `App`'s own fields.
|
|
|
|
|
`stream_peer` is the one input a front end gives (the Slint one's
|
|
|
|
|
`video.peer_config`; this one passes none).
|
|
|
|
|
- **`voelin_ui_vm::settings::open_settings`** and `register_keys`: the settings
|
|
|
|
|
service on `client.db` with the UI's keys, `config.toml`, `VOELIN_SETTING_*`
|
|
|
|
|
and `--set`; each front end registers its own key (`ui.window` here, the
|
|
|
|
|
Stream Studio's `studio.ui` there) through the function it passes.
|
|
|
|
|
- **`voelin_store::FallbackSecrets`** (the keyring first, memory where it
|
|
|
|
|
refuses) and **`Store::identity_for`** (the identity a bookmark names, else
|
|
|
|
|
the default, else the one made at start).
|
|
|
|
|
|
|
|
|
|
Left as copies, because they need the toolkit, the runtime or a front end's own
|
|
|
|
|
state: the thread hop of the gateway lookup (`look_up_gateway`: each front end
|
|
|
|
|
runs `sequence::find_gateways` on the engine's runtime and comes back through
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
**The store at start** (`backend.rs`) is `run()` of the Slint front end through
|
|
|
|
|
`voelin-ui-vm`: the client's database at `<data dir>/client.db` (bookmarks,
|
|
|
|
|
identities, chat read marks), the settings service on it with the UI's keys
|
|
|
|
@@ -1224,8 +1287,49 @@ it at the next tick and at close, and the next run opens there: the size always,
|
|
|
|
|
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. A development switch that sets the size or
|
|
|
|
|
the sample data leaves it alone.
|
|
|
|
|
is kept there), maximized if it was. **Maximized** is asked for twice: GPUI
|
|
|
|
|
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
|
|
|
|
|
is the place it opened with and is not kept, so a run that ends before the
|
|
|
|
|
window manager answers, or one whose window manager never maximizes (a tiling
|
|
|
|
|
one), leaves `maximized: true` as it found it; once it has been seen maximized,
|
|
|
|
|
what the window reports is the user's (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
|
|
|
|
|
setting alone.
|
|
|
|
|
|
|
|
|
|
Seen at run time (the debug build of the commit that made it, Xvfb `:143` of
|
|
|
|
|
3840 by 2160 with openbox and Mesa's lavapipe, a state directory under the
|
|
|
|
|
checkout's `.scratch/`, no contact with the desktop's session): a first run
|
|
|
|
|
opened at 1280 by 800, openbox's `A-F10` (`ToggleMaximize`, bound in the run's
|
|
|
|
|
private `rc.xml`) maximized it (`_NET_WM_STATE_MAXIMIZED_VERT` and `_HORZ`, 3840
|
|
|
|
|
by 2141 below the title bar), Alt+F4 closed it with exit status 0, and `ui.window`
|
|
|
|
|
held `{"width":1280,"height":800,"x":1280,"y":687,"maximized":true}`: the size
|
|
|
|
|
it returns to, not the screen's. A second run came up maximized with no one
|
|
|
|
|
touching it, and closed the same way leaving the same value. The same second
|
|
|
|
|
run on the commit before the fix, started on a copy of that database
|
|
|
|
|
(`maximized: true`): the window opened at 1280 by 800 with no `_NET_WM_STATE`, and
|
|
|
|
|
Alt+F4 left `{"width":1280,"height":800,"x":1280,"y":687,"maximized":false}`,
|
|
|
|
|
the two things the gate found; the fixed binary on the same copy came up at 3840
|
|
|
|
|
by 2141 with both maximized atoms and left `maximized: true`.
|
|
|
|
|
|
|
|
|
|
**The minors round** (`phase5/gpui-shell-minors`, after the Opus gate accepted
|
|
|
|
|
the slice with six minors; the commits say each): the records of what a part's
|
|
|
|
|
notify draws (above, and "For the next slices"), a window left maximized is
|
|
|
|
|
maximized again on X11 and stays remembered so (the paragraph above), the
|
|
|
|
|
pictures at 1440 by 960 (a screen larger than the window), the connect test
|
|
|
|
|
makes no DNS query (its lib test binary makes no `connect` or `send` at all
|
|
|
|
|
under `strace`), the server sequences shared with the Slint front end
|
|
|
|
|
([Shared with the Slint front end](#shared-with-the-slint-front-end)), and the
|
|
|
|
|
`ui.window` row of the settings table. The four risks the gate listed are in
|
|
|
|
|
"For the next slices".
|
|
|
|
|
|
|
|
|
|
**What the shell costs idle** (`VOELIN_METER=1`, release build of the shell
|
|
|
|
|
commit `6b4341a`, the later ones change nothing that runs while idle; 1440 by
|
|
|
|
@@ -1358,6 +1462,35 @@ entries); the in-window keys as GPUI key bindings and the global ones through
|
|
|
|
|
What the foundation's review and the Opus gate (2026-10-27) found and left to
|
|
|
|
|
the slices that meet it; none of it is a defect of what exists today.
|
|
|
|
|
|
|
|
|
|
- **A part's notify draws the whole window, and `Update.refresh` is not used
|
|
|
|
|
yet.** The root notifies on every batch and each part compares the whole view
|
|
|
|
|
it would show with the one it showed; a part that differs tells the window,
|
|
|
|
|
and the window renders every uncached child view (gpui-pre 0.3.10: only
|
|
|
|
|
`Entity::cached` and `AnyView::cached` skip one). With a rail, a sidebar and a
|
|
|
|
|
top bar that costs little; the channel tree and the members of slice 2 (and
|
|
|
|
|
later the chat's list and the stream tiles) are heavy, and one talker's
|
|
|
|
|
indicator must not render the rail and the chat. Slice 2 embeds the heavy panes
|
|
|
|
|
with `Entity::cached` (a definite size is needed: the pane's bounds come from
|
|
|
|
|
its place in the layout) and turns `Update.refresh` (`voelin_ui_vm::host::
|
|
|
|
|
Refresh`: `servers`, `toolbar`, `tree`, `chat`, ...; `perform` drops it today)
|
|
|
|
|
into per-area signals, a generation or a flag per pane that its entity
|
|
|
|
|
observes, so that a change of the tree or the members notifies those panes and
|
|
|
|
|
not the rail and the chat.
|
|
|
|
|
- **`Update.reloaded` is ignored, and `img()` caches by path.** `perform` drops
|
|
|
|
|
`Update.reloaded` (the pictures the engine wrote again, whose decoded copies a
|
|
|
|
|
front end drops). GPUI's `img()` caches what it decoded per source in the
|
|
|
|
|
asset cache, so a picture rewritten into the same cache file (a server icon or
|
|
|
|
|
an avatar that changed) stays stale on screen. The slice that shows engine
|
|
|
|
|
pictures (slice 2: avatars, the tree's icons) drops the decoded copy for each
|
|
|
|
|
path of `reloaded` (`ImageSource::remove_asset`, and `drop_image` for what the
|
|
|
|
|
atlas holds) or keys the image by something that changes with the file.
|
|
|
|
|
- **`SettingChanged` for the audio and the playback keys is not reloaded.**
|
|
|
|
|
`AppState::setting_changed` follows `ui.theme` and `ui.font_scale` only; the
|
|
|
|
|
Slint front end also reloads `audio` (unless the page has unsaved edits) and
|
|
|
|
|
`client_playback`, the crash-reports flag and the decoder keys. The values the
|
|
|
|
|
window keeps copies of (`vm.audio`, `vm.playback`) go stale when a command,
|
|
|
|
|
the config file or another window changes them; the settings slice (5) adds
|
|
|
|
|
the reload with the page that shows them.
|
|
|
|
|
- **Settled by the shell slice: the engine-event task and the tick.** The task
|
|
|
|
|
takes what is queued (64 events at most) in one `update` with one
|
|
|
|
|
`cx.notify()` and yields between steps, and the tick notifies nobody (the
|
|
|
|
@@ -1388,9 +1521,10 @@ the slices that meet it; none of it is a defect of what exists today.
|
|
|
|
|
theme's colours over the `ThemeColor` the second layer wrote. A slice that
|
|
|
|
|
offers JSON themes or watches a theme directory re-applies `VoelinTheme`
|
|
|
|
|
after the registry changed.
|
|
|
|
|
- **The parity test and `build.rs` read `crates/voelin-ui/ui`** (`theme.slint`
|
|
|
|
|
through `include_str!`, the icons directory), and `fonts.rs` the Inter files
|
|
|
|
|
there: they move with step 9, when Slint goes (the icons and fonts to this
|
|
|
|
|
- **The parity test, `build.rs` and `assets.rs` read `crates/voelin-ui/ui`**
|
|
|
|
|
(`theme.slint` through `include_str!`, the icons directory, and `assets.rs`'s
|
|
|
|
|
`include_bytes!` of `logo.svg`), and `fonts.rs` the Inter files there: they
|
|
|
|
|
move with step 9, when Slint goes (the icons, the logo and the fonts to this
|
|
|
|
|
crate, `tokens.rs` as the source of truth, the parity test removed).
|
|
|
|
|
- **System mode's first frame is Light** until the colour-scheme portal answers
|
|
|
|
|
(`cx.window_appearance()` before the window exists; `set_system_appearance`
|
|
|
|
@@ -1403,7 +1537,15 @@ the slices that meet it; none of it is a defect of what exists today.
|
|
|
|
|
most window managers) places the window itself; the size is restored, the
|
|
|
|
|
position is not, and on Wayland there is none to tell. A window manager that
|
|
|
|
|
honours the request, or a hint GPUI does not set, would make the saved
|
|
|
|
|
position count; the setting keeps it either way.
|
|
|
|
|
position count; the setting keeps it either way. What the window manager
|
|
|
|
|
does give back is the maximized state, which the window now asks for once it
|
|
|
|
|
is shown ([The window's place](#the-desktop-shell), the paragraph with the
|
|
|
|
|
run under openbox). That request relies on `Window::is_maximized` being
|
|
|
|
|
current at the first frame: on a window manager that does honour GPUI's
|
|
|
|
|
request before the map (openbox does not) and whose `_NET_WM_STATE` change
|
|
|
|
|
has not been read yet, `zoom_window`, which toggles on X11, would undo it.
|
|
|
|
|
None is known; if one turns up, ask for the maximize only at the first
|
|
|
|
|
`_NET_WM_STATE` change after the map instead.
|
|
|
|
|
- **The identity import and the crash reports are not started**
|
|
|
|
|
(`backend.rs` says so): the import reads the official TeamSpeak clients' files
|
|
|
|
|
and belongs with the identities page, the crash hook with the settings pages.
|
|
|
|
@@ -1422,6 +1564,29 @@ the slices that meet it; none of it is a defect of what exists today.
|
|
|
|
|
shell](#the-desktop-shell)). `run()` waits `CLOSE_GRACE` (500 ms) for the engine
|
|
|
|
|
to send the closes only when the window's close found sessions to close.
|
|
|
|
|
|
|
|
|
|
- **Four risks of the shell the gate found by reading, left to the slices that
|
|
|
|
|
meet them** (none reproduced here, none is a defect of a path the shell's
|
|
|
|
|
tests exercise):
|
|
|
|
|
- *The server on screen is not remembered across restarts.* `AppState::new`
|
|
|
|
|
takes the first saved server (`bookmarks.first()`), whichever the user had
|
|
|
|
|
on screen; the Slint app does the same and keeps only the last voice channel
|
|
|
|
|
(`ui.last_voice`, for its Home page). Remembering the server needs a
|
|
|
|
|
value of its own in the settings (a key, or a field beside `ui.window`).
|
|
|
|
|
- *A click on a server of the rail, or Remove, closes an open server form
|
|
|
|
|
without asking*, and what was typed in it is gone (`MainView::select_server`
|
|
|
|
|
and `delete_server` drop `form`). The dialogs slice (9) turns the form into
|
|
|
|
|
a dialog; it keeps the draft or asks.
|
|
|
|
|
- *Hold to talk stays on if voice drops while the button is held.* The voice
|
|
|
|
|
card, with the button, goes when voice leaves `Connected`, so the release
|
|
|
|
|
(`on_mouse_up`, `on_mouse_up_out`) has no element to land on: `Sidebar`
|
|
|
|
|
keeps `holding` and the session keeps `transmitting` until the next press.
|
|
|
|
|
Releasing on the window, or clearing the flag when voice drops, belongs
|
|
|
|
|
with the voice page (slice 3).
|
|
|
|
|
- *A tiling compositor's tile is stored as the window size* (and, on X11
|
|
|
|
|
under a tiling window manager, as its position): `ui.window` takes what the
|
|
|
|
|
window reports without asking whether it is tiled or floating, so the next
|
|
|
|
|
run under a floating window manager opens at the tile's size.
|
|
|
|
|
|
|
|
|
|
## Limits
|
|
|
|
|
|
|
|
|
|
- No drop shadows or blur (the software renderer draws none): glows are
|
|
|
|
@@ -1470,4 +1635,4 @@ the slices that meet it; none of it is a defect of what exists today.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*Mirrored from [`docs/ui.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/cc7c45b371cac39b4e23c9eb65c8cf384652299f/docs/ui.md) at `cc7c45b` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
|
|
|
|
|
*Mirrored from [`docs/ui.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/0d44148ef5f76d01f21b115a5a9656439cadd160/docs/ui.md) at `0d44148` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
|