From 9eda623406a03257d84b33c8c0ae92732af48331 Mon Sep 17 00:00:00 2001 From: yetone Date: Fri, 13 Nov 2026 02:11:22 +0800 Subject: [PATCH] docs: lessons: a script Settings loads runs in the panel too (#6139) 22f2759d7 left agent-prefs red for two days; 41e330bdf fixed it. Docs only; nothing run. --- LESSONS.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/LESSONS.md b/LESSONS.md index 711a1f9e2..99e6e25c8 100644 --- a/LESSONS.md +++ b/LESSONS.md @@ -508,6 +508,18 @@ push.** can't be spelled by a port, an id, a time or a hash. - Seen 2× (2026-10-10, 2026-11-10). +**A script Settings loads runs in every mode the GUI has: the window, +the panel and gateway mode.** +- 22f2759d7 (11-11) added navpages.js, which read `$("#nav")` before + checking the mode. The panel has no #nav, so each Settings draw there + threw, and openAgentPrefs, which waits on that draw, opened no sheet + from the panel's menu. agent-prefs was red in both engines and all + five languages for two days. #6139 got two "seen again" comments and + a duplicate (#6311) before 41e330bdf fixed it. +- Run the GUI files that open Settings in the panel too (`?mode=panel`), + and read the `pageerror` stack before calling a timeout load. +- Seen 1× (2026-11-13). + **Playwright's WebKit is not WebKitGTK.** A GUI change with motion or a new browser API is tried in the real Linux app too. - 18e82adc6 (10-11) traded the layouts in a view transition. The GUI suite