Should Settings, the wizard, and About live inside the terminal instead of in their own windows?
2026-11-30
TL;DR — yes: every one of the three becomes a popup drawn inside the
drop-down, over the terminal's own column, and no window of DropTerm's
remains outside the terminal. A popup can never land behind the terminal,
because the terminal's own surface paints it; a separate window could,
and on other desktops it did. The pairing the 2026-11-23
record built for that window (the drop-down hides while Settings stands,
returns when it closes, and settings_coexist lets the two coexist) has
nothing left to do and goes with it. The 2026-11-23 record's height
finding stands and is answered by ruling, not refuted: a fresh install
opens at 50% of the screen, Settings scrolls below that, and below 640 px
of width its page list becomes a dropdown. This record supersedes the
2026-11-23 record's shape; the record itself stays as written. The 50% default
is ruled and lands with fresh-install-defaults, which builds after
this record's seat.
The question
Settings is a separate window (the 2026-11-23 record), and so are the
setup wizard and About. Each is a WindowKind::Normal toplevel of its
own. Does that still hold, or should the three be drawn inside the
terminal?
What was found
-
The window lands behind other windows off COSMIC. The owner's report, 2026-11-30: "this is a problem for other platforms, Linux is fine. The settings window is behind of other windows." It names no desktop. DropTerm is kept above other windows where its desktop does it: on COSMIC it is a layer-shell surface, and on GNOME the bundled extension raises it (
gnome-extension/window.js,#shape, lines 508–520 at this date:window.make_above()andwindow.stick()); on X11 nothing raises it (window mode has no keep-above,docs/known-issues.md). A second, ordinary toplevel opened beside a raised terminal is not raised with it, so there it opens underneath; where nothing raises the terminal, nothing raises the window either. A popup drawn inside the terminal is painted by the terminal's surface itself and goes wherever the terminal goes; it can never land behind the terminal. -
The pairing existed only because of stacking. The 2026-11-23 record found (its finding 1, "Stacking forces the hide"): the drop-down is a layer-shell Overlay and a toplevel opened while it stands draws beneath it, so opening Settings had to hide the terminal and closing it had to bring the terminal back. Inside the terminal, every piece of that dance has no work left: there is one surface, and it is not competing with anything.
-
The height finding stands. The 2026-11-23 record measured it:
DEFAULT_HEIGHT_PERCENT = 40(dropterm/src/core/config.rs:18) gives the drop-down about 430 px at 1080p, too short for a page of rows beside a navigation column. That has not changed and is not refuted. The owner answers it by ruling (2026-11-30): a fresh install opens at 50% (ruled, landing with thefresh-install-defaultsmodule, which builds after the popup seat), Settings scrolls when the terminal is shorter than its content, the terminal never changes size for a popup, and below 640 px of width the page column gives way to a dropdown in the header. 640 is the old window's floor, the width at which the 240 px column leaves the content its 208 px control column (dropterm/src/core/popup.rs,NAV_COLUMN_MIN_PX). -
The keyboard can be held by a popup without a click. The pane's chords are a map lookup on the pane's own key listener (
dropterm/src/terminal/input.rs:388,:415, asked from the pane's own listener,dropterm/src/terminal/view.rs:2139), key events bubble only through the focused element's ancestors, and the pane claims the keyboard cooperatively when nothing is focused (dropterm/src/terminal/view.rs, the render-time claim at lines 2016–2019 at this date). So a popup takes the keyboard by a claim in the shell's own render while it is the top popup showing, gives it back to the active pane on close through a repair slot, and a finished keybind capture hands it to the open popup rather than to the pane beneath. A popup is mounted as a sibling of the terminal's column, never inside the pane's div, so no key bubbles into the pane. The first three rules are pinned headless on a live pane (the settings-popup module, task 4); the fourth, a held chord, is left open below. -
opacityis a paint alpha on the terminal pane alone. The pane's frame multiplies its background by the alpha (dropterm/src/terminal/view.rs:2975,bg.a *= skin.opacity_alpha); the strip and the bands are already opaque. A popup can therefore be solid at anyopacityby painting its own opaque background, pinned on the painted quad. -
The loader tolerates a retired key.
DropTermConfighas nodeny_unknown_fields, and the store parses withron::from_str(dropterm/src/core/config/store.rs:38,:56), so a file still carryingsettings_coexist: trueloads and ignores the line, and the next write toconfig.rondrops it, because that write saves the whole section (a profile, a keybind, or a panel writes another file). Pinned (a_stale_coexist_line_still_loads_and_other_keys_apply,the_next_write_drops_a_stale_pairing_line). -
The Kit's popovers draw above non-deferred content. The select's popover is deferred (
carried/gpui-component/src/select.rs:464,:637), so the pickers in Settings open above the popup. This one is read from the source and not walked: it is the owner's SPP-w6.
What DropTerm has today
The seat (settings-popup): NavMode and nav_mode in
dropterm/src/core/popup.rs, the 640 px threshold among them; on the
shell, the layer over the terminal's column and inside the slide
(Shell::popup_layer), the one door and the one close
(Shell::open_settings, Shell::close_settings), the popup's claim on
the keyboard (Shell::keep_the_keyboard_on_the_top_popup) and the
departed handles' repairs (Shell::repair_departed_handles); the view
in dropterm/src/settings.rs with its header and its two shapes, built
by the first frame of each window that shows it. The pairing's key,
write, switch, and docs are gone, and a stale line in config.ron
loads and is ignored, pinned by test. The wizard and About are still
toplevels of their own.
What DropTerm has today
The seat (settings-popup): NavMode and nav_mode in
dropterm/src/core/popup.rs, the 640 px threshold among them; on the
shell, the layer over the terminal's column and inside the slide
(Shell::popup_layer), the one door and the one close
(Shell::open_settings, Shell::close_settings), the popup's claim on
the keyboard (Shell::keep_the_keyboard_on_the_top_popup) and the
departed handles' repairs (Shell::repair_departed_handles); the view
in dropterm/src/settings.rs with its header and its two shapes, built
by the first frame of each window that shows it. The pairing's key,
write, switch, and docs are gone, and a stale line in config.ron
loads and is ignored, pinned by test. The wizard and About are still
toplevels of their own.
The decision
- Settings, the wizard, and About are popups inside the terminal. The
module that builds the seat (the layer inside the slide, the
keyboard's rules, three of the four pinned and the fourth left open,
one popup at a time over the terminal's own overlays) is
settings-popup; the wizard and About follow inonboarding-popupandabout-popup. - The hotkey and the tray toggle hide or show the whole terminal,
whatever is on it; a popup returns as it was left. A popup follows the
terminal's
hide_on_focus_lossswitch and has no rule of its own. - The Settings window, its pairing, and
settings_coexistare removed. A stale value in an old file is ignored. - The proof is walked by hand on COSMIC, GNOME, X11, and macOS
(
docs/testing.md, SPP-w1 to SPP-w11).
Alternatives rejected
- Keep the window and raise it. Raising a toplevel is the desktop's to give: the extension raises the terminal on GNOME, but X11 and macOS have no equivalent here, and a raised Settings would then cover the terminal it edits.
- Keep the pairing for the window. It worked on COSMIC, where the record's stacking finding applied, and nowhere else needed it; with the popup there is nothing to pair.
- A popup that stands still while the terminal slides. Rejected by ruling (2026-11-30): a popup rides the terminal's slide, so show and hide move the terminal and its popup as one.
What this revisits
The 2026-11-23 settings-window record (deleted 2026-12-03): its shape is superseded, its height finding stands.
Left open
- A held chord. Holding
Ctrl+Shift+Iacross the chord-close reopens Settings, because the pane's key listener treats every repeat as a press. The palette has behaved this way since it shipped; a fix belongs to the pane and would cover both. - The tray menu. Should it gain a Settings entry now that Settings lives inside the terminal?
- The proof. Every runtime row is the owner's walk; this record claims nothing a headless test cannot show.
Sources
- The owner's report, 2026-11-30, quoted in finding 1.
- The settings-window record, 2026-11-23 (deleted 2026-12-03) — findings 1 and 3, the height measurement, and the pairing this record retires; read 2026-11-30.
gnome-extension/window.js,#shape—make_above()andstick(); read 2026-11-30 atf1996ac.dropterm/src/core/config.rs—DEFAULT_HEIGHT_PERCENT; read 2026-11-30 atf1996ac.dropterm/src/core/config/store.rs—ron::from_str, the tolerant parse; read 2026-11-30 atf1996ac.dropterm/src/terminal/view.rs— the pane's cooperative claim and the pane-only opacity; read 2026-11-30 atf1996ac.dropterm/src/terminal/input.rs— the pane's chord lookup; read 2026-11-30 atf1996ac.dropterm/src/core/popup.rs,dropterm/src/app_shell.rs— the seat:nav_mode,popup_layer,open_settings,close_settings,top_popup_focus, and the render-time claim; written 2026-11-30, read back atf1996ac.carried/gpui-component/src/select.rs— the deferred popover; read 2026-11-30 atf1996ac.