Repository navigation
Releases: Tansukii/dsh-screenshot
Release list
v1.0.6
修复:
- 截图偶发出现大片纯灰——桌面还没画完就抢了帧。现在抢帧前强制桌面重绘并等合成完成(RedrawWindow + DwmFlush),抢完还会验货:超过五分之一像素仍是桌面裸灰就重绘重抢,最多三次。
- 首次按下不再花约两秒用 PowerShell 扫进程;warm 探测改为返回 ok/missing/busy/stuck,只有真正卡死才结束进程。
- locale 读取在 ESM 里用了 require 导致抛错、提示语回落默认语言;改用模块导入。
新增:工具进程可常驻,--idle <秒>(默认 900)空闲后退出,宿主直接复用已有实例,不再每次冷启动。
Fix: captures could contain un-painted desktop areas (large flat grey blocks). The host now forces a desktop repaint and waits for the compositor before grabbing, and re-grabs up to three times while the frame is still mostly bare grey. The tool process can stay warm (--idle, default 900s). The first press no longer spends about two seconds in a PowerShell process scan. Locale lookup no longer throws inside an ES module.
v1.0.5
修复:DSH 切换语言后,输入框旁截图按钮的提示语仍停留在旧语言。原因是提示语绑定在按钮节点上,而 DSH 重绘输入框区域时会替换这些节点,监听器随之失效;现在改为挂在 document 上的事件委托。
同时把提示语和截图界面的语言统一到同一个来源:client 通过 /shot/api/lang 向 host 询问,host 读取 DSH profile 里的 locale 设置(也就是传给截图工具的那个值),两者不会再不一致。
Fix: the composer tooltip follows the DSH language again (delegated listeners), and it now shares one source with the capture UI: the host reads the locale from the DSH profile and serves it to the client through /shot/api/lang.
v1.0.4
v1.0.3
v1.0.2
修复:第二次及之后的截图会弹出「无法访问已释放的对象(SnipForm)」。现在每次截图都在全新的 STA 线程上运行独立的消息循环。
Fix: every capture now runs on a fresh STA thread. Reusing the thread left a stale WinForms context, so the second capture died in Control.CreateHandle() with ObjectDisposedException.