Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Web survey: the gallery in a browser, and reporting from it

This survey lists every problem egui-pop has, or can have, in its web build (wasm32-unknown-unknown, eframe’s web runner), and ranks them by one goal: the gallery on the web (quazardous.github.io/egui-pop/gallery) should be an easy way for anyone to report a bug or suggest an improvement. A problem that stops a visitor from reaching the inspect picker, copying what they see, or opening an issue weighs more than one that only makes a page differ from the desktop.

It covers the reporting path itself, keys, platform services, storage, rendering and performance, media and embeds, accessibility, and a walk through every gallery page, and ends with proposed follow-ups ranked by value for that goal and by cost.

Read and run on 2026-11-04, against egui-pop’s main (a6e6ed24), egui and eframe 0.37.0, wgpu 30.

How much of this was run. The gallery was built for the web from main (release, wasm32-unknown-unknown, wasm-bindgen 0.2.129: the same crate and features as the CI job “Gallery for the web”, without Trunk’s packaging), served locally and driven headless with Playwright in three browsers on Linux: Chromium 140 (Playwright’s headless shell, WebGL 2 through SwiftShader), Chrome 157 (headless, WebGPU on SwiftShader) and Firefox 141 (Playwright’s build, WebGL 2). The deployed site was loaded once more to time its start. Safari, Windows and macOS were not run; what is said of them is read. Every finding says where it comes from:

  • [browser]: reproduced in the headless browsers above (the browsers named when they differ).
  • [read]: from egui-pop’s or eframe’s source, or a document; not seen happening. Treat it as a strong hypothesis.
  • [upstream]: documented by egui, eframe, a browser or a standard, linked.

Headless browsers inject keys into the page, below the browser’s own shortcuts: a run shows what the page receives and whether eframe cancels the browser’s default action (defaultPrevented, read by a capture listener on window), never what the browser itself then does with a key it keeps. That last part is read from the browsers’ documentation.

Already in progress (a separate change, not repeated here): the browsers take Ctrl+Shift+C (inspect) and F12 (devtools) for themselves; the gallery turns devtools on by default; and on the web the user’s keymap and settings are lost on reload, because App::builder().persist(dir) needs a folder and only the layout goes to eframe’s storage. Rows that touch them say “in progress”.

Already known: the application knows it is on the web only at compile time (cfg!(target_arch = "wasm32")); keymap when conditions have no isWeb; egui knows the operating system under the browser (Context::os), but nothing knows which browser.

Summary

  • The gallery runs everywhere it was tried. It starts in under 3 s locally and on the deployed site (Chromium, a fast link), and all 58 pages draw in Chromium and Firefox with no panic and no error, only warnings ([browser]).
  • The reporting path exists but is hidden and split. Inspect, Copy, and About > Copy version info all work on the web ([browser]), but the inspect chord belongs to the browser and devtools are off (both in progress), the inspect text has no version or platform, the version info says web (wasm32) without the browser or the OS, “Report a problem” opens the bare issue list with nothing filled in, the Help menu has no entry for it, and the repository has no issue template.
  • Most bound keys also reach the browser. eframe cancels the browser’s action only for a fixed list (Ctrl with S, O, P or Comma; Space; Tab; Backspace; the arrows; text). Its should_prevent_default option is never asked for key presses ([browser], [read]). So Ctrl+F opens the find bar as well as the editor’s search, F6 sends the focus to the address bar, F5 reloads the page and loses the session, Ctrl+Plus zooms the page, Ctrl+D offers to bookmark, Ctrl+Shift+Delete opens “clear browsing data” ([read], from each browser’s shortcut list).
  • A reporter cannot point at a page. There is no URL per page: a link always opens the overview, and a reload goes back to it ([browser], [read]).
  • The first load is heavy. The deployed module is 33.6 MB (13.3 MB gzipped on the wire); nothing shows while it loads ([read], measured).
  • No screen reader can read the canvas. eframe’s web runner drops AccessKit’s updates ([read], [upstream]).
  • Platform services degrade quietly, mostly well. Copy and paste of text work ([browser]); notifications fall back to toasts; files come from an in-memory demo folder; there is no file drop, upload or download; full screen, quit and window commands do nothing on the web but stay enabled ([browser]).

The reporting path today

