mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
AppKit keeps a window's bottom-left corner when its size changes (winit's `request_inner_size` is `setContentSize`), so every size the app sent moved the window's top edge by the height it gained or lost: a collapsed dock palette expanded by its double arrow grew upward, often past the top of the screen, and the dock then recorded that place as the user's. `act` follows each `SetInnerSize` on macOS with the top-left corner the caller knows the window at. The test kit gains `AppKitWindow`, which runs window commands as AppKit does; the macOS dock trials use it. New trials: a palette collapsed and expanded by its double arrow, and a collapsed palette dragged by its title row and by its group grip, on a Retina Mac. Refs storytold/photocraft#15486