Skip to content

fix: support resizable app windows on macOS - #1221

Merged
Kyle-Ye merged 1 commit into
mainfrom
fix/macos-resizable-app-window
Oct 25, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
fix/macos-resizable-app-window

Conversation

@Mx-Iris

@Mx-Iris Mx-Iris commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the fixed 500x300 frame that prevented macOS app windows from being resized
  • Apply the WindowGroup default resizability, matching SwiftUI: the content sets the window's minimum size and the maximum size is unbounded
  • Open windows at the scene's default size, falling back to 900x450, and center them in the main screen's visible frame

Closes #1202

- Remove the fixed 500x300 frame from the root scene content
- Apply the WindowGroup default resizability: the content sets the
  window's minimum size and the maximum size is unbounded
- Open the window at the scene's default size, falling back to 900x450,
  and center it in the main screen's visible frame

Closes #1202
@Mx-Iris
Mx-Iris requested a review from Kyle-Ye as a code owner October 25, 2026 14:21
Copilot AI balanced review requested due to automatic review settings October 25, 2026 14:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@github-actions github-actions Bot added area: app-scene App, scene, window, commands, storage, and lifecycle APIs. platform: macOS macOS-specific behavior or support. type: bug Something is not working correctly. labels Oct 25, 2026
@tuist

tuist Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 4cc2463e7

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 11s 4cc2463e7

@codecov

codecov Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 31.29%. Comparing base (c306403) to head (a449a56).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...nSwiftUI/App/App/AppKit/AppWindowsController.swift 0.00% 20 Missing ⚠️
...OpenSwiftUI/App/App/AppKit/AppKitAppDelegate.swift 0.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1221      +/-   ##
==========================================
- Coverage   31.31%   31.29%   -0.03%     
==========================================
  Files         968      968              
  Lines       78371    78397      +26     
==========================================
- Hits        24543    24533      -10     
- Misses      53828    53864      +36     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye
Kyle-Ye merged commit 00d62a3 into main Oct 25, 2026
7 checks passed
@Kyle-Ye
Kyle-Ye deleted the fix/macos-resizable-app-window branch October 25, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: app-scene App, scene, window, commands, storage, and lifecycle APIs. platform: macOS macOS-specific behavior or support. type: bug Something is not working correctly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support resizable app windows on macOS

3 participants