What a visitor does now to report a bug from the web gallery, step by step, with what each step costs. Measured in headless Chromium unless said otherwise.

  1. Know that the tools exist. Nothing on the landing page or in the gallery says how to report: the Help menu has “egui-pop on GitHub”, “Documentation”, “Tips…” and “About egui-pop gallery”; the “Report a problem” link is inside the About dialog and the About page only ([browser]). The Debug bridge page is the one place that says “Turn on Settings > Developer > Devtools to inspect” ([browser]).
  2. Turn devtools on. Settings (Ctrl+Comma) > Developer > Devtools. Until then View > Devtools (F12) and View > Inspect an element (Ctrl+Shift+C) are greyed with no reason given, and the chords do nothing at all, not even a toast ([browser]). On by default: in progress. The setting is lost on reload (in progress).
  3. Enter the inspect mode. Ctrl+Shift+C works in a headless browser ([browser]); in a real Chrome or Firefox the browser opens its own element picker first (in progress). The View menu entry works.
  4. Pick and copy. A click picks; the dialog’s Copy puts a text block on the clipboard ([browser]): element, role, egui id, rectangle, window, layer, zone, block, panel, plugin, theme, kit part, focus, page, story and how it was picked. It has no version, platform, browser or renderer. A swatch on the overview is named only as its container (GenericContainer (container)), as the debugging guide says of custom-painted elements.
  5. Copy the version. A second copy, from the About page or dialog: egui-pop gallery 0.3.0 (a6e6ed24), egui-pop and egui versions, Platform: web (wasm32), Renderer: wgpu: Gl, ANGLE (...) ([browser]). The browser, its version and the operating system are missing; the commit is there.
  6. Open an issue. “Report a problem” opens https://github.com/quazardous/egui-pop/issues in a new tab ([browser]: the page called window.open with that URL and _blank). No title, no body, no labels; the visitor must paste both copies and write the steps by hand.
  7. Attach a screenshot. Only with the operating system’s or the browser’s own tool (Firefox: Take Screenshot; Chrome: devtools’ “Capture screenshot”). The gallery has no screenshot command, though eframe’s web runner does honour ViewportCommand::Screenshot ([read]: handle_viewport_commands keeps that one).
  8. Say where. The page cannot be given as a link (no URL per page), so the steps must say “click X in the side list”.

What a reporter must know beforehand, today: that devtools exist and where their setting is; that the browser’s Ctrl+Shift+C must be avoided (use the View menu); that two separate copies are needed; that “Report a problem” is in the About dialog; and that the page is not in the URL.

Reporting path problems

