11 KiB
11 KiB
Phase 1 review (S004)
First working build of Nacre (HEAD at time of review: see git log). Reviewer: the user.
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 target/release/nacre
Real profile: target/release/nacre (ask before using). Add NACRE_NO_BRIDGE=1 to disable the network bridge.
Never connect Tor or proxies while testing.
What to try
- Launch: window opens, new-tab page shows (clock, tiles).
- Open sites: type a URL in the address bar (example.org, a search term, an https site).
- Tabs: new (Ctrl+T), close (Ctrl+W), switch, reorder, reopen closed.
- Settings: open nacre://settings, change something, restart and check it persisted.
- History, bookmarks, downloads pages (nacre://history etc.).
- Quit and relaunch: session restore.
Known limits
- Servo 0.7: no custom request headers, no third-party cookie blocking, no per-tab private mode, no EME/DRM, no printing (see docs/DESIGN.md "Engine limits").
- Plain egui UI; the Material You redesign comes later.
- Software rendering only was tested so far (Xvfb + llvmpipe); real GPU is untested.
Problems
State tags: [open], [fixed <commit>], [wontfix: reason]. Severity: high / medium / low.
- R1-01 [fixed
7b7e0ce] Every UI icon (tab close, toolbar buttons, NTP "Add" tile) renders as an empty box: icon font glyphs missing. Seen in smoke screenshots (tests/smoke/launch.txt). Severity: high. (from S003) - R1-02 [fixed
7b7e0ce] New-tab clock text almost invisible (very light text on white). Severity: medium. (from S003) - R1-03 [fixed S006] YouTube fails to load ("maybe javascript or something is missing"). Where: any youtube.com page. Reproduce: open https://www.youtube.com. Severity: high. Cause not investigated; goes to S006 (basics pass). Fixed (S006): YouTube's HTTP/2 response headers (~19 KiB) were over hyper's 16 KiB default, which servo-net 0.7.0 keeps; the stream was reset (
REQUEST_HEADER_FIELDS_TOO_LARGE) and Servo reportedSendRequest.vendor/servo-netraises the limit to 256 KiB (D-012). Same failure without the bridge, so the bridge was not the cause. - R1-04 [partly fixed S006] Captchas, proper caching "and everything" must work on real sites. Severity: medium. Verify in S006/S007. S006: HTTP cache works (
tests/smoke/cache.txt); reCAPTCHA v2 and hCaptcha widgets load and draw; Cloudflare Turnstile runs (test key passes) but its widget paints as a black half-disc (Servo painting, open). Solving captchas was not tried (site doctor list in PROGRESS). - R1-05 [open] UI is "really basic"; the new-tab page isn't what the user was going for. Severity: medium. Phase 4 redesign; target in docs/UI-BRIEF.md.
- R1-06 [open] Wants the feel of the old Python Nacre (
nacrein ~/.local/bin: dark Material-style lists of nacre:// pages, outlined icons), improved with animations and an "unslop" look, very user friendly. Severity: medium. Input for the Phase 4 redesign. - R1-07 [open] Ad-block removal animation, like the "pie" ad blocker extension: before a blocked ad element (e.g. YouTube in-feed "Sponsored" cards, feed/sidebar ad slots) disappears, show a Material You overlay on it, a tonal shape (cookie/scalloped) with a check mark that pops in, then the element shrinks out and its height/width collapses smoothly so the surrounding content shifts into place (no jump, no blank gap). Applies to cosmetic removals and YouTube ad slots. Today
COSMETIC_JSinsrc/inject.rsonly fades and scales to 0.92 and then setsdisplay:none, so content jumps. Respect the Motion setting andanimate_removal; skip offscreen elements. Severity: medium. (user, during S019) → S012. - R1-08 [fixed S020] Welcome page: make nacre://welcome the multi-step setup flow from the user's recording (steps, motion and frames in docs/UI-BRIEF.md "Welcome page",
docs/ui-reference/welcome-*.jpg), improved where possible. Severity: medium. (user, during S019) → S020. - R1-09 [fixed
87299d3] Address bar becomes a wavy progress bar while a page loads: the address pill turns into a Material 3 Expressive wavy (wiggly) progress line that maps the page's load progress; hovering it (or focusing it, or typing) morphs it back to the normal text field; when not loading it's the normal field. Every change between the two states is animated (spring morph, Motion setting respected). Build it as described here; the old browser's loading wave (a line under the pill) is NOT the target. Severity: medium. (user, during S020) → chrome follow-up after S020, before S021. - R1-10 [fixed
773fc7d] Tab loading indicator: while a tab loads, its favicon spot shows a cookie-shaped (scalloped, M3 Expressive) progress ring, like the original Python Nacre's that the user liked: the stroke draws forward around the cookie outline, then retracts backwards, and keeps repeating while the whole shape spins smoothly; it morphs back into the favicon when loading ends. Motion setting respected (Motion off = static indicator). Here the original IS the reference:draw_spinnerin~/Documents/Apps/Nacre/nacre/widgets.py, used bytabs.py(read only). Severity: medium. (user, after S020) → chrome follow-up with R1-09, before S021. - R1-11 [fixed
f99500f] Colours can't be changed after the welcome setup: once the user finished nacre://welcome, changing the browser colours (Settings → Appearance colour source / palette / custom) had no visible effect. Reproduce: fresh profile, finish the welcome flow, then change colours in Settings. Severity: high. (user, after S020) → first fix before S021 if quick, else S012. Cause found: an internal page typed into a web tab kept that site's theme-color, which won over palette picks under the Website source; the user's exact welcome path didn't reproduce (welcome + every Appearance control works in smoke). - R1-11 detail [fixed S016 follow-up] "System accent" differed from the desktop on niri + caelestia-niri: Nacre read kdeglobals
AccentColor(none there), then GNOMEaccent-color('red', also what the portal reports: #E62D42), which Caelestia never updates. The desktop's real colours are in~/.local/state/caelestia/scheme.json(primary#e6b6f1). Nacre now reads that file'scolours.primaryfirst. Nothing missing on the desktop side; optional: set the GNOME/portal accent too for other apps. Still read once at start: a new wallpaper needs a Nacre restart (Later). - R1-12 [fixed S006] YouTube still doesn't open (same as R1-03; reconfirmed after the redesign). Severity: high. → S006.
- R1-13 [fixed S006] Dark mode: icons on DuckDuckGo (the page opened in the user's test) don't use the right colours. Unclear whether it's the site's own icons under dark mode (prefers-color-scheme / colour-scheme handling) or Nacre's chrome icons; check both. Severity: medium. (user) → S006. Fixed (S006): Nacre's chrome icons and the site's dark scheme were right (
prefers-color-scheme: darkmatches); Servo paints inline SVG from its own markup, so DuckDuckGo'sfill="currentColor"icons fell back to black.SVG_COLOR_JS(inject.rs) sets each SVG's computed colour as itscolorattribute;basics.txtchecks it. Not followed: hover colour changes. - R1-14 [fixed S006] Site compatibility pass: "more things for sites to actually work right": a proper user agent (Servo 0.7 can set the UA through its preferences even though it can't add request headers; pick a mainstream Firefox/Chrome-like UA string, check per-site overrides), JavaScript features sites expect, and a general "doctor" pass over common sites (YouTube, Google sign-in, captchas, DuckDuckGo, Reddit, GitHub). Severity: high. (user) → S006/S007; extend S006 with a site-doctor checklist. Done: mainstream Firefox-form UA (
inject::mainstream_ua),tests/smoke/site-doctor.txt(YouTube, Google sign-in, reCAPTCHA, hCaptcha, Turnstile, DuckDuckGo, Reddit, GitHub); results and open items in PROGRESS "S006 site doctor". - R1-12 detail: the YouTube error page shows
client error (SendRequest)for https://www.youtube.com/ (the request fails in Nacre's fetch/bridge path, not in page JS); start there. - R1-15 [fixed
7e6c701] One shield flyout for protection: the shield button's flyout holds Ad blocker, Privacy mode and VPN as clearly separated sections (today: ad blocker only,docs/ui-reference/current-shield-flyout.png; the VPN has its own button). Severity: medium. (user) → chrome follow-up. - R1-16 [open] Privacy mode must be genuinely useful: anti-fingerprinting (spoof/normalise hardware: canvas, WebGL, audio, screen, hardwareConcurrency, deviceMemory, fonts, timezone/language consistency), strict cookie handling, tracker blocking, verified with EFF's Cover Your Tracks (coveryourtracks.eff.org); auto-enabled in incognito windows. Servo engine limits (no third-party cookie blocking, no request headers, DESIGN.md) are shown as limits, JS-level spoofing via inject.rs where possible. Severity: high. (user) → S007 or a dedicated privacy plan.
- R1-17 [fixed
7e6c701] QR flyout looks broken: the code sits at the top of a tall, empty panel (docs/ui-reference/bug-qr-flyout.png). Size the panel to its content. Severity: medium. (user) → chrome follow-up. - R1-18 [fixed
7e6c701] Flyouts must be friendly and polished like the old browser's passwords, downloads and history flyouts the user likes (docs/ui-reference/old-flyout-*.png: title + action icons, sections with accent labels, rows with icon/title/subtitle/time, search pill, clear empty states). Review every flyout and page with theapp-tasteandunslopskills; "everything should be user friendly". Severity: medium. (user) → chrome follow-up + S021 review. - R1-19 [open] Protect cookies against theft (infostealers copying the profile to hijack sessions). Idea to verify: Servo's
Opts.config_dirpersists cookies as plain files, andsite_data_manager()hascookies_for_url/set_cookie_for_url/clear_cookies(DESIGN.md). So Nacre could run Servo with temporary storage and keep cookies itself, encrypted at rest with a key held in the OS keyring (Secret Service/KWallet on Linux, DPAPI on Windows), restoring them at start; plus "clear cookies on close" (setting exists) and, in privacy mode, best-effort removal of third-party cookies through the site data manager. General rule from the user: where Servo can't do something properly, Nacre may add its own layer (inject.rs scripts, site data manager, bridge) instead of only showing an engine limit; record each in DESIGN.md. Severity: high. (user) → with R1-16 (privacy plan). - R1-20 [fixed S008] Per-site memory must persist and work: zoom/page size, ad blocker on/off per site, privacy mode and other per-site choices are saved, survive a restart, and apply again when the site is opened; site permissions (camera, microphone, location, notifications, pop-ups, autoplay, ...) are really enforced per site, not just stored. Verify with a restart test in a smoke script (set per-site values, quit, relaunch with SMOKE_HOME, check they apply). Severity: high. (user) → S008 (stores and pages pass).
- R1-21 [fixed
8049f6a] Interacting with nacre:// pages feels buggy and not clean. Example: a size (zoom/scale) slider applies its value while you drag, which re-lays out the page under the pointer, so the slider jumps and is hard to set. Sliders that change layout should preview without moving the control and commit on release; check every page's controls for this kind of jitter. Recording:~/Videos/Recordings/recording_20261112_01-00-39.mp4(watch it first). Severity: high. (user) → chrome/pages follow-up before S021.