Files
client/docs/evidence/native-sidebar-icon-mode.md
T
omar 296b65f96a fix(native): apply icon view mode to sidebar activities
- Size connection and bookmark glyphs from the saved mode without changing row order or ownership.
- Cover expanded and collapsed layouts, window clamping and reopen in the four Windows locale/theme combinations.
2026-11-28 17:14:19 +03:00

2.8 KiB

Native sidebar icon mode (Windows)

Scope: preference:sidebarIconMode, integration base 6b10e0b174. The installed TeamSpeak 6.0.0.5232 JS and CSS matched the hashes in the visual source map. main.js at character 2731865 computes the detailed sidebar mode as Large or Large When Collapsed with a collapsed sidebar; the render passes it to Activities and Resources at 2734869 and 2736537. The appearance options are Small, Large, and Large When Collapsed at 4600670 onward. main.css at 26104 defines the 33 px large and 22 px standard icon tokens, and at 423205 aligns the detailed primary icon with the standard slot. This is a sidebar row icon setting, not a server-tree badge setting.

Native now uses the saved setting for connection and bookmark activity glyphs. It keeps the existing 44 px rows, visible captions in the expanded sidebar, accessible row names on the rail, and separate branding and action icons.

Saved mode Expanded sidebar (420 px) Collapsed rail (62 px) Expanded at 900 px window width
Small 22 px 22 px 22 px
Large 33 px 33 px 33 px
Adaptive 22 px 33 px 22 px

The rendered Appearance combobox selected the localized popup option and the test checked its save receipt and exact saved mode. The table held on Windows in English and Russian, in dark and light, immediately and after reopening each saved mode. At 900 x 800 the expanded sidebar clamped to 385 px without overwriting the saved 420 px width. Both connections and both bookmarks remained in order; expanded captions did not overlap the glyphs, and collapsed rows retained their accessible labels. The viewed tab stayed selected, the other connection kept input ownership, and the same channel conversation and checkpoint message remained through each live change. Each reopen reconstructed the fixture roster and reselected its channel; this is not a claim of live connection or voice restoration across restarts.

Receipt: Windows x64 MSVC, locked/offline, webrtc,test-harness, 3 passed, 0 failed, 0 ignored, 848 filtered out; 104.41 s. Exact tests:

  • smoke::sidebar_icon_mode::sidebar_icon_modes_render_and_reopen_without_changing_ownership
  • smoke::tabs::bookmark_disclosure_restores_hidden_rows_after_restart
  • smoke::tabs::desktop_pane_drags_remain_visible_and_persist_across_restart

Log and captures: target/sidebar-icon-evidence/run5/, including ru-light-reopened-large-expanded.png, ru-light-reopened-adaptive-rail.png, and en-dark-clamped-small-expanded.png. The run used disposable profiles and offscreen Slint with synthetic rosters only. Neither audio endpoint started. No network, owner profile, OS settings, external window, mobile layout, or full official screenshot comparison was exercised.