Skip to content

2.1.2

Choose a tag to compare

@Lv-0 Lv-0 released this 28 Aug 11:09
· 10 commits to main since this release

2.1.2

EN

Fixed: Finder windows no longer get stuck half-tiled.

  • With two overlapping Finder windows, the tiling completion check could borrow an already-tiled sibling window's geometry, wrongly declare the window done and never retry. CG window evidence is now bound to the exact window (identity gate + size-delta gate for occluded windows that macOS drops from the CG list).
  • Windows whose size writes are silently rejected by the app (macOS 26, e.g. some Finder states) now degrade to centered instead of being pinned half-tiled to the tile origin; later tile attempts short-circuit instead of replaying the move-fail-recenter loop.
  • Off-screen / overhanging windows are pulled back to center, and same-app windows across multiple displays are each laid out with their own screen's context (coordinate-space ties now resolve to the canonical global top-left semantics).
  • Same-pattern CGWindowList misuse fixed in the UI snapshot and self-test tooling.

462 tests pass. Plan and evidence: docs/fix-plan-finder-tile-misjudgment.md.

中文

修复:Finder 窗口不再卡在半平铺状态。

  • 两个 Finder 窗口重叠时,平铺完成判定可能借用已平铺兄弟窗口的几何,误判完成且永不重试。CG 窗口证据现在绑定到确切窗口(身份门 + 被遮挡窗口剔除列表的尺寸差分门)。
  • 被应用静默拒绝尺寸写入的窗口(macOS 26 的部分 Finder 状态)改为降级居中,而不是缺一块钉在平铺原点;后续平铺尝试直接短路,不再重演「滑过去—失败—拉回来」。
  • 屏幕外/悬空窗口会被拉回居中;同一应用跨多屏的多窗口各自使用所在屏幕的上下文正确布局(坐标空间平票时回归全局 top-left 规范语义)。
  • UI 截图与自测工具中的同款 CGWindowList 误用一并修复。

462 项测试通过。方案与证据:docs/fix-plan-finder-tile-misjudgment.md