#ProblemWhat it breaks for a reporterEvidenceFix (size)
R1Ctrl+Shift+C and F12 belong to the browserThe documented inspect chord opens the browser’s inspector insteadin progressin progress
R2Devtools off by default, the menu entries greyed with no reason, the chords silentA reporter never finds inspect[browser]in progress (on by default); also a toast or tooltip saying which setting enables them (S)
R3The devtools setting is lost on reloadEach visit starts over[browser]: on after the toggle, Ctrl+Shift+C did nothing after a reloadin progress
R4“Report a problem” opens the bare issue listThe reporter writes everything by hand; most will not[browser]done (2026-11-04): help.report opens issues/new with the issue form bug.yml filled field by field (template=, then title, version, platform, page, pick), or a body without a form, under 8 KB with the pick trimmed first
R5No “Report a problem” in the Help menu, the palette or the inspect dialogThe entry point is two clicks deep in About[browser]done (2026-11-04): help.report in Help and the palette, a Report… button beside Copy in the inspect dialog, and the About dialog’s link through the same command
R6The inspect copy has no version, platform, browser or rendererTwo copies to paste; half the reports will miss one[browser]Append the version info to the inspect text, or make the report one block (S)
R7The version info says web (wasm32): no browser, no browser version, no OSBrowser-specific bugs (keys, clipboard, WebGL vs WebGPU) cannot be told apart[read] AppInfo::platform, [browser]done for the browser and the OS (2026-11-04): the platform line reads navigator.userAgent (web (wasm32), Firefox 132 on Linux)
R8No URL per pageSteps cannot link the page; a reload loses it[browser]: reload shows the overview; [read]: the web main uses Options::default()Read and write the page in the URL’s hash (#page=files), as --page does on the desktop (S)
R9No screenshot from the appThe reporter needs an outside tool; many reports come without one[read]A “Copy screenshot” or “Save screenshot” command through ViewportCommand::Screenshot (supported by eframe’s web runner) and Context::copy_image or a download (M)
R10No issue template in the repositoryA prefilled URL has nothing to aim at; free-form reports[read] .github/ holds only the pull request templatedone (2026-11-04): .github/ISSUE_TEMPLATE/bug.yml (what happened, expected, steps, version info, platform, page, inspected element), a light feature.yml and config.yml
R11Keys lost after a click outside the canvasAfter the address bar or the browser’s devtools, chords do nothing until the canvas is clicked; a reporter thinks the key is broken[browser]: after a blur, Alt+Down changed nothing; a click on the canvas restored itFocus the canvas when the pointer enters it, or show a “click to use the keyboard” hint while it has no focus (S)
R12A panic shows a message but no way to report itThe one report that matters most is the hardest[read] main.rs failedAdd a prefilled issue link with the panic text to the failure message (S)
R13Console noise a reporter will pastelogging to egui-pop-gallery-0/gallery.log (no file on the web), crash reports: ... operation not supported on this platform, Unhandled egui viewport command: Decorations(true) at every start[browser], all three browsersSkip the log file line, the crash plugin’s warning and the decorations command on the web (S)
R14Commands that do nothing on the web stay enabledView > Full screen (F11), Zen mode, File > Quit (Ctrl+Q) look broken; a reporter files them[browser]: Fullscreen(true) and Close are logged as unhandledDisable them on the web with a reason, or implement full screen with the Fullscreen API (S)
R15The landing page and the gallery do not say how to reportThe goal is invisible[read] tools/site/index.htmlA line and a link on the landing page and in the gallery’s first page (S)

Keys

Every default binding, in a browser

The bindings below are every key given by CommandSpec::key and CommandSpec::key_with in egui-pop’s crates and the gallery (the gallery’s pages and the minimal example included), plus the file picker’s own keys. egui-pop’s Ctrl is the Command key on macOS too (egui_pop_core::keys::chord_of).

Column Prevented is measured ([browser], identical in Chromium 140, Chrome 157 and Firefox 141): whether eframe cancelled the browser’s default action. Column The browser’s own use is read from the browsers’ shortcut lists (Linux and Windows first, macOS with Cmd after the semicolon); reserved means the page never sees the key, or sees it but cannot cancel it.

Chordegui-pop commandPreventedThe browser’s or the system’s own useClass
Ctrl+Btoggle primary side barnoFirefox: bookmarks sidebar; Safari (Cmd+Shift+B: favourites bar)leaks in Firefox
Ctrl+Jtoggle panelnoChrome, Firefox on Windows: downloads; Safari Cmd+J: jump to selectionleaks
Ctrl+Alt+Btoggle secondary side barnoWindows: AltGr+B on some layouts; Chrome macOS Cmd+Option+B: bookmark managerleaks on macOS
Ctrl+Gpalette’s go to / editor go to linenofind next (all)leaks
Ctrl+Ezones page’s extender (gallery)noChrome, Firefox: focus the search box; Safari: use selection for findleaks
Ctrl+Feditor and viewer findnofind in page (all)leaks
F3, Shift+F3find next, previousnofind next, previousleaks
Ctrl+Heditor replacenoChrome: history; Firefox: history sidebar; macOS Cmd+H hides the browserleaks; reserved on macOS
Ctrl+Seditor saveyessave pagefine
Ctrl+Lfile picker: path fieldnofocus the address barleaks, takes the focus away
Ctrl+Dfile picker: bookmark foldernobookmark this pageleaks
Ctrl+Afile picker: select allnoselect all (nothing selectable but the canvas)harmless
Ctrl+Shift+Nfile picker: new foldernoChrome: incognito window; Firefox: reopen closed window; Safari: private windowreserved
Ctrl+Spacefile picker and editor: toggle, completeyesWindows: IME toggle (CJK); macOS (Cmd+Space): Spotlightreserved on macOS by the system
Ctrl+Enterfile picker: choosenononefine
Alt+Pfile picker: preview paneyes (as text)nonefine
Ctrl+CommasettingsyesmacOS Cmd+Comma: browser preferencesfine
Ctrl+Z, Ctrl+Shift+Z, Ctrl+Yundo, redononone outside a text fieldharmless
Ctrl+C, Ctrl+X, Ctrl+V, Ctrl+Insert, Shift+Insert, Shift+Deletecopy, cut, pasteno (on purpose: eframe needs the browser’s copy, cut and paste events)copy, cut, pastefine
Ctrl+Shift+Vpaste specialnoChrome, Firefox: paste as plain textharmless
Ctrl+Shift+Cinspectnodevtools’ element picker (Chrome, Firefox; Chrome macOS Cmd+Shift+C)in progress
F12devtoolsnobrowser devtoolsin progress
Ctrl+Shift+P, F1command paletteCtrl+Shift+P yes, F1 noCtrl+Shift+P: Firefox private window (reserved); F1: Chrome help pagereserved in Firefox; F1 leaks in Chrome
Ctrl+Shift+Tnext theme (gallery)noreopen closed tabreserved
Ctrl+Shift+Gshow grid (gallery menus page)nofind previousleaks
Ctrl+Shift+Kterminal clear, minimal examplenoFirefox: web consoleleaks in Firefox
Ctrl+Shift+Deleteworkbench reset (gallery)noclear browsing data dialogleaks
Ctrl+Shift+[, Ctrl+Shift+]editor fold, unfoldnomacOS Cmd+Shift+[ ]: previous, next tabreserved on macOS
Ctrl+Periodeditor code actionnoLinux (IBus, GNOME): emoji picker; macOS Cmd+Period: stopleaks on Linux
F9editor breakpointnononefine
Ctrl+PageDown, Ctrl+PageUpnext, previous documentnonext, previous tabreserved in Chrome
Ctrl+Alt+Equals, Ctrl+Alt+Plus, Ctrl+Alt+Minus, Ctrl+Alt+0interface zoomnoWindows: AltGr with 0, =, - types characters on many layouts (} @ on AZERTY, } on German)collides with AltGr
Ctrl+Plus, Ctrl+Equals, Ctrl+Minus, Ctrl+0viewer zoomnopage zoom (all)leaks: page and viewer zoom together
Ctrl+Alt+Stoolbar save (gallery)yesnonefine
Ctrl+Alt+Gglobal shortcut demo (gallery)nonone (no global shortcuts on the web)fine
Ctrl+QquitnoFirefox Linux and Windows: quit (reserved); macOS Cmd+Q: quit the browserreserved; does nothing on the web anyway
Alt+Left, Alt+Rightback, forward (context stack, viewer)yesback, forward; macOS uses Cmd+Leftfine (eframe cancels arrows)
Alt+Up, Alt+Downprevious, next page (gallery)yesnonefine
Alt+Shift+Upcontext stack upyesnonefine
Alt+Spacewindow menuyesWindows and GNOME: the window menu (system)reserved by the system
Alt+F7dialog movenoGNOME: move the window (system)reserved on GNOME
F5viewer refreshno (on purpose)reload the pageleaks: the session is lost
F6, Shift+F6next, previous regionnofocus the address bar, cycle browser panesleaks, takes the focus away
F11full screennobrowser full screenworks by accident; the app’s command does nothing
Shift+F11zen modenononefine
Tab, Space, Backspace, arrowsfocus and widgetsyesfine

