Repository navigation
MacStroke 3.2.5
新增 / New
-
Screenshot snapping can now bring the window it lands on to the front. With "snap to windows" on, the window under the pointer is raised before the screen freezes, and the frozen frame is captured again — so both the selection and the saved image show the whole window instead of the half that was uncovered. It follows the snap box: move onto another window and that one is raised, after a 120 ms debounce, and only when it is actually covered by a same-layer window. Raising borrows the foreground just for the moment of capture: the mask takes the keyboard back right away, and when the session ends focus still goes back to the app you were in when you pressed the shortcut. The switch sits under "snap to windows" on the Screenshot page and is off by default — raising briefly switches the frontmost app, so it is yours to turn on. Without Accessibility permission this step is skipped silently and captures behave exactly as before.
截图吸附时把那一扇窗提到最前。截图遮罩开着「吸附到窗口」时,吸附框落到哪一扇就先把哪一扇提到最前,再把冻结帧重拍一帧换给遮罩 —— 选区里看到的、最后保存的都是整扇窗,而不是原先只露着的那半扇。它跟着吸附框走:换到另一扇就提另一扇,悬停 120ms 去抖,且只在那扇真被同层窗口压住时才动。提窗只借一下前台:抓完帧立刻把键盘收回遮罩,整场结束仍按原口径把焦点交还给按快捷键前那家应用。偏好页截图页「吸附到窗口」下面新增一档,默认关(提窗有切前台的可见副作用,想要的人自己打开);没有辅助功能权限时这一步静默跳过,截图行为与旧版一致。
其余 / Also in this version
-
Full accounting — behavior, the 22-case mutation table, offline boundaries and the acceptance checklist — is in
docs/screenshot-raise-window.md(Chinese).完整账目 —— 口径、22 条反向变异表、离线取证边界与验收清单 —— 见
docs/screenshot-raise-window.md(中文)。
Requires macOS 13.0 or later. 旧版 2.0.5 与 3.0.x 都能直接自动更新(条目同时带 DSA 与 EdDSA 签名)。