From 0ca23d598fd5a71c582b0d3860350f04eab3ef72 Mon Sep 17 00:00:00 2001 From: astar76 Date: Sat, 14 Nov 2026 07:24:23 -0600 Subject: [PATCH] S057: PROGRESS, INDEX Co-Authored-By: Claude Sonnet 5.5 --- Plans/INDEX.md | 2 +- docs/PROGRESS.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Plans/INDEX.md b/Plans/INDEX.md index 64919ab..4b0ef85 100644 --- a/Plans/INDEX.md +++ b/Plans/INDEX.md @@ -9,7 +9,7 @@ Dropped with Servo (D-032): S011, S029, S030, S032, S033, S037, S038. ## 08 WebKit engine (in this order) - [x] [S053 — Remove Servo: vendor crates, gst-mse, Servo-only tests/tools, docs and texts](08%20WebKit%20engine/S053-servo-removal.md) · Sonnet high -- [ ] [S057 — Small UI bugs: Customize panel scroll, site colour from the favicon, colour picker glyphs, beforeunload on quit](08%20WebKit%20engine/S057-small-ui-bugs.md) · Sonnet high +- [x] [S057 — Small UI bugs: Customize panel scroll, site colour from the favicon, colour picker glyphs, beforeunload on quit](08%20WebKit%20engine/S057-small-ui-bugs.md) · Sonnet high - [ ] [S058 — Ads vanish before your eyes: Pie-style cookie shield removal animation (port of the original)](08%20WebKit%20engine/S058-ad-removal-animation.md) · Opus medium - [ ] [S051 — Profile folder, sealed cookies, site data, incognito, media source](08%20WebKit%20engine/S051-profile-cookies-media.md) · Opus medium - [ ] [S052 — WebKit tuning defaults, background tabs, memory check](08%20WebKit%20engine/S052-tuning-defaults.md) · Sonnet high diff --git a/docs/PROGRESS.md b/docs/PROGRESS.md index 2a6efc8..c663cb3 100644 --- a/docs/PROGRESS.md +++ b/docs/PROGRESS.md @@ -431,6 +431,14 @@ Later: S010 list: user checks the Discord icon with their own client (the Discor - Not done: mse WebM VP9/Opus clip unsupported; spec attach (no sourceopen), ranges (seekable vs duration Infinity), removeSourceBuffer (quota), changeType unsupported; player seekBuffered/seekUnbuffered/ended (no event), garbage ("MediaSource closed"). Hidden nested session only. keys.txt ran alongside, exit 0. - Later: rewrite mse-spec/mse-player expectations to WebKit's actual MSE behaviour or drop the cases. +## S057 — Small UI bugs: Customize scroll, colour picker glyph, beforeunload on quit, site colour from the favicon (2026-11-14) +- Done: Customize sheet's Area allocated nothing, so egui_area `contains` was false over most of it and the wheel fell to the page: it now allocates its rect (`customize-scroll.txt`: sheet scrolls to its last row, page unmoved). Colour picker: egui's hard-coded 📋 is aliased to `content_copy` in the icon font (`tools/icons.py`, `colour-picker.txt`). Quit and window close ask each page's `beforeunload` (`App::begin_shutdown`/`shutdown_answered`/`cancel_shutdown`): Nacre's "Leave this page?" shows tab by tab; Stay cancels and reloads the tabs that had answered; session is saved first on quit; selftest `quit` and the final exit skip the ask (`quit_now`) (`unload-quit.txt`). +- Site colour: favicon's dominant vivid colour (`theme::dominant_vivid`, 12 hue buckets, skips transparent/grey/white/black, needs ≥ 4 px and 5 %), else the page's `theme-color`; page background dropped. `Tab.favicon_colour`, restyle on `Event::Favicon`. Cause of "nothing changed": background fallback gave white/black. `favicon-colour.txt` (loopback server, red/blue/mono icons) + `colours.txt` still green; shots read. +- Verified: `cargo test` 81 + webext 1; hidden smokes exit 0: customize-scroll, colour-picker, unload-quit, favicon-colour, colours, launch, basics, input, chrome, newtab. +- Wheel surfaces: egui Areas that allocate their rect (Customize sheet, flyouts, dialogs, menus, toasts already did). +- Not done: a Stay answer on a tab that closed in a quit leaves it reloaded (state of form fields lost); no visible run. +- Later: other Areas that only paint (none found) would repeat the Customize bug. + ## Later - A link followed inside a frame still goes through the tab's navigation policy (WebKit's GTK API has no frame info; S050). - file:// media outside the XDG user folders doesn't play (WebKit sandbox, D-043).