Visual Studio Code, rebuilt in Rust
Rust
docs(ledger): scope the Linux keymap and Wayland webview gaps
rokarturcc57bc69c114
diff --git a/port/ledger.md b/port/ledger.mdindex 88a9b44bbf3..aa2da392897 100644--- a/port/ledger.md+++ b/port/ledger.md@@ -42,7 +42,7 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,| Milestones | M24 Windows build | later | After milestone 23, on the same seams: WebView2 (wry), the Win32 file dialogs, the in-window menu bar and custom title bar, Credential Manager (keyring), the user-setup install path and `code` on PATH, `%APPDATA%\Code` settings import, ConPTY for the terminal (alacritty_terminal has it), an x64 and arm64 zip and a user installer, no Authenticode signing (the Windows signing decision). Builds on a GitHub Actions `windows` runner. | As milestone 23, for win32-x64 and win32-arm64. || Milestones | M25 virtual workspaces | later | Artur: its own milestone after M20, not part of the gap audits. A folder of a non-file scheme (`.code-workspace` `uri` folders, `--folder-uri`, `vscode.openFolder` with an extension file system provider scheme) kept as a URI; every reader of workspace folders (173 `.folders` uses in 70 files: explorer, search, quick open, terminal cwd, tasks, git, watcher, settings layers, trust) goes through the file system providers; the workspace marked virtual, `virtualWorkspaces: false` extensions disabled with the `notSupportedInWorkspace` message (config/workspace.rs:101, port/notes.md provider entries deferred until virtual workspaces). | not started || M23 Linux | app/src/webview/linux.rs:66 | done | [linux L] webviews through WebKitGTK: webview panels and views, editor insets, notebook outputs, extension details, release notes. | `FIXTURE=webview-tests port/tools/linux/smoke` on X11 (Xvfb): 10/10 ok; `cargo gc test -p app webview` on Linux: 19 passed |-| M23 Linux | app/src/webview/linux.rs:47 | open | [linux M] webviews in a Wayland session. Linux shows now: no webview under Wayland: GPUI has no X window there to hold the GTK window, so `supported()` is false and each webview surface stays empty. | |+| M23 Linux | app/src/webview/linux.rs:47 | open | [linux L] webviews in a Wayland session. Linux shows now: no webview under Wayland: GPUI has no X window there to hold the GTK window, so `supported()` is false and each webview surface stays empty. Needs a route that does not embed: GTK opens its own Wayland connection, and a `wl_subsurface` cannot take a surface of another client, so the reparenting X11 uses has no Wayland form; WPE WebKit rendering offscreen into a GPUI texture, with input forwarded, is the route left (not started). | || M23 Linux | exthost/src/main_thread_secret_state.rs:46 | done | [linux M] secrets in the Secret Service (libsecret). | `cargo test -p exthost secret` on Linux: `secrets_in_a_keyring` (oo7's file backend); a desktop Secret Service not run || M23 Linux | app/src/clipboard.rs:97 | open | [linux M] clipboard file lists, HTML and other custom formats: Chromium offers each as its own MIME target (`code/file-list`, `text/html`) beside the text. Needs gpui_linux vendored, since GPUI's X11 selection owner and Wayland data source offer only text, images and `text/uri-list`, and a second owner would take CLIPBOARD from GPUI's. The find text needs nothing: clipboardService.ts reads and writes it only on macOS. Linux shows now: text only; the other formats read empty. | || M23 Linux | app/src/workbench/themes.rs:47 | done | [linux S] host color scheme and high contrast from the xdg-desktop-portal Settings. | GPUI's `window_appearance()`, which gpui_linux reads from the portal's `color-scheme`; high contrast stays off, as Chromium on Linux |@@ -59,7 +59,7 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,| M23 Linux | app/src/workbench/shell_command.rs:65 | done | [linux S] `code` CLI install to `~/.local/bin`. | `cargo test -p app shell_command` on Linux || M23 Linux | app/src/update/install.rs:51 | done | [linux M] updates as a download link (no in-place install). | `cargo test -p app update::` on Linux: `an_update_found_on_linux_waits_and_download_opens_its_link` || M23 Linux | app/src/diagnostics.rs:308 | done | [linux S] machine info from `/proc` (CPU model, memory, release). | `cargo test -p app diagnostics` on Linux: `linux_machine_reads_proc` |-| M23 Linux | app/src/keybindings.rs:86 | open | [linux M] keybinding labels in Linux's form (keybindingLabels.ts `UILabelProvider`, `AriaLabelProvider`, `UserSettingsLabelProvider` for `OperatingSystem.Linux`): `Ctrl+Shift+P`, `Super` and `meta`. Linux shows now: the macOS symbols (`⌃⇧⌥⌘`), `Option` and `Command` aria labels and `cmd` in user settings. | |+| M23 Linux | app/src/keybindings.rs:86 | open | [linux L] Linux keybindings: the Linux default table (keybindings.rs `DEFAULT_KEYBINDINGS` is `default-macos.json`), the `linux` key of extension and user rules (`extension_keybindings` reads `mac`), and labels in Linux's form (keybindingLabels.ts `UILabelProvider`, `AriaLabelProvider`, `UserSettingsLabelProvider` for `OperatingSystem.Linux`): `Ctrl+Shift+P`, `Super` and `meta`. Labels alone would show the macOS table as `Super+P`, so they wait for the table. Linux shows now: the macOS table with Cmd on GPUI's platform modifier (Super), the macOS symbols (`⌃⇧⌥⌘`), `Option` and `Command` aria labels and `cmd` in user settings. | || M23 Linux | app/src/workbench/menubar.rs:173 | open | [linux M] menu bar in the custom title bar. Linux shows now: no menu bar; gpui_linux `set_menus` keeps the menus and draws none. | || M23 Linux | .github/workflows/linux.yml:1 | done | [linux S] move actions/checkout, actions/setup-node and actions/upload-artifact from v4 to their Node 24 majors (pinned by SHA). | checkout v7.0.1, setup-node v7.1.0, upload-artifact v7.0.2 by SHA; the workflow not run yet || M23 Linux | port/tools/package-linux:1 | done | [linux M] Linux builds of the host's native modules (@vscode/spdlog, kerberos): package-linux rebuilds them with node-gyp; a dev run in the Studio container still loads the reference's macOS builds (its pnpm install ran on macOS), a Linux install of upstream builds them for Linux. | the extracted `VSRustium-1.147.0-linux-arm64.tar.gz` writes `logs/<session>/window1/exthost/exthost.log` (spdlog) and passes `port/tools/linux/smoke` |