Desktop: signing out resets pane widths and local UI preferences
What happened?
In Codex Desktop, after signing out and signing back in, adjusted layout preferences are reset to defaults. The most visible symptom is that pane widths return to default values, including the sidebar/right panel/bottom panel layout.
This has been observed on both macOS and Windows. On macOS I inspected Desktop 26.623.70822 and the affected values appear to live under the shared electron-persisted-atom-state persisted atom bucket.
Examples of affected local state:
sidebar-widthapp-shell:right-panel-width:v2:*app-shell:bottom-panel-height- likely related local UI/editor preferences such as
editorDiffViewMode,hideDiffWhitespace,wrapCodeDiff.2, and browser-tab restore state (thread-browser-tabs-v1:*)
Expected behavior
Signing out should clear auth/account-scoped state, but should not reset non-account, device-local UI preferences such as pane widths and editor/diff display preferences.
Sensitive local working state, such as drafts or browser tab restore state, could be cleared or scoped per account, but layout/device preferences should survive logout/login.
Actual behavior
After logout/login, pane widths and other persisted UI preferences are reset to defaults.
Why this seems to happen
The Desktop app has a persisted-atom-reset path that clears the entire electron-persisted-atom-state object and syncs an empty state to all windows. Since layout preferences are stored in the same bucket as more account-sensitive local state, logout appears to clear unrelated UI preferences too.
Environment
- Codex Desktop: 26.623.70822 observed on macOS
- Platforms affected: macOS and Windows