Repository navigation
Conversation
This was referenced Oct 27, 2026
Closed
Member
Author
|
Consolidated into #5920. All commits and tests are retained there; this duplicate review thread is closed without merging into develop. |
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.
Refs #519, #2345, #3717, #2134, #1920, #1192, #2467, #2268, #3049, #2421, #3818, #143. Part 7 of the startup recovery series.
Summary
Add window-owned layout capture/restoration to the actual Pinia store and sidebar/outline components. Outline placement/visibility/width, sidebar view/visibility/width, opened-files expansion/height, tab visibility and source/focus/typewriter modes stay independent of global defaults and other windows. Managed layouts avoid legacy localStorage/preferences writes; folder loading preserves sidebar visibility. Reading mode and temporary width clipping preserve the preferred layout.
Add native geometry adapters for outer device-independent bounds, normal bounds during maximization and visible placement after display removal. Existing production windows retain their legacy adapters until the later session-host integration enables the managed path.
Type of change
Test plan
Notes for reviewers
Depends only on #5913. This branch targets develop and includes its prerequisite commits. Review this part at feat/startup-01-contracts...feat/startup-07-layout .
The native-window test compiles and executes the actual geometry adapter in Electron, rather than reimplementing its calculations. Application restart persistence and default activation are verified in the integration PRs; these issue references do not close requests ahead of that evidence. No migration or reset-layout action. Design/progress documents remain in the agreed desktop folder.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.