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.
This commit is contained in:
omar committed 2026-11-26 16:59:05 +03:00
1 parent 05e8d34bcf
commit 57807c184e
530 files changed
+68818 -47940

No files matched your search

@@ -1,4 +1,79 @@
# TeamsPeach selector → official TeamSpeak 6 source map (visual cutover, 2026-11-01)
# 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` =