Files
client/docs/evidence/official-parity/visual-source-map.md
T
omar 57807c184e Integrate and verify the native Windows desktop client
- Update pinned Rust, Slint, DSP and WebRTC dependencies, preserving the local vendor patches and source receipts.
- Fix desktop audio scheduling and disconnect handling; include isolated duplex, identity, bookmark and notification checks.
- Record measured differences from TeamSpeak 6.0.0.5232; full visual and server-feature parity remain open.
2026-11-26 16:59:05 +03:00

153 lines
13 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# TeamSpeak 6 visual reference and historical selector source map
## Current account-free desktop reference (6.0.0.5232)
The Windows reference ran the installed **TeamSpeak 6.0.0.5232** Vue frontend from
`html/client_ui` in an isolated, offscreen reference runner; it did not run the official native client.
The `served` fields of all four `target/evidence/official-5232-pc/official/*/manifest-chat-full.json`
files record these SHA-256 fingerprints:
| Bundle | SHA-256 |
|---|---|
| `main.js` | `352683c3eb1d674c6b0fe098ec8ba132b696739a33424080c9266b751de41537` |
| `main.css` | `ae349aa2f33da6ae6e638c211e758e9a6cd1da2d07399701453a52ed7a2ac72d` |
These screenshots are not user-account state. A shared canonical fixture supplies synthetic
connected server/tree, chat and device data; no real server session, normal profile, account login
or media device is used. The reference-only `pair-report.json` records a passing instrument self-test
and fixture equality, not a visual pass. It records five blocked requests, 15 unanswered bridge calls
and 11 page errors per variant; the requested scenes were captured, but unprovided services were not tested.
Reference and native coverage: dark/light × EN/RU at 1280×800, with full channel chat (`main`),
Alex private chat (`private`), Alex's client context menu (`menu`), and the top of Audio and
Appearance settings. The account-free product retains independent branding and omits account-only
sidebar actions, account/homebase settings and Remote Apps. Native caption presentation is not
tested offscreen. The native comparator scores the entire frame even where differences are declared.
### Capture and compare from the repository root
The reference runner is a **QA-only** export of the historical scripts, with Node/Electron and
`playwright-core` available. This does not restore Electron to the product. The official `html/client_ui`
must match the pinned hashes; the fixture is a local synthetic evidence artifact, not a dependency
on the official profile. The recorded artifact names below are examples: use fresh output paths
for reruns and update the corresponding comparator inputs.
```powershell
New-Item -ItemType Directory -Path target/reference-ui-5232-tools -ErrorAction Stop | Out-Null
git archive --output=target/reference-ui-5232-tools/runner.tar eb24965076599267687c8c4dd6f24f22953b15f6 scripts/official-pair-capture-offscreen.mjs scripts/lib
tar -xf target/reference-ui-5232-tools/runner.tar -C target/reference-ui-5232-tools
$fixture = 'C:/Users/Admin/tmp/teamspeach-exact-design-20261101/expanded-reference/fixture-data.json'
node target/reference-ui-5232-tools/scripts/official-pair-capture-offscreen.mjs --official-only --out target/evidence/official-5232-pc --themes dark,light --locales en,ru --sizes 1280x800 --screens main,private,settings:audio,settings:appearance,menu --fixture $fixture
$out = Join-Path (Get-Location) 'target/evidence/native-5232-pc-03'
New-Item -ItemType Directory -Path $out -ErrorAction Stop | Out-Null
$env:TEAMSPEACH_PC_PARITY_FIXTURE = $fixture
$env:TEAMSPEACH_SMOKE_NO_NETWORK = '1'
$env:TEAMSPEACH_SMOKE_NO_OS_ACTIONS = '1'
$env:TEAMSPEACH_SMOKE_NO_PHYSICAL_CAPTURE = '1'
$env:TEAMSPEACH_PROFILE_DIR = Join-Path $out 'profile'
cargo run --locked -p teamspeach-native --bin teamspeach --target x86_64-pc-windows-msvc --no-default-features --features test-harness -- --smoke pc-parity --profile-dir $env:TEAMSPEACH_PROFILE_DIR --output $out
python native/tools/compare_desktop_parity.py --official target/evidence/official-5232-pc/official --native target/evidence/native-5232-pc-03/native --out target/evidence/compare-5232-pc-03
```
The native capture receipt is `native-5232-pc-03/parity.json`; scene JSON/PNGs are under its
`native/` directory. The comparator requires Python with Pillow and an output directory that
does not yet exist. It writes `parity-report.json`, whole-frame and region diff images and threshold
masks under the compare root. A pixel differs if any RGB channel delta exceeds 16/255, the pixel
limit is 0.5%, and independently measured region geometry must match within 1 px. Crops share
official coordinates without alignment, resizing or masking. Missing geometry is not a pass.
Both `-02` and `-03` completed 20/20 native captures; both compare reports record **0 passed,
20 failed, 0 blocked**. Whole-frame differing pixel ratios across the four variants were:
| Scene | `compare-5232-pc-02` | `compare-5232-pc-03` |
|---|---:|---:|
| Main | 12.88–15.68% | 7.36–8.85% |
| Private chat | 5.81–7.10% | 4.83–5.88% |
| Client context menu | 50.90–76.44% | 8.98–10.99% |
| Audio settings | 11.14–12.90% | 11.18–13.12% |
| Appearance settings | 13.47–16.30% | 11.64–13.37% |
These offscreen captures do not establish strict visual parity, installed-window behavior or
functional interoperability. See [FEATURE_COMPATIBILITY.md](../../../FEATURE_COMPATIBILITY.md)
for the separate functional evidence and open acceptance gates.
## Historical source map (6.0.0.5163, visual cutover 2026-11-01)
Source: installed TeamSpeak 6.0.0.5163, `html/client_ui/main.css` (sha256 `bc700401d04954d0…`) and
`main.js` (sha256 `9d6bea2ee5333086…`), read-only. `css@N` = main.css character offset; `D@N` / `L@N` =
offset inside the dark (main.js @92422) / light (main.js @201685) theme module string; `js@N` = main.js
offset; `render@N` = Vue render function offset. Full extractions: `ts6spec-*.md` in this folder.
User captures of the official client (session-local, not copied) confirmed placement and colours:
1553×998 server view with channel stream, 857×924 / 827×913 stream + chat, 1553×925 screenshare dialog,
262×461 client menu. Implementation: `app/renderer/styles/app.css`, `index.html`, `js/sidebar-layout.js`,
`styles/titlebar.css`, `app/main/titlebar.js`.
| TeamsPeach | Official component | Values used | Source |
|---|---|---|---|
| `:root` tokens | theme `:root,::after,::before` blocks | all `--tsv-*` dark/light colours | D/L merged roots, main.css `:root` scale |
| `@font-face "Noto Sans"` | `@font-face` Noto Sans (official bundles 2.013) | upstream Noto Sans 2.015 VF from google/fonts, OFL (official bundle file not reused) | main.css font-face |
| `html, body` | `#app` | 15px, weight 450, antialiased | css@59619 |
| `.shell` | `.tsv-window` | flex, `--tsv-bg` | css@60153 |
| `#app-sidebar` | `SidebarArea .tsv-sidebar` | 270 default / 420 max / 62 rail; gradient #121A2C→#1D2537 | js@1273206, D@10938 |
| `.connection-item`, `.server-item` | `.tsv-activities .tsv-item` | 44px, 4px gap, pill inset 2/10 radius 8 deviant bg | D@14046–14691 |
| `.connections-title`, `.servers-title` | `TSSidebarTabHeader` | 13px subtitle, padding 0 10px | css@258407/258503 |
| `.self` | `.tsv-sidebar .tsv-footer` | 55px, 3px #171C2A separator inset 20px | D@11881/12066/13578 |
| `#server-panel` | `ContentView.tsv-activity-main.main-pane-layout` | 500px, min 220 | js@1273206 |
| `.pane-bar` | `.tsv-window-bar` | 44px, #121A2C, padding 0 10px | D@35522, css@67352 |
| `.toolbar-pill`, `.tool-btn` | `.tsv-central-toolbar-buttons` | 26px pill on `--tsv-bg`, pad 10/20, 1px strong-bg separators right 4px | css@378658, D@12904/13028/36427 |
| `.room-side` radius | `.tsv-window-bar::after` fillet | 10px inverse corner | D@12406 |
| `.room-side` background | `--tsv-servertree-bg-gradient` | 25deg #252F44→#2E374C | D@38084 |
| `.server-head`, `.server-card` | `TSServerHeader .tsv-view-banner` | 92px slot, card 74px at 18px, radius 10, gradient @ .9, 55px icon, name 16/28 bold | D@38491–40406, css@43842–46115 |
| `.tree` | `.ts-server-tree-scroller` | padding 9/1, stable 8px gutter | D@37278 |
| `.tree-row --indent` | tree indent | min(d,4)·10 + max(d−4,0)·5 | js@4152551 |
| `.channel-row` | `.ts-server-tree-item-leaf.channel` | 44px; pill inset 7/10 radius 9, 1.5px outline; hover 4/7; selected tint2; channel bg gradient #192031→#1D263A | D@17369–29470, css@618991 |
| `.channel-collapse` | `.ts-expander` | 22px chevron, rotates when collapsed, hover tint2 | css@47615–48238 |
| `.channel-preview` | `.channel__user-preview` | 22px avatars, 7.26px overlap | css@609161 |
| `.spacer-row` | spacer leaf | 44px, 14px semibold | D@29677 |
| `.member-row` | `.ts-server-tree-item-leaf.client` | 40px, padding-left 25, 33px avatar, nick 14px #bbd6f3, self tint | css@623635–624409, D@31141 |
| `.group-label` | `.ts-server-tree-item-groups span` | header-bg chip, 13px subtitle, radius 6, line 17 | D@29011–29333 |
| `.member-flags`, `.member-badges` | `.ts-server-tree-active-status` | 23px plate, radius 7, 17px icons, gap 6 | css@407337, D@28936–31043 |
| `.server-status-bar` | `.ts-server-status-bar` | padding 0 40px | D (ts-server-status-bar) |
| `.broadcast-controls button` | constructive tool buttons (`video.action.start_stream`) | attention green #25dd85 | js@4397696, css `.tsv-font-attention` |
| `.workspace` | `ContentView.tsv-activity-detail` | min 295, shaded body | js@1273206, css@90507 |
| `.session-head` | `.tsv-content-header-bar` | 71px, 38px icon, 24/28 bold | css@67443, D@35588 |
| `.content-separator` | `.ts-horizontal-separator` | 4px header-bg, margin 0 20px | css@253716, D@35446 |
| `.chat-tabs` | `SegmentedControl` | 26px pill on `--tsv-bg`, 13.33px, active tint | css@162933–163775 |
| `.stream-view` | `TSScreenshareStream .video-stream` | 2px `--tsv-bg` border, radius 8, shaded bg | css@56083 |
| `.stream-controls` | tile bottom bar | 26px, radius 8, contrast-bg 70%, hover reveal .12s | css@370281 |
| `.msg`, `.msg-body` | `.ts-chat-room-event-detailed` | inset 15, bubble 8px 12.5px radius 8, tail 12×14, 16/19 text | D@31422–32434, css@499619–500639 |
| `.msg-head` | `.ts-chat-message-header` | 22px, sender 16 bold, time 13 light uppercase | css@497113, D@31811/34262 |
| `.msg-system` | `.ts-chat-message-system-body.compact` | 23px, radius 10, #131824→transparent 80%, 13/15 subtitle, bold names #acacac | css@477464, D@33354 |
| `.composer` | `.ts-chat-input-container` | margin 10, `--tsv-bg`, 1px #697a97 → tint, radius 8 | css@206847, D@34684 |
| `.composer-toolbar`, `.composer-tool` | `.ts-chat-input-edit-toolbar` | shaded, 2px 10px, gap 2.5, buttons 24px radius 2 | css@213134–215372 |
| `.composer-editor` / CodeMirror content | `.ts-chat-input` | 14/18, padding 8px 10px, letter-spacing −.375px (source −.025rem at 15px root) | css@212377, css@1034 |
| `.settings-nav`, `.nav-item` | `.tsv-settings-categories` | clamp(30ch,20vw,50ch), 44px rows, highlight #282F40 + 4px tint bar | css@259528, D@55972–56581 |
| `.card` | `.ts-widget-wrapper` | header-bg, radius 15, padding 8px 20px, 12px gaps | D@57054, css@35075 |
| `.card-title` | `.ts-widget-section-header .title` | 15/19 semibold, 16px below | D@57857 |
| `.theme-picker` | `TSThemePicker` | 2 columns gap 10/8, tiles 28px 10px radius 15, active 2px tint2 | css@682490–683559 |
| `input.toggle` | `.ts-toggle` | 40×20, 16px knob, online when checked | css@164820, D@61535–61841 |
| `input[type=checkbox]` | `.ts-checkbox` | 20px, #0c0d0f, green check | css@166354–167943 |
| `select` | `.multiselect` | `--tsv-bg`, radius 10, padding 2px 10px, 15px | D@64432 |
| `.client-menu`, `.device-menu` | `.ts-context-menu` | gradient #0B1124→#222C41 @ .8, blur 4, radius 8, 14px, rows 30px padding 4px 5px, min 170 max 260 | css@156402, D@55021–60284 |
| `.client-dialog`, `.broadcast-dialog` | `.tsv-modal-container` | contrast-bg, 1px tint2, radius 8, max 680 | css@40455, D@105718 |
| `.broadcast-source-tabs` | `.tabs .tab-item` | underline 2px, active shaded + bold + tint2 | css@85608–86743 |
| `.broadcast-sources`, `.broadcast-source` | `.thumbnail-grid` | minmax(244px,1fr), gap 8/10, centred title chip | css@181094–182973, css@180084 |
| `.toast` | `.ts-notification` | radius 15, gradient #0B1124→#222A3C @ .95, 13px | css@381477, D@76764–78595 |
| `::-webkit-scrollbar` | theme scrollbar | 8px, thumb #0B111D / #b3b3b3 radius 8 | D@6928–7133 |
| `app/main/titlebar.js` | `CentralWindowItem` in window bar | overlay 44px #121a2c / #ebebeb, symbols #fff / #494949 | css@67352, D@35522 |
| `html[data-display-size]` | scale modules Small 53225 / Large 68865 | token overrides; rail52/62/72, no browser zoom | js@320262 / js@318848 |
| `#sidebar-search` | sidebar search row | 36px row; 26px deviant-bg pill; 13px text | css@388684–389157, D@13740 |
| `.toolbar-away` | Away separate toolbar group | 22px glyph, 10px horizontal padding, outside capture/playback pill | js@2818764, css@69894 |
| `.detail-modes` | Info/Chat/Files segmented mode switch | persistent header, 26px pill, actual inline views | css@162933–163775; user capture 78da9978270be0d3 |
| `.client-menu-page` | ToolMenu nested pages | one popup replaces contents, Back restores root/focus; groups, volume, connection info | ts6spec-controls §1.1/§1.4 |
| `#settings-nav` narrow placement | sidebar resources settings | same node moves into sidebar below900, returns above | js@1371244 |
| `.stream-grid`, `.server-tree-overlay` | screen grid / tree overlay | relative grid with computed absolute children, bottom overlay | css@556730 / css@629830 |
These rows record source-to-implementation correspondence, not a completed pixel comparison. New
administration/identity/snapshot/whisper/recording/transfer controls reuse the extracted control tokens;
their behavior evidence and native prerequisites are recorded separately by QA.
Deviations and missing official surfaces are listed in DESIGN.md ("Documented deviations").