A workspace HTML file renders in a sandboxed opaque-origin iframe, so the renderer can neither read its text nor see a Cmd/Ctrl+F pressed inside it, and Electron has no page find to fall back on. The renderer now names that iframe. The desktop shell catches Cmd/Ctrl+F when focus is inside a frame with that name and asks the renderer to open the file find bar. Typing in the bar runs the search inside the frame through the main process, which paints highlights there and returns the match count. Browsers keep their native page find, which already reaches the frame. AI-assisted; verified with the tests and tools listed above.
Julius Marminge committed on 11/10/2026, 4:40:04 PMparent1a719dd
Checks
22 successful · 9 skipped · 2 neutral
10 files changedLine totals unavailable
apps
desktop/src
ipc
methods
window.ts
DesktopIpcHandlers.ts
channels.ts
window
DesktopWindow.test.ts
DesktopWindow.ts
FrameFind.ts
preload.ts
web/src/components/files
BrowserDocumentFrame.tsx
RenderedFileFind.tsx
packages/contracts/src
ipc.ts