Repository navigation
feat: add opt-in tray startup with a login-only mode - #1559
Merged
Merged
Conversation
ilysenko
approved these changes
Oct 6, 2026
ilysenko
left a comment
Owner
There was a problem hiding this comment.
Reviewed the opt-in startup/tray integration on the current head. The feature is isolated and disabled by default; signed-stable feature builds, focused regression coverage, reported KDE/Wayland runtime validation, and all required CI checks pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ChatGPT Community currently opens its main window on startup. Add the disabled-by-default
start-minimized-to-trayfeature with two opt-in General settings: start hidden in upstream's existing tray on every cold launch, or only at login autostart. The login-only setting takes priority and leaves manual launches visible; it does not enable autostart itself.A feature-local launcher hook preserves autostart detection across Chromium's systemd scope transition. Tray/second-instance/deep-link activation reveals the window, and unavailable tray setup falls back to visible startup. Includes localized settings, regression tests, and English/Chinese usage updates.
Scope: the optional app feature and its declarative hook, shared by deb/RPM/pacman/AppImage/Nix builds on amd64/arm64. No new dependencies or changes to shared packaging, updater, or the core patch registry.
Validation
26.930.61225.node --test linux-features/start-minimized-to-tray/test.js scripts/patch-linux-window-ui.test.js scripts/lib/linux-features.test.js: 62/62 passed.bash -n install.sh scripts/lib/*.sh launcher/start.sh.template linux-features/start-minimized-to-tray/launcher-hook.sh;bash tests/scripts_smoke.sh;git diff --check: passed. Changed documentation links, Make commands, and feature ID verified../install.shwith an isolated feature config containing onlystart-minimized-to-tray, separate output directories, andCODEX_TARGET_ARCH=amd64/arm64: both passed against signed stable 26.930.61225; both feature descriptors applied cleanly and the executable hook was staged.node --test scripts/patch-linux-window-ui.test.js scripts/lib/linux-features.test.js linux-features/*/test.js: 1003 passed, 18 failed, 2 skipped on Node 26.10.0. All failures reproduced unchanged in the two affected suites on clean upstreamcd362d8c(Watchbound staging and the reaper's Wayland-argument expectation).Checklist