Reserved keys come from the browsers, not from egui: Chrome keeps Ctrl+N, Ctrl+T, Ctrl+W, their Shift forms, Ctrl+Tab and the tab-switching keys from pages (Chromium’s browser keys note), and Firefox similarly reserves new window, new tab, close, quit and the private window. The only way around them is the Keyboard Lock API, Chromium only, and only in full screen.

Keys: problems

#ProblemWhat it breaksEvidenceFix (size)
K1eframe cancels the browser’s action only for its own list; WebOptions::should_prevent_default is consulted for text, paste, pointer and wheel events, never for key pressesEvery bound chord outside that list runs twice: in egui-pop and in the browser (find bar, address bar, bookmark dialog, page zoom, reload)[browser]: the table above; [read]: should_prevent_default_for_keyegui-pop’s web glue adds its own keydown listener on the canvas that cancels a key when the keymap resolves it (the dispatcher already knows), or upstream: let should_prevent_default see Event::Key (M; the upstream request S)
K2Reserved chords bound by default: Ctrl+Shift+N, Ctrl+Shift+T, Ctrl+Shift+P (Firefox), Ctrl+PageUp/PageDown (Chrome), Ctrl+QThe command never runs from its key on the web; the browser opens a window or switches tabs[read], [upstream] (links above)isWeb alternatives in the default keymap (palette: F1 or Ctrl+K style; next theme: none), and a check that warns when a default web binding is reserved (S)
K3F5 bound to the viewer’s refreshThe page reloads and the session is gone[read]; eframe never cancels F5 on purposeBind the viewer’s refresh to something else on the web (S)
K4F6 regions and Ctrl+LThe browser takes the focus to its address bar; keyboard navigation between regions is gone and the canvas loses the focus (see R11)[read]Cancel them through K1; check by hand that each browser lets a page cancel F6 (with K1)
K5Ctrl+Plus, Ctrl+Minus, Ctrl+0 bound to the viewer’s zoomThe page zooms with the viewer: the whole interface changes size[read]Cancel through K1 (with K1)
K6Shortcuts shown as Ctrl on macOSA Mac user reads Ctrl+B and presses Ctrl (which works, as egui-pop maps both) but every Mac convention says Cmd; reports will say “Ctrl+B does nothing” when the browser took Cmd+B[read]: no Cmd label anywhereShow Cmd (or ⌘) when Context::os is macOS, on the web too (S)
K7Ctrl+Alt chords on Windows collide with AltGrTyping } or @ on French or German layouts may reset the interface zoom; on the web as on the desktop[read]Leave Ctrl+Alt+digit and symbol chords alone while a text input owns the keyboard, or move the interface zoom off AltGr chords (S)
K8Dead keys and IMEComposition goes through eframe’s hidden text agent: an IME commit (にほん to 日本) reached a text field in Chromium; dead keys and AltGr were not run[browser] (IME, Chromium only); [read] the restRun the keyboard walk with a dead key and AltGr in the browser harness (S)
K9Keys before the first clickIn all three browsers the canvas had the focus at load and Alt+Down worked before any click ([browser]); after a click elsewhere it does not (R11). In an iframe or an embedding page it would not have it[browser]See R11
K10No isWeb or isMac in when conditionsA keymap cannot give the web or macOS another keyknownAdd isWeb (compile time) and isMac (Context::os, on the web the browser’s OS) to AppHandle::when_context; cheap, and K2, K3 need isWeb (S)

