Skip to content

Expect the dock's app picker from Super+Alt+Space in the desktop smoke - #373

Merged
dhh merged 2 commits into
quattrofrom
desktop-test-dock-apps
Oct 31, 2026
Merged

dhh merged 2 commits into
quattrofrom
desktop-test-dock-apps

Conversation

@dhh

@dhh dhh commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Problem

The x86_64 default install test fails three desktop checks on edge (on this PR's base too, run 41229089414):

  • apps-menu shortcut opens
  • floating shortcut floats the active window
  • universal copy uses the active GUI application

Only the first is real, and it's the test that's wrong. Since omacom/omarchy#15263 (October 13), Super+Alt+Space toggles the dock's app picker (layer omarchy-dock-apps), not the Omarchy menu. The smoke still waits for omarchy-menu, so it reports a failure, then hides omarchy.menu and leaves the picker open. The picker holds the keyboard, so:

  • Super+T never reaches the terminals: the picker is still on screen over them in failure-shortcut-window-float.png.
  • Super+C: the test's token lands in the picker's search box ("No apps match 'OmarchyUniversalCopy…'" in failure-shortcut-universal-copy.png) instead of Chromium.

Stable predates #15263, so this only appeared once PR builds moved to edge (#371).

Change

In both test/integration.d/desktop-test.sh and bin/omarchy-iso-test, which carry the same smoke:

  • Super+Alt+Space now expects omarchy-dock-apps, and the row is renamed apps-menu → apps.
  • New close_shortcut_surfaces: hides the menu, emojis, clipboard and audio panels, and closes the dock's app picker if its layer is present (omarchy-shell omarchy.dock apps toggles it; it has no hide). cleanup_shortcut_state and every failed surface check call it, so a surface left open by one check can't take the keyboard from the checks after it. The shortcut table no longer needs its plugin column.

Testing

  • Script checks: both files pass bash -n. With ssh_session stubbed, the guest commands that close_shortcut_surfaces and cleanup_shortcut_state send parse.
  • Layer detection: on a Mac running edge omarchy-dev, the jq check finds no omarchy-dock-apps layer while the picker is closed; the layers present are omarchy-background, omarchy-bar, omarchy-dock and omarchy-notifications.
  • Unit tests: aarch64-build, free-space-gate, keyboard-selection, iso-test-harness and ocr-screen pass.
  • Still to come: this PR's own x86_64 default install test on edge is the end-to-end check.

🤖 Generated with Claude Code

Since omacom/omarchy#15263, Super+Alt+Space toggles the dock's app
picker (layer omarchy-dock-apps), not the Omarchy menu. The smoke still
waited for omarchy-menu, so it failed the shortcut that worked, then hid
omarchy.menu and left the picker open. The picker kept the keyboard:
Super+T never reached the terminals, and Super+C's token was typed into
the picker's search. Those two failures followed from the first one.
The x86_64 smoke only saw this once pull requests built from edge.

Wait for omarchy-dock-apps instead. Close every shortcut surface, the
picker included (its apps command toggles it), before each phase and
after any failed check, so one surface left open cannot take the
keyboard from the checks after it. bin/omarchy-iso-test's copy of the
smoke gets the same change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; the previous stable compatibility issue is fixed.

Summary

Both desktop smoke tests now choose the expected app surface from the installed bindings.

  • Shortcut checks clear leftover panels before later keyboard tests.
  • The apps shortcut check follows the installed launcher binding.

Reviews (2) · Last reviewed commit: "Expect the apps surface the installed Om..." · Reviewed by Greptile

Comment thread test/integration.d/desktop-test.sh Resolved
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Install test passed

x86_64 vs quattro aarch64 vs quattro
Result ✅ passed ✅ passed
Build the ISO 306.0 s −37.0 s 455.0 s −41.0 s
Install 17.1 s −2.7 s 20.9 s −3.7 s
First boot 6.5 s −5.4 s 5.7 s −0.1 s
Everyday boot 6.5 s −5.4 s 5.5 s +0.0 s

Boots are loader, kernel and userspace, without the VM's firmware.

Install phases, x86_64
Phase This PR quattro
Preparing live environment 0.6 s 1.3 s
Preparing install target 6.8 s 6.8 s
Installing Arch + Omarchy 5.2 s 5.5 s
Configuring hibernation 0.2 s 0.2 s
Configuring system 2.8 s 2.9 s
Staging provisioning 0 s 0.2 s
Finalizing boot and user 1.2 s 2.5 s
Configuring login 0 s 0 s
Configuring SSH access 0.2 s 0.1 s
Configuring Tailscale 0 s 0 s
Configuring DNS resolver 0 s 0 s
Validating boot setup 0 s 0 s
Creating factory snapshot 0.1 s 0 s
Install phases, aarch64
Phase This PR quattro
Preparing live environment 1.2 s 1.1 s
Preparing install target 2.1 s 2.7 s
Installing Arch + Omarchy 7.6 s 10.2 s
Configuring hibernation 0 s 0 s
Configuring system 8.2 s 8.9 s
Staging provisioning 0 s 0 s
Finalizing boot and user 1.4 s 1.4 s
Configuring login 0 s 0 s
Configuring SSH access 0.1 s 0.1 s
Configuring Tailscale 0 s 0 s
Configuring DNS resolver 0 s 0 s
Validating boot setup 0.1 s 0.1 s
Creating factory snapshot 0.1 s 0.1 s

Run · e2b6ced

A stable ISO, which runs this smoke when built by hand, still binds
Super+Alt+Space to the Omarchy menu (v4.0.6: "omarchy-menu toggle
apps"), so expecting the dock's app picker there would fail a working
shortcut. Read the guest's own bindings: the dock picker when they bind
"omarchy.dock apps", the menu otherwise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh
dhh merged commit 0baef77 into quattro Oct 31, 2026
5 checks passed
@dhh
dhh deleted the desktop-test-dock-apps branch October 31, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant