Files
komorebi/crates
LGUG2Z fb5f23a67a fix(e2e-agent): read the displays of the macOS guest in a process of their own
NSScreen keeps the visible frame it had when the process started: turning the
run loop does not refresh it, and the agent, which waits in accept, is up for
the whole run. The Dock of the guest shrinks its icons once the first test
windows are open (1280 points are not wide enough for the persistent apps and
the windows), its height going from 74 to 65 points, so the work area gains 9
points at the bottom, and the agent kept saying y 30, height 696 while a fresh
process said 705. The daemon reads the screens as it starts, so a shared check
that took the work area from the agent held the daemon to an area that was not
the system's, and the mirror checks of layout_flip were off by the difference.

The verb now runs the agent again with --print-displays, which prints what a
new process sees and exits, and answers in process only if that fails.
2026-11-06 14:54:37 -08:00
..