# Phase 4 review (S021) Review of the Material You redesign (S015–S020) and the chrome follow-ups. Reviewer: the user. HEAD at time of review: see `git log`. Compare against `docs/UI-BRIEF.md` ("What the user asked for", the new tab page in the video). ## Launch Throwaway profile (does not touch your real data): ``` H=$(mktemp -d); HOME=$H XDG_CONFIG_HOME=$H/.config XDG_DATA_HOME=$H/.local/share XDG_CACHE_HOME=$H/.cache XDG_STATE_HOME=$H/.local/state target/release/nacre ``` Real profile: `target/release/nacre` (ask before using; the first run with a fresh profile starts the welcome flow). Add `NACRE_NO_BRIDGE=1` to disable the network bridge. Never connect Tor or proxies while testing. ## What to try - **Welcome** (`nacre://welcome`, fresh profile): the multi-step setup, motion between steps, the colour you pick. - **New tab page**: greeting, clock, shortcuts (add one), now playing (play a video in another tab), weather, search pill, Customize panel (backgrounds, image, blur), pointer reactions. - **Chrome**: tabs (open, close, reorder, hover), the cookie spinner in a tab while a page loads (R1-10), the address bar turning into a wavy progress line while loading and morphing back on hover/focus/typing (R1-09), toolbar buttons, menus. - **Flyouts**: Protection (ad blocker, privacy mode, VPN in one flyout, R1-15), QR code (R1-17), downloads, apps, site info, profiles, bookmark, back list: titles, icon actions, sections, rows, empty states (R1-18). - **Settings** (`nacre://settings`) and every other `nacre://` page (history, bookmarks, downloads, passwords, apps, devtools, about): layout, search, narrow window. - **Controls hold still** (R1-21): Appearance page while scrolling; drag Interface size (value shown while dragging, applied on release); segmented buttons and chips do not move their neighbours. - **Light / dark**: switch in Settings → Appearance and check every page and flyout both ways. - **Colours** (R1-11): Settings → Appearance colour source: Website (open a site with a theme colour, then an internal page and back), System accent (should match your Caelestia scheme), Palette, Custom. - **Seeds from websites**: open sites with different theme colours; the window restyles; internal pages use the browser colour, not the site's. - **Motion setting**: Settings → Appearance → Motion (fast / normal / slow / off): animations scale or stop. ## Known limits - Servo 0.7: no custom request headers, no third-party cookie blocking, no per-tab private mode, no EME/DRM, no printing (docs/DESIGN.md "Engine limits"). - Open from `docs/review/phase1.md`, planned later, do not report again: YouTube and site compatibility (R1-03, R1-12, R1-14), dark-mode icons on sites (R1-13) → S006; ad-block removal animation (R1-07) → S012; per-site memory and permissions (R1-20) → S008; privacy mode (R1-16) and cookie protection (R1-19) → their own plan (D-011). - On a throwaway profile the System accent does not find `~/.local/state/caelestia/scheme.json` (HOME and XDG_STATE_HOME point elsewhere), so it falls back to the GNOME accent: expected, not a bug. - Live follow of wallpaper changes for the System accent needs a restart (R1-11). - Interface size above ~110 % on a narrow window clips wide segmented rows at the right. - The toolbar history, bookmarks and passwords buttons open pages, not the old browser's flyouts yet. - The downloads button keeps a plain circular spinner (only tabs have the cookie). - No packaging yet: no installer, AppImage or release (D-001). ## Problems State tags: `[open]`, `[fixed ]`, `[wontfix: reason]`. Severity: high / medium / low. Format: `R4-NN [state] what. Where. How to reproduce. Severity.` R4-01 [wontfix: user's niri dotfiles do not export a KDE/GNOME scheme; Nacre keeps reading Caelestia, KDE, GNOME and the portal] System accent reported "can't find colour profile". Where: Settings → Appearance → System accent. Reproduce: throwaway profile, source System accent. Severity: low. The user will fix their desktop. R4-02 [fixed fc0df2a] Duplicate toolbar icons: the shield and the globe (VPN) sat side by side. Where: right toolbar (screenshot 1.png). Fix: the VPN button is gone (also from Settings → toolbar choices); VPN state and switch are in the Protection flyout. Severity: low. R4-03 [fixed S006] YouTube still does not load (= R1-12, R1-03). Where: https://www.youtube.com. Severity: high. → S006. Fixed: HTTP/2 header limit, see R1-12 in phase1.md. R4-04 [open] Address bar has no inline autofill: typing "wikipe" should complete to "wikipedia.org" in the field with the rest selected; Right arrow or Enter accepts it; with no completion Enter goes to what was typed. Today only a dropdown (screenshot 2.png). Where: address bar. Severity: medium. R4-05 [fixed S006] CRITICAL: websites do not work. DuckDuckGo loads but nothing can be clicked and there is no right-click menu on pages; input to web content seems broken. Where: any web page. Reproduce: open https://duckduckgo.com, click the search box or a link. Severity: critical. → S006 first. Fix: `window_input` used `is_pointer_over_egui`, which is true over the page (it sits in egui's central panel), so clicks and wheel never reached the WebView; now only floating layers (flyouts, menus, toasts) count. Selftest `click`/`rclick`/`pagescroll` now go through `window_input`; `tests/smoke/input.txt` fails on the old code. R4-06 [open] Nacre's own right-click (context) menu on pages: nice icons, rounded, coloured (Material You). Where: web pages (and links, images, text, fields). Severity: medium. R4-07 [fixed S006] Automated tests for real heavy web use (YouTube, Wikipedia, DuckDuckGo): a smoke run that loads, clicks, scrolls and plays and fails on a broken page. Severity: high. → S006/S007. Done: `tests/smoke/heavy-web.txt` (needs internet; selftest `waitfor`, `locate`/`click @`, `pagetype`, `assert`, `expect`). DuckDuckGo and Wikipedia pass (search, results, scroll, links, WebM playback). YouTube home, search and the watch page load, ads are hidden and counted; playback and PiP fail: Servo 0.7 has no MediaSource ("Your browser can't play this video"), and the result list lays out at zero size. R4-08 [open] A "Settings updated" popup keeps appearing when entering or switching to a tab; the user does not know what it means. Severity: medium. Source not found: no such string in `src/` or `assets/` (case-insensitive greps for "settings updated", "updated", "saved"), and none in `~/.config` (caelestia, niri). Nacre's own toasts all name a concrete action (`Shared::toast` callers in actions.rs). Leads to check when reproducing: (1) a page's Web Notification, shown by `App::on_notification` (src/app.rs) through `notify-send -a Nacre <body>` or, without notify-send, as a toast "title: body"; the text would then come from a site, and a site on the allow list shows it on every visit; check Settings → Permissions → Notifications and which tab it appears on; (2) another app's desktop notification; (3) a nacre:// page script. Next step: reproduce on a throwaway profile and read `nacre.log` / run `dbus-monitor "interface='org.freedesktop.Notifications'"` while switching tabs. Wanted: shown only for something the user changed, and the text says what changed. R4-09 [fixed 613ac50] Discord Rich Presence works with the user's test app ID (set in Settings, not hard-coded: `discord.rs` uses `settings.client_id` / `site_ids`), but the site icon never shows in Discord. Lead: `src/discord.rs` sends `assets.large_image` only when `https_short(image)` holds, so data:/non-https/long favicon URLs are dropped silently; check which favicon URL reaches it and fall back to a known https icon (e.g. the site's /favicon.ico or a favicon service) or the app's uploaded asset. Severity: low. (user) → S009.