Nacre/docs/FEATURES.md
astar76 c91795ca69 S005: one painter per window (D-008); PiP in its own web view
All tabs of a window share one offscreen context and so one Servo painter.
Picture in picture loads the page again in a web view with a painter of its
own and seeks the video; the tab resumes from the PiP time on exit. The PiP
video froze because Servo 0.7 stalls a playing video that is seeked and then
play()ed; pip.start now pauses before seeking.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-11 19:14:32 -06:00

115 lines
6.5 KiB
Markdown

# Feature checklist
Every item of the settings screenshot and of the original Nacre's `config.py`, where it lives, and its state.
"Partial" and "engine limit" items say why in the UI too.
## Browser basics
| Feature | Where | State |
|---|---|---|
| Tabs: open, close, reorder by drag, pin, mute, duplicate, move to new window, close others/right | `actions.rs`, `ui/chrome.rs` | written |
| Reopen closed tabs, recently closed list | `store/session.rs`, `actions.rs` | written |
| Windows, incognito (separate process, temporary profile) | `main.rs`, `paths.rs` | written |
| Address bar: URL or search, suggestions (history, bookmarks, tabs, pages, engine), Alt+Enter new tab | `ui/chrome.rs`, `util::address_to_url` | written |
| Back/forward (with history list), reload, hard reload, home | `actions.rs` | written; "stop" has no Servo API |
| Find in page (count, next/previous, match case) | `inject.rs` FIND_JS, `ui/dialogs.rs` | written |
| Zoom per site, Ctrl+wheel | `actions.rs`, settings `web.zoom_sites` | written |
| Full screen (F11 and page fullscreen) | `app.rs` | written |
| Context menu (links, images, media, selection, spelling, page) | `ui/menus.rs` | written |
| Page dialogs: alert/confirm/prompt, HTTP sign-in, select, colour, file picker, leave page | `ui/dialogs.rs`, `app.rs` | written |
| Pop-ups / target=_blank as tabs, pop-up permission | `app.rs on_create_new` | written |
| Single instance (links go to the running browser) | `instance.rs` | written |
| Session restore, crash recovery offer | `app.rs`, `store/session.rs` | written |
| Error pages (network, certificate, crash) | `assets/servo/*.html`, `resources.rs` | written |
| Developer tools: console + eval, network log, source; Firefox remote debugging | `ui/pages/devtools.rs` | written |
| View source, save page, save as PDF/PNG (no printing in Servo) | `actions.rs`, `pdf.rs` | written |
| QR code for page | `ui/menus.rs` | written |
| Task manager, free up memory | `ui/pages/misc.rs` | written |
| Keyboard shortcuts, rebindable | `keys.rs`, settings | written |
| Gamepads (W3C standard mapping), Web Bluetooth device picker | `app.rs poll_gamepads`, `ui/dialogs.rs` | written; rumble reports unsupported |
| Notifications (notify-send or in-app) | `app.rs` | written |
## General (screenshot)
| Setting | State |
|---|---|
| Setup (first-run wizard, rerun) | written (`ui/pages/misc.rs welcome`) |
| On startup: New tab / Restore / Home page | written |
| Home page | written |
| Search engine (+ custom engines, suggestions) | written |
| Profiles (list, add, delete, open) | written |
| Spell check (languages, dictionaries downloaded, suggestions, add word) | written (`spell.rs`, SPELL_JS) |
| Keyboard shortcuts | written |
| Import from another browser (Chromium/Firefox families; bookmarks file; passwords CSV) | written (`importer.rs`) |
| New tab shortcuts and page elements, backgrounds, weather, notes | written (`ui/pages/newtab.rs`) |
| Custom title bar | written (restart) |
| Floating content card | written |
## Appearance
Colour source (website/system/palette/custom), fallback, palette swatches, mode, scheme style and contrast, motion,
roundness, websites light/dark, force dark, interface size: written (`theme.rs`, settings page). The Material You look
itself is for the UI pass.
## Toolbar
Navigation / Your Nacre / Tools and actions buttons toggles, bookmarks bar always/new tab/never, bookmark manager:
written.
## Performance
| Setting | State |
|---|---|
| Memory (use, threads, free up) | written (Linux numbers) |
| Low-memory mode auto/on/off | written |
| Energy saver off/battery/always | written |
| Memory saver (unload after) | written |
| Freeze background tabs | partial: stops drawing; Servo can't pause scripts |
| Always keep these sites active | written |
| Load restored tabs when opened | written |
| Preload pages | written (DNS warm-up) |
| Smooth scrolling | written (CSS) |
| Still new tab background | written |
| Save data | partial: JS hint, no request header |
| Hardware acceleration | written (software GL, restart) |
## Privacy
| Setting | State |
|---|---|
| VPN: Tor (system, Tor Browser, or started) or custom SOCKS5/HTTP, kill switch while connecting | written (`net/bridge.rs`, `net/tor.rs`) |
| Privacy mode (+ in incognito) | written (PRIVACY_JS) |
| Secure DNS (Cloudflare, Quad9, Google, Mullvad, AdGuard, custom) | written (`net/dns.rs`) |
| HTTPS-only mode with fallback prompt and exceptions | written |
| Site settings (defaults and per-site) | written |
| Delete browsing data (+ on exit) | written |
| Send Do Not Track and GPC | partial: JS only (no headers in Servo 0.7) |
| Remove tracking parameters | written |
| Block third-party cookies | engine limit, shown as unavailable |
| Google sign-in quirk | written (UA switch + JS) |
| Sites where ad blocking is paused | written |
| Remote debugging, user agent | written |
## Ad blocker
Block ads and trackers, filter engine status + update now, 22 filter lists in groups, your lists, own rules, hide
leftovers (cosmetic incl. generic hiding), animate removal, block YouTube ads, update automatically: written
(`adblock.rs`, `hub.rs`, COSMETIC_JS). Seed lists ship in `assets/filters`.
## Downloads
Save to, ask where, show when they start, pause/resume (Range), retry, cancel, open/show in folder, external download
managers (AB Download Manager, aria2/Motrix, JDownloader 2, FDM, IDM) with ping status and fallback: written
(`net/download.rs`, `net/dlm.rs`). Downloads are detected by URL type, a header probe, and `<a download>`.
## Media
Media button (when playing/always/never), player flyout (art, seek, controls, mute tab/site, PiP), visualizer
(cava / simulated / off), spin artwork, Discord Rich Presence (arRPC/Discord, per-site app IDs, browsing activity,
buttons, paused state): written. Picture in picture (own always-on-top window; reloads the page in a web view
of its own and seeks the video, page state lost, D-008): verified on Xvfb (S005). Protected content (Widevine): engine
limit, shown as unavailable.
## Passwords and autofill
Encrypted vault (device key or master password, auto-lock, re-ask before showing), save prompt, autofill, strong
password suggestion, addresses and cards, CSV import/export, generator, weak/reused check: written
(`store/vault.rs`, AUTOFILL_JS, `ui/pages/passwords.rs`).
## Apps
Install site as app (own window, launcher entry), desktop shortcut, user scripts and styles (stand-in for extensions):
written.
## About
Version, engine, colour, profile paths, update repository, automatic and manual update check: written
(`updates.rs`).