Files
magpie/internal
yetone 22d7ef08fe gui: the model picker opened from a provider's editor takes clicks, not the editor's fields beneath it (#2188, Deja-vuuu)
In a provider's editor, the Agents row's chip opens that agent's model
picker over the dialog. Nothing in the picker could be clicked: a
provider in the rail or a model in the list sent the click through to
the editor's fields underneath. Cause: 2cc663d0a (#820) has
modalBackground make every <body> child except #modal inert while the
editor is open. The picker, #pop, is another <body> child, so it was made
inert too. #pop is now left out with #modal. The only other static
<body> children are the views and the footer, and popups created later
aren't in the list it takes at open.

editor-picker-clicks.test.cjs (chromium + webkit; en, zh, zh-TW, ja, de;
1100 and 420 wide; API faked): opens the editor and the chip's picker,
checks #pop has no inert ancestor, clicks Zhipu in the rail (the list
narrows to it), picks GLM-5.2, and checks one /api/set for
claude/model=zhipu/glm-5-2 while the editor stays open.
Broken by hand (origin's modalBackground put back): it fails on the
inert assertion in every variant. With that assertion dropped, the rail
click times out in both engines on "<button>检测协议</button> from <div
id="modal"> subtree intercepts pointer events", which is the reporter's
symptom. Restored, it passes in both engines.

Run: the 161 GUI files that touch .modal, #pop, pickerRail, achip or
.editor, both engines, concurrency 4, load ~240: 2212 pass, 7 fail, 1
cancelled. Every one of those passes when its file runs alone
(provider-detect-draft, model-id-space, searcher-pick, zhipu-team;
noted on #1544), or fails the same with origin's app.js (login-import
chromium, #1307; account-arrange chromium's 90s budget, which passes in
113s given room, filed as #2200). node --check app.js.
Not tried: the real macOS Wails app.
2026-10-14 23:49:26 +08:00
..
…
…