Repository navigation
Conversation
The welcome view shares its 150pt tiles with iOS. On macOS 26 they read as an iPad layout and look out of place next to the Liquid Glass sidebar and toolbar, and the Server button uses a different style from the rest. On macOS 26 and later, show the app icon and title, the two main actions as large standard buttons (Create as the prominent one), and User Guide, Support and Server as borderless links. The actions and localized strings are unchanged. iOS, visionOS and older macOS keep the existing tiles. The new controls get accessibility identifiers, and a UI test checks that Create, Open and Server still open the wizard, the open panel and the server window. Assisted-by: Claude:claude-opus-5-5
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.
On macOS 26 the welcome view still shows the 150pt tiles it shares with iOS. Next to the Liquid Glass sidebar and toolbar they read as an iPad layout, and the full-width Server button has a style of its own.
This changes only the macOS 26 path of
VMPlaceholderView:The actions and the localized strings are unchanged. iOS, visionOS and macOS 12–25 keep the tiles. The new controls get identifiers in
UTMAccessibilityID, andVMLibraryFlowTestsgets a UI test for them.This branch and #8239 both add a test to
Tests/UITests/macOS/VMLibraryFlowTests.swift; this one is inserted in the middle of the file so the two branches merge cleanly in either order.Testing
Tested by an AI agent on a MacBook with Apple M5, macOS 26.7.3 (25G342), Xcode 27.2.
VMLibraryFlowTests/testWelcomeViewButtonsOpenTheirScreens, on the test build with an empty library so the welcome view shows: Create opens the wizard (then cancelled), Open shows the open panel (closed with Escape), Server opens the UTM Server window, and User Guide and Support are present and hittable. The links are not clicked because they open the default browser; their URLs are the ones the tiles use.-NSRequiresAquaSystemAppearance YES). The "before" screenshot is the current release on macOS 26../scripts/test_utm.sh: 288 tests, 0 failures (the 16VMLifecycleTestsare skipped: they need the signed host of-v)../scripts/test_utm.sh -only-testing:UTMUITests: 13 of 14 pass, including this test and the one in library: reopen the library window from File > New and Open #8239.testSettingsSaveAndCancelAreReachablefailed once on the wizard's drive page and passes when run alone../scripts/test_utm.sh -s(iOS): 217 tests, 0 failures.-only-testing:UTMUITests-iOS: 7 tests, 1 skipped; the two tests that run first after a fresh install fail on a cold start and pass when run alone.sh Tests/Static/run_all.sh: 0 problems.#available(macOS 26, *)and those versions keep the existing code path.Note for other runs: these UI tests type into fields and press Cmd-W, so they pass only while an English input source is active. With a Cyrillic layout active the app receives Cyrillic letters and Cmd-W does not match the Close menu item, which looks like a focus bug.