Are isWeb and isMac worth adding? Yes, both, and cheaply: when_context already sets base keys each pass. isWeb is what K2 and K3 need (a web-only default without changing the desktop’s). isMac is less pressing, since Ctrl already means Command, but it lets a keymap avoid macOS’s own chords (Cmd+H, Cmd+Q, Cmd+Space, Cmd+Shift+[ ]) and it is what K6’s labels read. A browser name (isFirefox) is not worth a condition: K1 removes most of the differences.

Platform services

#ServiceWhat it breaksEvidenceFix (size)
P1Clipboard, textCopy (Copy version info, inspect’s Copy, a text field’s Ctrl+C) and paste (Ctrl+V into a text field) work in Chromium. Needs a secure context (the deployed site is HTTPS; a local http:// address other than localhost is not)[browser] Chromium; [upstream] MDN, secure contextsnone
P2Clipboard in Firefox and SafariNot read back in Firefox (the harness cannot grant clipboard reading there); Safari only writes inside a user gesture, which eframe handles since egui#3621 (issue #3480)untestedCheck by hand once in each (S)
P3Clipboard: custom formats and readingNo backend reads the system clipboard on the web: a paste knows only the text the browser hands over; egui-pop’s typed formats (inspect JSON, colours, nodes) stay inside the page. Reading needs the async Clipboard API and a permission prompt[read] docs/clipboard.md, EguiTextA web SystemBackend over navigator.clipboard.read/write with text/plain and web -prefixed custom formats (M)
P4Files: no file systemThe picker reads an in-memory demo folder; Save writes nowhere; a visitor cannot open their own file to reproduce a bug[browser] files page; [read] MemoryFsAn upload (<input type=file>) into the memory file system and a download for Save (M)
P5File drag and dropeframe delivers dropped files (bytes on the web), but nothing in egui-pop reads dropped_files or hovered_files[read]Read drops into the memory file system and the viewer (S to M)
P6Open URLLinks open a new tab ([browser]: window.open(url, "_blank")); mailto: in the same tab; local files and “Show in folder” are refused with a reason[browser], [read] docs/links.mdnone
P7NotificationsToasts only; the platform page shows the raw error (“no thread to show desktop notifications: operation not supported on this platform”)[browser]Optional: the Notifications API behind a permission (M); reword the page (S)
P8Multiple viewportsDetached panels are embedded as egui windows inside the canvas (egui’s default when the backend has no viewports)[read] eframe sets embed_viewports only on nativeCheck the detach paths draw well embedded (S)
P9Full screen, window commandsFullscreen, Close, Decorations, Minimized, Maximized, StartDrag, RequestUserAttention are logged as unhandled and ignored[browser] (Fullscreen(true), Close, Decorations(true)); [read] handle_viewport_commandsFull screen through Element.requestFullscreen in egui-pop’s web glue; others disabled on the web (S, see R14)
P10Cursor and hiding itSystem cursors map to CSS; CursorIcon::None hides it; bitmap cursors are dropped, so painted tool cursors fall back[read], [upstream] egui#3848 (in docs/upstream.md)upstream
P11Pointer lockNot used by egui-pop; nothing to break today[read]none
P12Single instance, deep links, tray, global shortcuts, focus mode, system text scale, system thumbnails, terminal shellNone on the web; each says so (tray and global shortcuts simulated on the platform page; terminal’s shell section absent)[browser] platform and terminal pages; [read]none; R14 for wording
P13Logs and crash reportsThe log file and crash reports need a folder: on the web only the log tail in memory; a panic replaces the canvas with a message[browser] console; [read]R12, R13

Storage

What each part keeps, and where it goes on the web.

PartDesktopWeb todayEvidence
egui’s memory (folds, panel sizes, scroll offsets)eframe’s filelocalStorage["egui_memory_ron"], about 8 KB[browser]
Workbench layouteframe’s storagelocalStorage["gallery.layout"], about 0.6 KB[browser]
Settings (theme, density, devtools, picker’s recent places and bookmarks settings/files.*)persist(dir) documentslost (in progress)[read] AppBuilder::persist, save_later
User keymappersist(dir)lost (in progress)[read]
Contexts’ view documentpersist(dir)lost: save_view returns without a directory[read] contexts.rs
User kits, token cachefoldersnone[read]
Journal, historymemorymemory[read]
Log file, crash reportsfoldersnone[browser] console
#ProblemWhat it breaksEvidenceFix (size)
S1persist(dir) writes files; nothing writes eframe’s storage but the layoutSettings, keymap, bookmarks, recent places, the context view lost on reload[read]in progress
S2Is a library-level backend over eframe::Storage right?Yes: make the persistence writer a trait with a folder implementation and an eframe::Storage one (one key per document, egui_pop.<name>), chosen by run_web/run_native; the debounced writer, the documents and their schemas stay as they are. A host with its own store gives its own. Keeps the gallery out of it (M; overlaps the in-progress change)
S3localStorage is shared by the whole originThe gallery lives on quazardous.github.io: every project page of that account shares the origin, and egui’s key egui_memory_ron is the same in every eframe app, so another eframe app published there would read and overwrite the gallery’s memory[read] eframe storage.rs; [upstream] MDN, storage quotasPrefix egui-pop’s own keys with the application id; for egui’s key, an upstream option for its name (S, upstream S)
S4LimitsAbout 5 MB per origin for localStorage, synchronous; a large keymap or kit fits, a document library would not; private windows clear it at the end[upstream] sameIndexedDB if documents ever grow (L, not needed now)
S5No reset on the webA broken stored layout or setting can only be cleared through the browser’s site data; a reporter cannot say “it works after a reset”[read]A “Reset everything stored” command (S)
S6Saved on blur and every 30 sA tab closed within 30 s of a change keeps the old state; Chrome 157 had nothing stored after the short probe while Chromium 140 and Firefox had both keys[browser], [read] eframe’s auto_save_intervalSave on pagehide/visibilitychange too (eframe already listens for visibilitychange); verify (S)

Rendering and performance

#ProblemWhat it breaksEvidenceFix (size)
G1WebGPU or WebGL 2eframe’s wgpu painter takes WebGPU where the browser has it (Chrome 157: BrowserWebGpu) and WebGL 2 otherwise (Chromium 140 headless, Firefox 141: Gl); both drew every page. The viewport’s buffer device tiles need fragment storage that WebGL 2 lacks and fall back, as documented[browser]; [read] docs/viewport.md; [upstream] WebGPU statusnone; the renderer line in the version info tells them apart
G2Software renderingOn a machine without a GPU the browser uses SwiftShader; egui-wgpu warns “Software rasterizer detected”; slow but correct[browser]none
G3Module size33.6 MB deployed (13.3 MB gzipped on the wire), 38.6 MB in this build; no opt-level = "z", no LTO, no wasm-opt; fonts are only about 2 MB of it[read] measured with curl and lsA [profile.release] for the web build (lto, codegen-units = 1, opt-level = "s"), Trunk’s data-wasm-opt, and check panic = "abort" size; measure each (M)
G4Load time and nothing to see while loading2.6 s to start from the deployed site in Chromium on a fast link; a slow link takes several times that over a dark empty page[browser]A loading message and progress in index.html (S)
G5CachingGitHub Pages serves max-age=600; Trunk’s hashed file names make a new deploy load fresh; a reporter may run a build up to 10 minutes old, and the version info’s commit says which[read] response headersnone
G6No std::threadEvery thread path in the gallery’s web build is gated (cfg!(target_arch = "wasm32")): previews, latest, tree and editor demos, the viewport’s workers (0 on the web). A spawn would panic at run time, not at build time; nothing catches a new ungated one[read] all spawns listed; [browser] no panic on any pageA CI check: run the web smoke test over every page, as the walk here did (S)
G7Blocking callsstd::time::Instant::now panics on wasm32-unknown-unknown; runtime code uses web-time, the remaining Instant::now are in tests[read]Lint: clippy::disallowed_methods for std::time::Instant::now and SystemTime::now (S)
G8Work runs in the framePreviews, the slow linked-panel computation and tile production run on the interface thread, one per frame; a heavy page stutters where the desktop does not[read] docs/linked-panels.md, files/preview.rsAccept; or web workers later (L)
G9Timers in background tabseframe paints on requestAnimationFrame, which browsers pause in hidden tabs: toasts, jobs, the motion clock and debounced saves wait until the tab is back[read]; [upstream] MDN, requestAnimationFramenone needed; note it for job pages (S)
G10Glyphs missing from the bundled fontsDrawn by eframe’s canvas fallback (canvas_glyphs): Japanese typed in a field showed ([browser]); the look differs from the desktop’s system fallback[browser], [read]none

Media and embeds

#ProblemWhat it breaksEvidenceFix (size)
M1Video viewer (GStreamer)Not built for the web: a video link opens outside, in a new tab[read] viewer/mod.rs gates gst_player on non-wasm; docs/links.mdAn HTML <video> element over the canvas, positioned on the panel’s rectangle (M to L)
M2Web view (wry, WebKitGTK)Not on the web: HTML pages beyond the safe subset open in a new tab[read] docs/links.mdAn <iframe> over the canvas (same technique as M1) (M)
M3YouTube as an iframe over the canvasFeasible: position an absolutely placed <iframe> on the panel’s rectangle each frame, hide it when the panel is covered (menus and popups are drawn on the canvas, so an overlay on top of the iframe is impossible: it must hide while one is open); keyboard and focus go to the iframe while inside it[read]M, after M1’s overlay helper

Accessibility

#ProblemWhat it breaksEvidenceFix (size)
A1AccessKit on the webeframe’s web runner ignores accesskit_update (“not currently implemented”): screen readers see one canvas; egui’s built-in speech (screen_reader option, Web Speech API) is the only voice[read] app_runner.rs; [upstream] AccessKit lists a web adapter as plannedupstream (L); meanwhile say so on the landing page (S)
A2The inspect picker still worksegui builds the AccessKit tree in every backend (always on in egui 0.37), so the inspect dialog has roles and names on the web too[browser]none
A3IME text inputThrough eframe’s hidden <input>: an IME commit reached a text field in Chromium; the candidate window’s position follows ime output[browser] Chromium; [read]Run in Firefox and with a real IME (S)
A4Browser zoom and text sizePage zoom changes the device pixel ratio and egui follows; the browser’s minimum font size and text-only zoom do nothing to a canvas[read]none

All 58 pages were walked with Alt+Down in Chromium 140 and Firefox 141, a screenshot and the console of each ([browser]). None panicked or logged an error; the only page warning was a Canvas2D readback hint on the font pairs page (Chromium), probably from eframe’s canvas fallback for glyphs. Differences from the desktop:

PageOn the webEvidence
overview, tokens, builtins, scoped, icons, indicators, sections, motion, values, history, sliders, inputs, menus, toolbars, dialogs, toasts, tips, about, progress, placeholders, rolesas on the desktop[browser]
theme-editorExport as a token file writes nowhere (no folder)[read]
fontsas on the desktop; a Canvas2D readback warning in Chromium[browser]
filesthe in-app picker over an in-memory demo folder; “Recent: none, Bookmarks: none” and nothing kept; no system chooser, no thumbnails, no upload or download[browser]
viewport, navigator, images, grading, cursors, node-graph, graph-file, previewdraw; procedural tiles made in the frame (no workers); painted tool cursors only where egui-pop paints them[browser], [read]
displaythe wide gamut and HDR surfaces are not offered (desktop only); the page reports sRGB[browser], [read] lib.rs
tree, table, library, linked-panelsanswers come in the same frame (no threads); the linked panel’s slow preview blocks the frame instead of sleeping[read]
text-editor, code-editoras on the desktop; Ctrl+F, Ctrl+H, Ctrl+G, F3 also reach the browser (K1)[browser], [read]
terminalthe build log and echo demos; the shell section is absent (no pseudo-terminal)[browser]
zones, layout, arrangements, workbench, contexts, strips, clipboard, palettes, linksdraw; detaching a panel embeds it in the canvas (not tried)[browser], [read]
framethe window frame preview draws; no real window to frame[browser]
i18nas on the desktop[browser]
viewerhelp pages, markdown and safe HTML; no video, no web view; F5 reloads the page (K3)[browser], [read]
scaleas on the desktop; Ctrl+Alt+Plus and Minus do not zoom the page[browser]
pointeras on the desktop; Ctrl+wheel goes to egui-pop (the gallery cancels every wheel event)[read] web_prevent_default
platformsays “Run with –platform to use the real one” and shows a gallery://page/<name> deep link, neither of which exists on the web; notifications show the raw error; logs warn “another logger is installed”[browser]
settingsas on the desktop; nothing survives a reload (S1)[browser]
debugthe collectors draw; the only place that says how to enable inspect[browser]
jobstimers pause in a background tab (G9)[read]

What could not be tested

  • Safari (any platform), and every browser on Windows and macOS: the key table’s browser columns for them are read, not run.
  • What a real browser does with a key it keeps (reserved keys, F5, F6, Ctrl+Shift+C): headless runs show only what the page receives.
  • Reading the clipboard in Firefox (no permission in the headless harness); Safari’s clipboard.
  • Dead keys, AltGr and a real IME’s candidate window.
  • Screen readers.
  • A real GPU: every run used SwiftShader.
  • Detached panels, file drop and background tabs.
  • The CI job’s Trunk packaging itself: Trunk did not build on this machine, so the module was packed with wasm-bindgen directly (same crate, features and profile).

Proposed follow-ups

One per fix worth doing, ordered by value for the reporting goal first, then by cost. The three items in progress are left out.

  1. Prefilled issue from the app (R4, R5, R10; done 2026-11-04, R7’s browser line with it): a help.report command in Help, the palette and the inspect dialog that opens issues/new with a title, the version info, the browser, the page and the last pick, plus a bug issue form in the repository. S.
  2. One report block (R6, R7): the inspect copy carries the version info; the platform line names the browser, its version and the OS on the web. S.
  3. Page in the URL (R8): the page read from and written to the URL’s hash on the web. S.
  4. Cancel every bound key (K1, K4, K5): a canvas keydown listener that cancels a key the keymap resolves, and an upstream request for should_prevent_default on key events. M (upstream request S).
  5. Web-safe default keys (K2, K3, K10): isWeb and isMac in when conditions, web alternatives for reserved chords and F5, and a test listing reserved chords in the default keymap. S.
  6. Keyboard focus hint (R11, K9): focus the canvas on pointer entry, or show a “click to use the keyboard” hint while it has no focus. S.
  7. Say why devtools are greyed (R2): the disabled entries and chords say which setting enables them. S.
  8. Screenshot command (R9): copy or download a screenshot through ViewportCommand::Screenshot. M.
  9. Panic page with a report link (R12). S.
  10. Quiet the web console (R13): no log-file line, crash-plugin warning or Decorations command on the web. S.
  11. Disable or implement desktop-only commands (R14, P9): full screen through the Fullscreen API; quit and window commands disabled with a reason; platform page wording. S.
  12. Say how to report on the landing page (R15), with a note on screen readers (A1). S.
  13. Persistence backend over eframe::Storage (S2, S5, S6): the writer as a trait, an eframe::Storage implementation, a reset command, a save on page hide. M (after the in-progress change).
  14. Smaller, announced first load (G3, G4): a web release profile, wasm-opt, and a loading message. M.
  15. Origin-safe storage keys (S3): egui-pop’s keys prefixed with the application id; an upstream option for egui’s memory key. S.
  16. Mac labels (K6): Cmd in shortcut labels on macOS. S.
  17. AltGr-safe interface zoom (K7). S.
  18. Every page in CI’s web smoke test (G6) and a lint for Instant::now (G7). S.
  19. Upload, download and drop (P4, P5): a visitor’s own file in the picker and the viewer. M.
  20. Web clipboard backend (P3): typed formats through the async Clipboard API. M.
  21. Video and pages over the canvas (M1, M2, M3): an overlay helper for <video> and <iframe> on a panel’s rectangle. M to L.
  22. Manual checks (P2, K8, A3): Safari, Windows and macOS, dead keys and an IME, once by hand. S.
  23. AccessKit on the web (A1): upstream, follow AccessKit’s web adapter. L.