You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area: app-sceneApp, scene, window, commands, storage, and lifecycle APIs.area: hosting-bridgeSwiftUI bridge, UIHosting/NSHosting, representables, and platform host views.platform: macOSmacOS-specific behavior or support.type: bugSomething is not working correctly.type: featureNew API, behavior, platform support, or user-facing capability.
On macOS, the window that an OpenSwiftUI App creates has a fixed size of 500x300. The root scene content is wrapped in a fixed frame(width:height:), so the hosting view reports equal minimum and maximum sizes, and the window cannot be resized.
Scope
Remove the fixed frame from the root scene content.
Use the WindowGroup default resizability: the content sets the window's minimum size, and the maximum size is unbounded (NSHostingSizingOptions.minSize).
Give the window a default initial content size when the scene does not set one.
Acceptance criteria
The app window opens at the default size and can be resized larger.
The window cannot be resized smaller than the minimum size of its content.
area: app-sceneApp, scene, window, commands, storage, and lifecycle APIs.area: hosting-bridgeSwiftUI bridge, UIHosting/NSHosting, representables, and platform host views.platform: macOSmacOS-specific behavior or support.type: bugSomething is not working correctly.type: featureNew API, behavior, platform support, or user-facing capability.
Activity