Update `docs/ui.md` ("The voice page and the call bar") and `CHANGELOG.md` for the fix round: fail-closed `hotkey.rs` loop, hardened `AppState` / `Sidebar` / `MainView` push-to-talk state machine (`button_held`, `hotkey_held`, `shutting_down`, per-event disconnect handling, mode/server/delete/focus/shutdown guards), centred smaller stage and re-shot compact screenshots (`15a1b60`, Xvfb `:621`/`:622`, Mesa 26.3.0 lavapipe), and `IconButton` dynamic tooltip refresh via `ElementId::NamedChild`.
Co-Authored-By: Gemini 4 Neon <noreply@google.com>
25 KiB
Changelog
User-visible changes of the apps and the tsgw gateway. The format follows
Keep a Changelog; versions follow
docs/release.md.
[Unreleased]
Added
voelin-gpui, the GPUI front end of the desktop app, in its first form: a window fed by the same engine and the same view models as the Slint app (cargo run -p voelin-gpui --release), in the Voelin theme: every colour, radius, size and type token of the Slint app'stheme.slint, light and dark (a test reads the Slint file and fails when the two differ), written into the widget library's theme too, in Inter, with the Slint app's Lucide icons.systemmode follows the window's appearance.VOELIN_OPEN=swatchshows every token, a few widgets and the icons (VOELIN_DEV_THEME,VOELIN_FONT_SCALE,VOELIN_WINDOW_SIZE; screenshots withscripts/gpui-shot.sh, docs/ui/).VOELIN_METER=1logs what it costs once a second: the CPU by group of threads, the memory and its own counters. A window that cannot open (no driver, no display server) ends the app with the reason and exit status 1. The Slint app (voelin) is unchanged and stays the app; both run on one engine until the GPUI one reaches parity (docs/ui.md). It needs Vulkan or OpenGL at run time (Mesa's lavapipe renders in software); no package ships it yet.- The GPUI front end's desktop shell: the server rail, the top bar, the
sidebar and the main area, on the client's own database (the servers saved in
the Slint app are there, and the other way round). Add, edit, select and
remove a server, connect and disconnect voice, mute the microphone and the
sound, hold to talk and copy an invite link, as in the Slint app; the window's
title names the server on screen, and its size and whether it was maximized
are kept for the next run (setting
ui.window; on X11 the window is maximized once it is shown, not before the window manager has it, and a resize made before it answers is kept). The chat and the other pages are the next slices; the search and the settings buttons only log that.VOELIN_DEMO_UI=1shows the Slint app's sample servers without sending or keeping anything (docs/ui.md, "The desktop shell"). - The GPUI front end's channel tree and members panel. The server on screen's
channels nest in the sidebar with their spacers, icons, banners (under a veil
that keeps the names readable on any picture), locks and counts, and the
people in them with their badges and marks; a click selects a channel, a
double-click joins it (a locked one asks for its password: Enter joins, and
Escape closes the prompt), the chevron folds it, a right-click offers the
same, and what is folded and selected is kept for each server (setting
ui.tree). The panel on the right lists everyone on the server in sections, with a search; a click on a person opens their card. A person who starts or stops talking is marked in the tree (the ring on their avatar and the bars on their row, as in the Slint app) and the members panel, which are redrawn for it and nothing else of the window, and the pictures the engine writes again show at once.VOELIN_METER=1counts the renders of each pane;VOELIN_DEMO_SERVERandVOELIN_DEMO_TALKpick the sample server and make a sample person talk (docs/ui.md, "The channel tree and the members"). - The GPUI front end's voice channel page and call bar. A server's Voice channel
button (or
VOELIN_OPEN=voice) shows the channel we are in with its topic, its banner and who is there: large avatars ringed green while they talk and blue while they stream, with the marks of a microphone or sound that is off, and under them the call bar (mute, deafen, share and the voice settings, which only log until their pages come, and Leave). The smaller stage, one row of small avatars centred while it fits and scrolling sideways when crowded, is remembered and a window under 800 pixels tall always has it (the same setting as the Slint app's); toggle icon buttons refresh their tooltips as soon as their state flips. The sidebar's server card shows the server's banner, a person's card has their volume and a mute for us, and the voice card says the transmit mode when it is not push-to-talk. Hold to talk and the global push-to-talk key (Ctrl+Shift+Tby default, as in the Slint app, working while another window has focus) track button and hotkey holds independently and fail closed across voice drops (including drop and reconnect within one event batch), window focus loss, leaving push-to-talk mode, switching or removing servers, repeated portal activations across servers, desktop shortcut removal, hotkey task exit, and window shutdown. A person's picture is round in its avatar.voelin-gpuiis still not the app (docs/ui.md, "The voice page and the call bar"). - Log files: each run logs to
<state>/voelin/logs/voelin.log, the previous four runs are kept;VOELIN_LOGsets what is logged. Settings → Advanced opens the folder. - Linux
.tar.gz: libvpx and libdav1d inlib/, andbin/voelin-install-depsfor FFmpeg, VA-API drivers, PipeWire, the desktop portal and a keyring. - Windows packages ship FFmpeg's LGPL libraries, so hardware encoders and decoders work without installing FFmpeg.
- AV1 decoding through dav1d in every desktop build.
- 122 more signed client versions (
Versions.csv). - Icon buttons show their name on hover (desktop), also while they are disabled.
- The voice channel view on desktop can copy an invite link to the channel, as the phone's Invite button does.
- Other people's myTeamSpeak badges: up to three pictures after their name in the channel tree and the members panel, and their names on the member card (what each is for on hover). On TeamSpeak 6 the badges the server verified come first.
- Links in chat open in the browser; one whose text is not its address first shows where it goes. A right-click on a link opens or copies it.
ts3server://andteamspeak://links in chat (andtmspk.gg/s/…) open the server dialog filled in from the link, its channel and key included, or move you into the link's channel when you are in voice on that server. Nothing connects before Connect, and a saved server keeps its nickname.tmspk.gginvite codes can't be opened yet.- Every message can be quoted into the composer (
>lines) and its text copied, from the actions on hover or a right-click menu, also on servers without a gateway. - A "New" line above the first unread message of a chat, and a bar that counts the new messages with a jump to the first; unread counts survive restarts. Messages count as read only while their chat is on screen in the focused window.
- Other users' myTeamSpeak avatars (TeamSpeak 6), as the official client shows them: where the server has no avatar of them, its avatar could not be downloaded, or the server is only observed.
- Pictures (banners, avatars) go through the desktop's proxy where the desktop portal names one (Linux), and through the system proxy on Windows and macOS; SOCKS proxies work too.
- tsgw logs what it does: a startup summary, the address the TeamSpeak
server sees for its queries (with a hint when that address is not
allowlisted), every app connection with its logins and how long they
took, refused logins, slow requests, ServerQuery failures, relays and the
observer.
log.level(TSGW_LOG_LEVEL) sets what is logged,log.file(TSGW_LOG_FILE) also writes to a file that is rotated at 20 MB (five kept); colour only on a terminal. - Every gateway a server publishes is tried in turn (TLS first, 20 seconds each) before waiting to try again, so a TLS proxy that fails falls back to the plain gateway published next to it.
- A call bar on the desktop's voice channel page: mute, deafen, share, the voice settings and Leave, under the people and streams (Voice Settings and Leave left the header). A smaller stage, one row of people and the streams as rows, leaves about 200 px more for the chat; it is remembered, and windows under 800 px tall always have it.
- A theatre mode for streams: the stream viewer's new button fills the window with the stream and its chat, without the servers, the channels and the members. Escape leaves it, and full screen too.
- Streams pop out into a window of their own on the desktop, optionally kept on top of other windows, while the main window goes on; closing it brings the stream back.
Changed
- The desktop portals (screen capture and camera through PipeWire, the push to
talk shortcut, the file chooser and the proxy settings) talk to D-Bus through
ashpd on
async-ioinstead oftokio. Nothing changes on screen; the GPUI front end, which is being built, enables ashpd'sasync-ioand ashpd cannot have both. Every D-Bus connection of the apps, the desktop notifications' included, now runs on an I/O thread of its own, whichever part of the app asks first. - The build needs Rust 1.95 (
rust-toolchain.tomland the workspace'srust-version; 1.95.0 was used to check it), up from 1.94: the GPUI front end, which is being built, depends on a library that calls a function stable since 1.95. Nothing changes in the apps; the gateway's Docker image builds fromrust:1.95-bookworm. - The key store now keeps the device key when signing out of an account, unbound, whether it was in use before the account or was made for it; "Forget this device's identity" is the only way a key is deleted. The identity store also reports a damaged TeamSpeak identity by the kind of damage and never repeats its key in an error. Nothing changes on screen yet: accounts and sign-in are later steps.
- The view models, the app's state, the state change of every engine event and
the decisions of the settings pages, the Stream Studio, the streams, the chat,
the servers, the audio settings page, the friends and the development
switches moved out of
voelin-uiinto a new crate,voelin-ui-vm, which depends on no UI toolkit (a second front end can use it);voelin-uiconverts its plain rows into Slint's and keeps the window, the Bridge writes and the engine's tasks. The chat formatting reader and the Twemoji archive moved with them. Two things change on screen: the chat of a server that is gone takes the colour of its title instead of opaque black, and a cached avatar file cut after a valid header shows the initials instead of a broken picture. See docs/ui.md, "Two crates". - The identity store keeps identities of more than one kind (TeamSpeak, a Voelin
key, the signed-in account) with the account each belongs to, as a
voelin-identitykey store, in two database migrations. Existing databases migrate on first start and every identity stays what it was (kind TeamSpeak, no account, same key, name, origin and default); nothing changes on screen yet. The build now fetchesvoelin-identityfrom the private VoelinProtocol repository, so a fresh checkout needs read access to it (see docs/building.md). - Selecting a server observes it through its gateway at once; the Observe button is gone. The server dialog asks only for the address, password, name and nickname: the gateway is found from the address.
- Relayed messages appear in TeamSpeak under the author's own nickname
(
Nick1while the name is taken), not as[Nick] textfrom the relay. - The client reports itself as TeamSpeak 6 (
6.0.0-beta4.1on Linux,6.0.0-beta2on Windows) instead of3.?.?;--client-version genericclaims the old version. - Watching streams: VP8 decodes on one thread (FFmpeg's slice threads made multi-partition streams 40-80 % slower), pictures are converted for the window on their own thread into reused buffers, and libvpx and dav1d use fewer threads. A 1440p60 VP8 stream from a 6-8 core sender showed 35-49 fps; FFmpeg decodes it at 95-101 fps on one thread against 54-60 on four.
- Release builds no longer limit Cargo to one job.
- The gateway is invisible: relayed messages look like everyone else's (no "via relay"), and a gateway that is away is tried again quietly instead of showing a WebSocket error; only what the user did and failed is told, in plain words. A server whose gateway is away no longer shows as connecting, so it can always be joined.
- A server's published gateway replaces one stored before (found or typed into an older version), so a gateway that moved is followed.
- zbus's warnings about desktop portal requests are left out of the logs.
- Pop-ups, menus and tooltips have a clearer edge, and the member card, the emoji picker and the notifications panel dim the window behind them.
- Double-clicking a channel of a server without voice connects into it (it said "not connected with voice").
- Older chat messages load when scrolling up, above the messages on screen, which stay in place; the Older messages button remains for a chat that fits on the screen.
- One dialog adds a server, with Save and Connect (Enter connects). Connect connects only a server it saved (Join connected the server shown before when saving failed).
- A slimmer top bar on desktop: only the search and the bell. The bell's panel opens under the bell and is as tall as its notices; the members button is in the voice channel's header (as in the chat's), About in Settings. The user card has no settings gear (the rail's stays); its avatar and name open your account.
- Home shows where you left off (the last voice channel, joined in one click) and your unread mentions; the welcome banner shows only before the first server. Friends show once, the quick actions are gone, and the sidebar lists your recent private chats.
- Each server has a colour of its own (two often shared a blue), and small server icons are drawn sharp at twice their size instead of stretched. Small avatars, as in the channel tree, show one letter.
- Channels have one icon everywhere, the speaker, and are named without a
#in tabs and elsewhere. - The members panel shows a hand on those who need talk power to speak, instead of everyone's talk power as a bare number (the member card still has it).
- The chat header's pinned messages and topics are icon buttons with a count, so the channel's topic has room.
- Private chats live on the Direct Messages page, not in the server's chat tabs, and their unread messages count there (on the phone, on the Home tab) instead of on the server rail.
- Stream cards show the streamer: their avatar on a painted scene in their colour, with what they share, instead of a bare screen icon (TeamSpeak streams have no preview pictures). Your own stream from the Stream Studio shows its picture.
- The stream viewer's controls hide while you watch, 2.5 s after the pointer last moved over the picture (in full screen the cursor too; on a touch screen a tap shows or hides them), and the streamer, the title and LIVE are in the header above the picture instead of over it.
- The phone's voice screen has one header: the top bar shows the channel on its banner, the server below it instead of the channel's topic, and Back; Leave is only in the bottom bar. Pinned messages and topics are in the More menu and the row of people is smaller, so the chat has about 130 px more room. With push-to-talk, Hold to talk is the bottom bar's middle button instead of the microphone button by the composer; Go Live and Share are one Share button that opens the share menu (a screen, or the Stream Studio) as on desktop. The microphone button says Mic on or Mic off.
- The phone's Servers tab is titled Servers; the server's name and counts are only in the server card below the server icons, no longer in the top bar too. The voice card shows only your channel, on desktop too.
- Banners: up to 128 MiB, more time on slow hosts, BMP and ICO too, and SVG after a comment or DOCTYPE; pictures larger than 4096 pixels on a side are scaled down. A banner that fails is tried again for as long as it is shown (every 15 minutes at most), and the log says why it is missing (HTTP status, an HTML page, a video, too large). The picture cache defaults to 1 GiB, the decoded images to 256 MB.
- Banners that fail: the log names the URL (without its query) the first time, says when a connection stalled and after how much data, and when it could not connect at all. A banner that is not there (HTTP 400, 404, 410) is tried again after 15 minutes and then hourly; a host that asks to wait (429, 503) is waited for. A banner shown again is only checked for changes (ETag, Last-Modified), not downloaded again. At most 6 downloads run per host, so a slow host cannot hold up the others.
- The gateway: only a refused login stops observing; anything else is tried again after 1, 2, 5, 10, 20, then every 30 seconds, and at once when voice connects. A connection that stops answering is noticed within 90 seconds. Finding a server's gateway asks DNS and the gateway at once instead of one after the other. The log says what was found, which gateway was tried, how long each step took and why one failed.
- tsgw answers faster: each ServerQuery command takes under 2 ms instead of
about 45 ms (TCP_QUICKACK), so logins and startup take milliseconds.
TeamSpeak's flood protection is shared by all of tsgw's query
connections, so tsgw no longer earns a 600 second ban. It starts while
the TeamSpeak server is still down and connects once it is up, its
/healthsays what is missing, and it stops cleanly on SIGTERM. - The client builds on VoelinProtocol's release
v0.2.0(the tag, no longer a commit) forvoelin-identity,voelin-protoandvoelin-model; nothing the apps do changes. Two differences underneath: signing out of an account lists a kept device key once (a key whose row carried a device-only binding was listed twice), and the debug text of the protocol's messages (Hello,Welcome,Server,Channel,Memberand the others whose secrets VoelinProtocol lists) shows<redacted>in place of a password or a token, so a log line or a failed test that prints one does not show it. - CI and the package builds give the VoelinProtocol deploy key only to the step
that fetches the sources. The CI job writes the key to a directory of its own
(no
~/.sshconfiguration), uses it forcargo fetchasssh -iwith the committed host key, and deletes it right after and again in a step that always runs; the formatting, Clippy, build, test and policy steps, which run the repository's build scripts and tests, are--offlineand run in a job without the key. The Docker builds (Linux, Windows, Android and the gateway image) fetch in aRUNwith the ssh mount and build--offlinewithout it, and the release workflow stops its ssh-agent right after the last build. A job gives the key only to a runner that reports version 3.1.0 or newer (the old runner gitea-runner-docker v0.6.1 printed a multi-line secret in the job log; the deploy key was replaced, id 7) and, on a pull request, only when its head branch is in this repository; otherwise it stops with the reason. See docs/ci.md, "VoelinProtocol access".
Removed
- myTeamSpeak account sign-in, profile, avatar, badges and User Tag: the
login page at start, the sign-in form and profile in Settings → My Account
(it says "Account sign-in is not available in this build"), and the account
presented to voice servers. They return through the gateway. A session an
earlier build saved stays in the system keyring (item
myts/session) until you delete it there.
Fixed
- A deleted identity key no longer stays in the database file: SQLite overwrites what it deletes, and the log is truncated after a key is deleted (an identity you delete, a key a sign-out deletes).
- Hover help in the Stream Studio (a source's error, the status details) shows each time and closes when the pointer leaves; it showed only once, and stayed open until a click.
- Spacer channels:
[spacer],[lspacer],[rspacer]and[*spacer]lines are drawn as TeamSpeak draws them, like[cspacer]was, and chats, search results, notifications and the other screens show a spacer's text instead of its raw name. - Locked channels ask for their password (kept until voice disconnects, and asked again when it is wrong), and joining a full channel or one the server refuses says why; joining did nothing before.
- Pokes can carry a message (up to 100 characters); they were always sent empty.
- While a priority speaker talks, everyone else (watched streams too) is dimmed by the server's setting, as in TeamSpeak; nobody was dimmed before.
- BBCode from other clients shows as formatting (bold, colours, links, quotes, lists, code, pictures) instead of raw tags, and the server's welcome message opens the server chat. Messages with emoji keep their line breaks.
- Joining a friend in a subchannel of a server without voice connects into that subchannel; it connected into the default channel.
- Closing a chat tab left of the selected one keeps the selected chat; the one after it was selected.
- Connecting with voice from a private chat (Direct Messages) keeps that conversation open; it turned into the voice channel's chat, and the composer sent there.
- Observing no longer stops for the whole run the first time a server is joined with a new identity (the gateway did not know it yet).
- tsgw reconnects its query connection for logins when the TeamSpeak server restarts; before, every login was refused until tsgw was restarted.
- Push-to-talk controls (Hold to talk) showed in voice activation and continuous mode until the settings had been opened once.
[0.0.1-alpha] - 2026-10-04
The first alpha.
Added
-
myTeamSpeak account sign-in (desktop): sign in with the account's email, password and one-time code; the session is kept in the system keyring and checked at start. Voice connections present the account to servers (its id with a proof signed by the account) and follow sign-in and sign-out live. The account screen links to the account website for creating an account, resetting the password and managing it.
-
Banners: the host banner and TeamSpeak 6 channel banners, behind the server card, the channel rows and the chat and voice headers. Banners on the web (http, https) and in the server's own files (
ts3image://) are downloaded, up to 64 MiB, retried after failures and reloaded as often as the server asks; server and channel icons and avatars are retried too. -
Desktop app (Linux Wayland/X11, Windows): servers and bookmarks, channel tree with talking indicators, server and channel chat, voice with push-to-talk (global hotkeys), voice activation, echo cancellation, noise suppression and gain control, per-user volume.
-
Observing a server invisibly and chatting in channels without joining them, through the
tsgwgateway or own ServerQuery credentials. -
TeamSpeak 6 streams: watching and sharing screens with sound (VP8, VP9, optional H.264 through Cisco's OpenH264, AV1 decoding).
-
Hardware video encoders (VA-API, NVENC, Quick Sync, AMF, Media Foundation, VideoToolbox) and more software ones (x264, SVT-AV1, libaom) through an installed FFmpeg, loaded at runtime; each is tested at start and skipped with a reason if it does not work. Viewers that answer with another offered codec get their own encoder. Settings:
stream.hardware_acceleration,stream.encoder_backend,stream.codec;voelinctl stream encoderslists what works. -
Video decoding through the installed FFmpeg as well: hardware first (VA-API, NVDEC, D3D11VA, DXVA2, VideoToolbox), then FFmpeg's software decoders, then the built-in ones; each decoder is tested at start, and one that fails while watching is replaced by the next without ending the stream. Viewers now take AV1, HEVC and H.264 without OpenH264, and H.264 with B-frames as the official client sends it (OpenH264 showed under 1 fps of such a stream; 60 fps now). After a lost frame H.264 and HEVC go on decoding while a keyframe is asked for. Settings:
stream.hardware_decoding,stream.decoder_backend. -
Streams connect and play in more cases: H.264 is offered in Constrained High and Constrained Baseline, each viewer getting the profile it takes; a connection that comes up but carries nothing is replaced by one without the SRTP profile or the codec it used; host addresses hidden behind mDNS names (as browsers send them) are resolved; larger socket buffers keep high-bitrate streams from losing packets in bursts.
-
Streams up to 60 Mbit/s, 8K and 320 fps where the hardware can: an automatic bitrate by default (from the size and frame rate, up to 60 Mbit/s; any bitrate can be typed), share and studio presets up to 8K, 320 fps and 60 Mbit/s, and screens in memory converted on the GPU for VA-API encoders. A stream's bandwidth estimate no longer stops near 10 Mbit/s (packets were let out one a millisecond), and H.264 offers declare the level the stream needs (up to 5.2) instead of 3.1. Setting:
stream.bitrate_kbps(0: automatic). -
tsgw: companion gateway for server admins (presence, channel chat relay, history). -
Chat history: messages are kept on the device and, with a gateway, what was said while away appears when a chat opens; scrolling back loads older messages from the gateway. The same message seen twice (over voice and through the gateway) is shown once. Settings:
chat.store_history,chat.history_page,chat.dedupe_tolerance_ms,chat.retention_days. -
Opt-in local crash reports; third-party notices in the About page.
Known issues
- Account keyring access runs on the UI thread: a locked keyring's unlock prompt holds the window until it is answered.