Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

feat(app): hang an app menu off the wordmark, where About is findable

Etienne Lescote966c613b8f5
diff --git a/electron/electron-env.d.ts b/electron/electron-env.d.ts
index 0b7f47025..89494dd0d 100644
--- a/electron/electron-env.d.ts
+++ b/electron/electron-env.d.ts
@@ -388,6 +388,8 @@ interface Window {
getPlatform: () => string;
getAppInfo: () => Promise<{ version: string; canCheckForUpdates: boolean }>;
checkForUpdates: () => Promise<void>;
+ showAbout: () => Promise<void>;
+ canCheckForUpdatesNow: () => Promise<boolean>;
revealInFolder: (
filePath: string,
) => Promise<{ success: boolean; error?: string; message?: string }>;
diff --git a/electron/main.ts b/electron/main.ts
index c671ba3d8..9992a27c7 100644
--- a/electron/main.ts
+++ b/electron/main.ts
@@ -463,10 +463,25 @@ function configureAboutPanel() {
});
}
+/** Mirrors `updateCheckInFlight`. A menu item cannot fire twice — the menu closes on the
+ * click — but the in-app menu reaches the same box from a renderer, where a double click or
+ * a held Enter can, and every one of those would stack another modal on the same parent. */
+let aboutDialogOpen = false;
+
/** The About box for the platforms with no native panel worth opening. The "Copy" button is
* the point of building it ourselves: version, runtime and install channel are exactly what
* a bug report needs, and retyping them off a screenshot is how they arrive wrong. */
async function showAboutDialog() {
+ if (aboutDialogOpen) return;
+ aboutDialogOpen = true;
+ try {
+ await presentAboutDialog();
+ } finally {
+ aboutDialogOpen = false;
+ }
+}
+
+async function presentAboutDialog() {
const facts = aboutFacts();
const detail = `${formatAboutDetail(facts)}\n${COPYRIGHT}`;
const heading = `${PRODUCT_NAME} ${facts.version}`;
@@ -1015,6 +1030,34 @@ appReady?.then(async () => {
canCheckForUpdates: channelAllowsUpdateCheck(),
}));
+ // The FULL veto, permanent and transient, for a caller that can ask again at the moment it
+ // needs the answer. `get-app-info` deliberately carries only the permanent half because the
+ // HUD reads it once per mount (see 33e19d6e); the editor's app menu has no such excuse — it
+ // asks each time it opens, so a stale "yes" cannot outlive the take that invalidated it.
+ // Without this, that menu would keep offering a check mid-recording that the handler below
+ // then silently refuses.
+ ipcMain.handle("can-check-for-updates-now", () => canOfferUpdateCheck());
+
+ // The editor's app menu opens the SAME About box the native menu and the tray do, rather
+ // than rendering its own panel: the version block exists to be pasted into a bug report,
+ // and a second React spelling of it is a second thing to keep in step with about.ts.
+ //
+ // Returns immediately instead of awaiting the box. `check-for-updates` resolves on its
+ // verdict because the caller has a spinner to stop; this one has nothing to wait for, and
+ // awaiting it would leave the renderer's promise pending for as long as the user leaves
+ // the dialog open.
+ ipcMain.handle("show-about", () => {
+ // macOS asked for its own panel and `configureAboutPanel()` already filled it in.
+ // Calling runAboutDialog() here would open a second, differently-shaped box beside the
+ // one the app menu's `role: "about"` gives — the exact duplication about.ts:31-33 warns
+ // against.
+ if (usesNativeAboutPanel(process.platform)) {
+ app.showAboutPanel();
+ return;
+ }
+ runAboutDialog();
+ });
+
ipcMain.handle("check-for-updates", async () => {
// The renderer hides the button on a package-manager channel, and while recording. A
// renderer is not where those rules get to be enforced.
diff --git a/electron/preload.ts b/electron/preload.ts
index 8a063f086..2705e4ba0 100644
--- a/electron/preload.ts
+++ b/electron/preload.ts
@@ -372,6 +372,14 @@ contextBridge.exposeInMainWorld("electronAPI", {
/** Resolves once the check has a verdict. The dialogs that verdict leads to — download,
* restart — are the main process's conversation, not the caller's. */
checkForUpdates: () => ipcRenderer.invoke("check-for-updates") as Promise<void>,
+ /** Opens the main process's About box (or the native panel on macOS). Resolves as soon as
+ * the box is up, NOT when it is dismissed — there is no verdict to wait for, unlike
+ * `checkForUpdates` above. */
+ showAbout: () => ipcRenderer.invoke("show-about") as Promise<void>,
+ /** The full update veto, asked fresh. `getAppInfo().canCheckForUpdates` answers only the
+ * permanent half; this one also answers "not mid-take", so it is only correct for a caller
+ * that asks at the moment it shows the affordance. */
+ canCheckForUpdatesNow: () => ipcRenderer.invoke("can-check-for-updates-now") as Promise<boolean>,
revealInFolder: (filePath: string) => {
return ipcRenderer.invoke("reveal-in-folder", filePath);
},
diff --git a/src/components/ai-edition/NewEditorShell.tsx b/src/components/ai-edition/NewEditorShell.tsx
index 236c84527..97b613443 100644
--- a/src/components/ai-edition/NewEditorShell.tsx
+++ b/src/components/ai-edition/NewEditorShell.tsx
@@ -724,6 +724,23 @@ export function NewEditorShell() {
openShortcutsConfig();
}, [openShortcutsConfig]);
+ // Both hand off to the main process rather than rendering anything here: the About box and
+ // the update dialogs are native message boxes owned by a window (see showMessageBox in
+ // electron/main.ts), which is what keeps them from opening behind the always-on-top HUD.
+ // Errors are swallowed on purpose — the main process is the one that reports them, and a
+ // rejection here would only surface as an unhandled promise in the renderer.
+ const handleShowAbout = useCallback(() => {
+ void window.electronAPI?.showAbout?.().catch(() => {
+ // Swallowed: see above.
+ });
+ }, []);
+
+ const handleCheckForUpdates = useCallback(() => {
+ void window.electronAPI?.checkForUpdates?.().catch(() => {
+ // Swallowed: see above.
+ });
+ }, []);
+
const pasteRegion = useCallback(async () => {
const doc = useProjectStore.getState().document;
if (!doc) return;
@@ -1119,6 +1136,8 @@ export function NewEditorShell() {
openSettings: handleOpenSettings,
renameProject: handleRenameProject,
toggleChat: () => setChatOpen((v) => !v),
+ showAbout: handleShowAbout,
+ checkForUpdates: handleCheckForUpdates,
}}
/>
diff --git a/src/components/ai-edition/v4/EditorShellV4.module.css b/src/components/ai-edition/v4/EditorShellV4.module.css
index d1d5e93f6..342cedd4c 100644
--- a/src/components/ai-edition/v4/EditorShellV4.module.css
+++ b/src/components/ai-edition/v4/EditorShellV4.module.css
@@ -99,6 +99,99 @@
letter-spacing: -0.015em;
color: var(--fg-emphasis);
}
+/* The brand doubles as the app-menu trigger, so it has to read as a button on hover without
+ gaining any width: .modeSwitch is the only flex-shrink:1 element in the bar, so every pixel
+ a new control costs is paid out of the mode labels in the most verbose of 13 locales. The
+ negative margin lets the hover plate bleed past the logo without moving it. */
+.brandBtn {
+ border: 0;
+ background: transparent;
+ cursor: pointer;
+ padding: 4px 7px;
+ margin: 0 -7px;
+ border-radius: 9px;
+ transition: background var(--motion-fast) var(--ease);
+}
+.brandBtn:hover,
+.brandBtn[aria-expanded="true"] {
+ background: var(--surface-2);
+}
+/* Rotates to point up while the menu is open, the standard disclosure affordance. Hidden from
+ assistive tech: aria-expanded on the button already carries the state. */
+.brandChevron {
+ color: var(--muted);
+ transition: transform var(--motion-fast) var(--ease);
+}
+.brandBtn[aria-expanded="true"] .brandChevron {
+ transform: rotate(180deg);
+}
+/* Anchor for the menu. Not a portal: a portalled surface leaves the .topbar subtree and with
+ it the `.topbar button { app-region: no-drag }` rule that is the ONLY thing keeping controls
+ in this bar clickable — the OS would eat the click as a window drag. LangButton in this same
+ file anchors inline for exactly that reason. */
+.appMenuAnchor {
+ position: relative;
+ display: inline-flex;
+ flex-shrink: 0;
+}
+.appMenu {
+ position: absolute;
+ top: calc(100% + 6px);
+ left: 0;
+ min-width: 232px;
+ /* The trigger sits 13px from the top of a 58px bar, so the menu's first 7px overlap the
+ titlebar's drag region. Only `.topbar button` is opted out of dragging, and that strip is
+ the menu's padding, not a row — without this a mousedown on it drags the window out from
+ under the open menu. Belt and braces: it also covers any future row that is not a button. */
+ -webkit-app-region: no-drag;
+ app-region: no-drag;
+ padding: 5px;
+ background: var(--surface);
+ border: 1px solid var(--border);
+ border-radius: var(--r-md);
+ box-shadow: var(--elev-pop);
+ z-index: 60;
+}
+.appMenuRow {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ width: 100%;
+ padding: 7px 9px;
+ border: 0;
+ background: transparent;
+ color: var(--fg-2);
+ border-radius: var(--r-sm);
+ cursor: pointer;
+ text-align: left;
+ font: 500 12.5px var(--font-body);
+ transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
+}
+.appMenuRow:hover,
+.appMenuRow:focus-visible {
+ background: var(--surface-2);
+ color: var(--fg);
+}
+.appMenuRow svg {
+ color: var(--muted);
+ flex-shrink: 0;
+}
+.appMenuRow:hover svg,
+.appMenuRow:focus-visible svg {
+ color: var(--fg);
+}
+/* Pushes the version to the right edge of the row it shares with "About". */
+.appMenuVersion {
+ margin-left: auto;
+ color: var(--muted);
+ font-variant-numeric: tabular-nums;
+ font-size: 11.5px;
+}
+.appMenuSep {
+ height: 1px;
+ margin: 5px 7px;
+ background: var(--border);
+}
.iconBtn {
width: 32px;
height: 32px;
diff --git a/src/components/ai-edition/v4/EditorTopBar.test.tsx b/src/components/ai-edition/v4/EditorTopBar.test.tsx
index 364674659..92191ea90 100644
--- a/src/components/ai-edition/v4/EditorTopBar.test.tsx
+++ b/src/components/ai-edition/v4/EditorTopBar.test.tsx
@@ -21,6 +21,9 @@ const noop = () => {};
function renderTopBar(projectTitle: string | null) {
const onRename = vi.fn();
+ const onShowAbout = vi.fn();
+ const onCheckForUpdates = vi.fn();
+ const onOpenSettings = vi.fn();
render(
<EditorTopBar
mode="edit"
@@ -34,13 +37,28 @@ function renderTopBar(projectTitle: string | null) {
newProject: noop,
save: noop,
export: noop,
- openSettings: noop,
+ openSettings: onOpenSettings,
renameProject: onRename,
toggleChat: noop,
+ showAbout: onShowAbout,
+ checkForUpdates: onCheckForUpdates,
}}
/>,
);
- return { onRename };
+ return { onRename, onShowAbout, onCheckForUpdates, onOpenSettings };
+}
+
+/** The menu reads two separate channels, and they answer different questions: `getAppInfo` for
+ * the version, `canCheckForUpdatesNow` for the full update veto (see EditorTopBar). Neither
+ * exists in jsdom. Returns the cleanup so a stub cannot leak into the next test. */
+function stubElectronAPI(info: { version: string; canCheckForUpdates: boolean }) {
+ (window as unknown as { electronAPI?: unknown }).electronAPI = {
+ getAppInfo: () => Promise.resolve(info),
+ canCheckForUpdatesNow: () => Promise.resolve(info.canCheckForUpdates),
+ };
+ return () => {
+ (window as unknown as { electronAPI?: unknown }).electronAPI = undefined;
+ };
}
describe("ProjectNameField (issue #180)", () => {
@@ -121,3 +139,83 @@ describe("ProjectNameField (issue #180)", () => {
expect(button.getAttribute("style") ?? "").not.toMatch(/all\s*:\s*unset/);
});
});
+
+describe("AppMenu", () => {
+ it("hangs the menu on the brand rather than adding a control to the bar", () => {
+ renderTopBar("Demo Project");
+ const trigger = screen.getByRole("button", { name: /OpenScreen/ });
+ expect(trigger).toHaveAttribute("aria-haspopup", "menu");
+ expect(trigger).toHaveAttribute("aria-expanded", "false");
+ // The whole point of the wordmark-as-trigger: no menu until asked for.
+ expect(screen.queryByRole("menu")).not.toBeInTheDocument();
+ });
+
+ it("keeps the trigger a real button, which is the only thing that makes it clickable", () => {
+ // `.topbar button, .topbar input, .topbar select` is the ENTIRE no-drag opt-out in
+ // EditorShellV4.module.css. A brand rendered as a <span> or a <div role="button"> sits
+ // on the window-drag region and the OS eats the click — the #180 failure, one control
+ // over. Same reason `all: unset` is banned here.
+ renderTopBar("Demo Project");
+ const trigger = screen.getByRole("button", { name: /OpenScreen/ });
+ expect(trigger.tagName).toBe("BUTTON");
+ expect(trigger.getAttribute("style") ?? "").not.toMatch(/all\s*:\s*unset/);
+ });
+
+ it("opens on click and offers shortcuts and about", () => {
+ renderTopBar("Demo Project");
+ fireEvent.click(screen.getByRole("button", { name: /OpenScreen/ }));
+ expect(screen.getByRole("menu")).toBeInTheDocument();
+ expect(screen.getByRole("menuitem", { name: /title/ })).toBeInTheDocument();
+ expect(screen.getByRole("menuitem", { name: /actions\.about/ })).toBeInTheDocument();
+ });
+
+ it("routes About to the main process and closes behind itself", () => {
+ const { onShowAbout } = renderTopBar("Demo Project");
+ fireEvent.click(screen.getByRole("button", { name: /OpenScreen/ }));
+ fireEvent.click(screen.getByRole("menuitem", { name: /actions\.about/ }));
+ expect(onShowAbout).toHaveBeenCalledTimes(1);
+ expect(screen.queryByRole("menu")).not.toBeInTheDocument();
+ });
+
+ it("closes on Escape", () => {
+ renderTopBar("Demo Project");
+ fireEvent.click(screen.getByRole("button", { name: /OpenScreen/ }));
+ fireEvent.keyDown(screen.getByRole("menu"), { key: "Escape" });
+ expect(screen.queryByRole("menu")).not.toBeInTheDocument();
+ });
+
+ it("hides Check for Updates when the install channel owns updates", async () => {
+ // No electronAPI at all in jsdom, which lands on the same branch as a Store/Flathub/Snap
+ // build answering false, and as a check refused mid-take: no item, rather than a button
+ // that silently does nothing.
+ renderTopBar("Demo Project");
+ fireEvent.click(screen.getByRole("button", { name: /OpenScreen/ }));
+ expect(
+ screen.queryByRole("menuitem", { name: /actions\.checkForUpdates/ }),
+ ).not.toBeInTheDocument();
+ });
+
+ it("offers Check for Updates where the app owns its own updates", async () => {
+ const restore = stubElectronAPI({ version: "9.9.9", canCheckForUpdates: true });
+ try {
+ const { onCheckForUpdates } = renderTopBar("Demo Project");
+ fireEvent.click(screen.getByRole("button", { name: /OpenScreen/ }));
+ const item = await screen.findByRole("menuitem", { name: /actions\.checkForUpdates/ });
+ fireEvent.click(item);
+ expect(onCheckForUpdates).toHaveBeenCalledTimes(1);
+ } finally {
+ restore();
+ }
+ });
+
+ it("shows the running version on the About row, for pasting into a bug report", async () => {
+ const restore = stubElectronAPI({ version: "9.9.9", canCheckForUpdates: false });
+ try {
+ renderTopBar("Demo Project");
+ fireEvent.click(screen.getByRole("button", { name: /OpenScreen/ }));
+ expect(await screen.findByText("9.9.9")).toBeInTheDocument();
+ } finally {
+ restore();
+ }
+ });
+});
diff --git a/src/components/ai-edition/v4/EditorTopBar.tsx b/src/components/ai-edition/v4/EditorTopBar.tsx
index abe3ec50a..e5fb3b3f2 100644
--- a/src/components/ai-edition/v4/EditorTopBar.tsx
+++ b/src/components/ai-edition/v4/EditorTopBar.tsx
@@ -3,14 +3,17 @@ import {
Download,
FolderOpen,
FolderPlus,
+ Info,
+ Keyboard,
Languages,
Moon,
PanelLeft,
+ RefreshCw,
Save,
Settings,
Sun,
} from "lucide-react";
-import { useEffect, useRef, useState } from "react";
+import { type KeyboardEvent as ReactKeyboardEvent, useEffect, useRef, useState } from "react";
import logoMark from "@/assets/openscreen-mark.png";
import { useI18n, useScopedT } from "@/contexts/I18nContext";
import { useTheme } from "@/hooks/useTheme";
@@ -27,6 +30,8 @@ export interface TopBarActions {
openSettings: () => void;
renameProject: (title: string) => void;
toggleChat: () => void;
+ showAbout: () => void;
+ checkForUpdates: () => void;
}
interface EditorTopBarProps {
@@ -82,11 +87,7 @@ export function EditorTopBar({
</>
) : null}
</span>
- <span className={styles.brand}>
- {/* Decorative: the wordmark right beside it already names the app. */}
- <img src={logoMark} alt="" draggable={false} />
- <span className={styles.name}>OpenScreen</span>
- </span>
+ <AppMenu actions={actions} />
<span className={styles.sep} aria-hidden />
<ProjectNameField title={projectTitle} onRename={actions.renameProject} />
<span className={styles.sep} aria-hidden />
@@ -262,6 +263,182 @@ function ProjectNameField({
);
}
+/** The brand doubles as the application menu.
+ *
+ * Windows and Linux have no visible menu bar to put About and the update check in: this bar
+ * IS the titlebar (createEditorWindow passes titleBarStyle:"hidden"), and the native menu is
+ * behind setAutoHideMenuBar(true) — so those two items were reachable only from the tray, or
+ * by holding Alt, which is to say not reachable. Hanging them off the wordmark is what Figma,
+ * Linear and Slack do under the same constraint.
+ *
+ * It costs the bar no width, which is the reason it is the wordmark and not a new button:
+ * .modeSwitch is the only flex-shrink:1 element in the topbar, so any control added here is
+ * paid for out of the mode labels, in the most verbose of 13 locales, at the 800px minimum
+ * window width.
+ *
+ * Every label is an EXISTING common.actions / shortcuts key — the same ones electron/main.ts
+ * builds the native menu from. Reusing them is what stops the two menus from drifting apart,
+ * and it is why this component adds no translation work. */
+/** Shared by the mount seed and the per-open refresh below. A rejection — no preload, browser
+ * mode — resolves to "no", which hides the item rather than shipping a button whose click the
+ * main process would refuse without saying so. */
+async function readUpdateVeto(cancelled: () => boolean, apply: (allowed: boolean) => void) {
+ try {
+ const allowed = await window.electronAPI?.canCheckForUpdatesNow?.();
+ if (!cancelled()) apply(allowed === true);
+ } catch {
+ if (!cancelled()) apply(false);
+ }
+}
+
+function AppMenu({ actions }: { actions: TopBarActions }) {
+ const tCommon = useScopedT("common");
+ const tShortcuts = useScopedT("shortcuts");
+ const [open, setOpen] = useState(false);
+ const [version, setVersion] = useState<string | null>(null);
+ const [canUpdate, setCanUpdate] = useState(false);
+ const ref = useRef<HTMLDivElement | null>(null);
+ const menuRef = useRef<HTMLDivElement | null>(null);
+ const triggerRef = useRef<HTMLButtonElement | null>(null);
+
+ // At mount: the version, which never changes while the process lives, and a first read of
+ // the update veto so the item does not pop in a frame late on the first open and shove the
+ // row under the pointer.
+ useEffect(() => {
+ let cancelled = false;
+ window.electronAPI
+ ?.getAppInfo?.()
+ .then((info) => {
+ if (!cancelled) setVersion(info.version);
+ })
+ .catch(() => {
+ // Leaves the version off the About row. The row itself still works, and the tray
+ // and native menu still reach the same box, so there is nothing to report.
+ });
+ void readUpdateVeto(() => cancelled, setCanUpdate);
+ return () => {
+ cancelled = true;
+ };
+ }, []);
+
+ // And again on every open, unlike the version: this answer includes the transient veto —
+ // no update check mid-take — so the seed above goes stale the moment a recording starts.
+ // A cached "yes" would offer a check that the main process then silently refuses.
+ useEffect(() => {
+ if (!open) return;
+ let cancelled = false;
+ void readUpdateVeto(() => cancelled, setCanUpdate);
+ return () => {
+ cancelled = true;
+ };
+ }, [open]);
+
+ useEffect(() => {
+ if (!open) return;
+ const onDocMouseDown = (e: MouseEvent) => {
+ if (ref.current && !ref.current.contains(e.target as Node)) setOpen(false);
+ };
+ document.addEventListener("mousedown", onDocMouseDown);
+ return () => document.removeEventListener("mousedown", onDocMouseDown);
+ }, [open]);
+
+ // Focus the first item as the menu appears, so it is operable from the keyboard without a
+ // Tab through the whole bar first.
+ useEffect(() => {
+ if (!open) return;
+ menuRef.current?.querySelector<HTMLButtonElement>('[role="menuitem"]')?.focus();
+ }, [open]);
+
+ const close = (restoreFocus: boolean) => {
+ setOpen(false);
+ // Escape and Tab-out hand focus back to the trigger; a click does not, because the
+ // pointer user did not come from there and a focus ring appearing under the cursor
+ // reads as a bug.
+ if (restoreFocus) triggerRef.current?.focus();
+ };
+
+ const onMenuKeyDown = (e: ReactKeyboardEvent<HTMLDivElement>) => {
+ if (e.key === "Escape") {
+ e.preventDefault();
+ close(true);
+ return;
+ }
+ if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
+ e.preventDefault();
+ const items = Array.from(
+ menuRef.current?.querySelectorAll<HTMLButtonElement>('[role="menuitem"]') ?? [],
+ );
+ if (items.length === 0) return;
+ const at = items.indexOf(document.activeElement as HTMLButtonElement);
+ const next = e.key === "ArrowDown" ? at + 1 : at - 1;
+ // Wraps both ways; `at` is -1 when focus escaped the list, and ArrowDown then lands on 0.
+ items[(next + items.length) % items.length]?.focus();
+ };
+
+ const run = (action: () => void) => () => {
+ close(false);
+ action();
+ };
+
+ return (
+ <div ref={ref} className={styles.appMenuAnchor}>
+ <button
+ ref={triggerRef}
+ type="button"
+ className={`${styles.brand} ${styles.brandBtn}`}
+ aria-haspopup="menu"
+ aria-expanded={open}
+ onClick={() => setOpen((v) => !v)}
+ >
+ {/* Decorative: the wordmark beside it already names the app — and, being the
+ button's only text, is also its accessible name. */}
+ <img src={logoMark} alt="" draggable={false} />
+ <span className={styles.name}>OpenScreen</span>
+ <ChevronDown size={13} className={styles.brandChevron} aria-hidden />
+ </button>
+ {open ? (
+ <div ref={menuRef} className={styles.appMenu} role="menu" onKeyDown={onMenuKeyDown}>
+ <button
+ type="button"
+ role="menuitem"
+ className={styles.appMenuRow}
+ onClick={run(actions.openSettings)}
+ >
+ <Keyboard size={15} />
+ {tShortcuts("title")}
+ </button>
+ <div className={styles.appMenuSep} aria-hidden />
+ {/* Only the PERMANENT half of the veto is applied here. A Store/Flathub/Snap/Nix
+ copy never offers the check at all; the transient half — not during a take —
+ stays with the main process, which re-checks it on the IPC, because this
+ window is not the one that knows a recording is running. */}
+ {canUpdate ? (
+ <button
+ type="button"
+ role="menuitem"
+ className={styles.appMenuRow}
+ onClick={run(actions.checkForUpdates)}
+ >
+ <RefreshCw size={15} />
+ {tCommon("actions.checkForUpdates")}
+ </button>
+ ) : null}
+ <button
+ type="button"
+ role="menuitem"
+ className={styles.appMenuRow}
+ onClick={run(actions.showAbout)}
+ >
+ <Info size={15} />
+ {tCommon("actions.about")}
+ {version ? <span className={styles.appMenuVersion}>{version}</span> : null}
+ </button>
+ </div>
+ ) : null}
+ </div>
+ );
+}
+
function LangButton() {
const { locale, setLocale } = useI18n();
const t = useScopedT("editor");
diff --git a/src/native/browserShim.ts b/src/native/browserShim.ts
index 907faf50b..8ef5989a8 100644
--- a/src/native/browserShim.ts
+++ b/src/native/browserShim.ts
@@ -128,6 +128,11 @@ function createShimElectronAPI() {
// version still has to come back or the HUD's About block never renders at all.
getAppInfo: () => Promise.resolve({ version: "0.0.0-browser", canCheckForUpdates: false }),
checkForUpdates: () => Promise.resolve(),
+ // No main process means no native message box to open. Resolving silently keeps the app
+ // menu clickable in browser mode instead of rejecting into the item's onClick.
+ showAbout: () => Promise.resolve(),
+ // No installer in browser mode, so nothing may ever be checked.
+ canCheckForUpdatesNow: () => Promise.resolve(false),
getSources: () => Promise.resolve(SHIM_SOURCES),
selectSource: (source: ShimDesktopSource) => {
shimSelectedSource = source;
diff --git a/technical-documentation/testing/manual-e2e-checklist.md b/technical-documentation/testing/manual-e2e-checklist.md
index abd06f870..c7af9d121 100644
--- a/technical-documentation/testing/manual-e2e-checklist.md
+++ b/technical-documentation/testing/manual-e2e-checklist.md
@@ -326,8 +326,14 @@ The agent may only call the fixed tool set in [ai-agent.md](../architecture/ai-a
### App menu, About, and updates
- [ ] On macOS, open the application menu and confirm About OpenScreen is followed by Check for Updates.
-- [ ] On Windows and Linux, right-click the tray icon and confirm it lists Check for Updates and About OpenScreen. The tray is the only surface that is reachable by default there: the HUD is frameless and the editor and notes windows auto-hide their menu bar, so the Help menu appears only while Alt is held over one of those two windows.
+- [ ] On Windows and Linux, right-click the tray icon and confirm it lists Check for Updates and About OpenScreen. Outside the editor the tray is the only surface reachable by default there: the HUD is frameless and the editor and notes windows auto-hide their menu bar, so the Help menu appears only while Alt is held over one of those two windows.
- [ ] On Windows and Linux, open the editor, hold Alt, and confirm the Help menu lists Check for Updates and About OpenScreen.
+- [ ] In the editor, click the OpenScreen wordmark in the top bar and confirm it opens a menu listing Keyboard Shortcuts, Check for Updates and About OpenScreen. This is the discoverable path on Windows and Linux, where the two above are not.
+- [ ] Confirm the About row in that menu shows the running version, and that it matches what the About box then reports.
+- [ ] Open the wordmark menu and pick Keyboard Shortcuts; confirm it opens the same dialog the top bar's gear does, and that only one dialog appears.
+- [ ] Open the wordmark menu, then press Escape, click elsewhere in the top bar, and click the wordmark again — confirm each closes it and that the window does not start dragging instead of registering the click.
+- [ ] With the wordmark menu open, walk it with the Down and Up arrows and confirm focus wraps at both ends.
+- [ ] Switch the app language and confirm the wordmark menu's three labels follow, matching the wording the macOS app menu and the tray use.
- [ ] Open About and confirm it names the running version, the Electron/Chromium/Node versions, and the install channel.
- [ ] Confirm the About box opens in front of the HUD rather than behind it.
- [ ] On Windows and Linux, press Copy in the About box and confirm the clipboard holds that same block.