Repository navigation
Main window: opening size ignores the interface size; always centered - #378
Merged
Merged
Conversation
The main window opened larger at every interface size above 100%, so on a 1080p screen it nearly touched the top and bottom edges. It now opens at the 100% size and grows only when the scaled minimum size needs more room (150%). It also opens centered every time instead of at the system's cascade position. Closes #376 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
zoom::main_sizesreturns both sizes.center(), Windows placed it at the cascade position near the top left. It was centered before only when the clamped size filled one side of the screen.Test plan
cargo fmt --check,cargo clippy --all-targets -- -D warningscargo test: newthe_opening_size_stays_unless_the_minimum_needs_more; all unit tests passCloses #376
🤖 Generated with Claude Code