deepx-code icon indicating copy to clipboard operation
deepx-code copied to clipboard

🐛 复制图片->粘贴到deepx code的输入区时, 会导至windows 11 的复制/粘贴文体功能失效

Open lordquest opened this issue 4 months ago • 2 comments

提交前确认 / Preflight

  • [x] 我已搜索过 issues,没有重复 / I searched existing issues and found no duplicate
  • [x] 我用的是最新版本(或已说明所用版本) / I'm on the latest version (or stated my version below)

版本 / Version

0.2.97

安装方式 / Install method

直接下载 release 二进制手动运行 / downloaded release binary, ran directly

操作系统 / OS

Windows

环境细节 / Environment detail

windows 11 26th1

问题描述 / What happened

如标题描述, 复制图片 -> 粘贴到deepx code的输入区时, 会导至windows 11 的复制/粘贴文体功能失效(外面的记事本或者浏览器), 猜测可能是windows clip 的句柄在这种情况下没释放?

复现步骤 / Steps to reproduce

  1. 复制图片之后, 粘贴到deepx code的输入区, 此时会显示图像占位符;
  2. 这时候windows 11 的复制/粘贴功能已经失效了, 可以在外面的记事本或者浏览器下复制/粘贴文体验证

规避方法: 在deepx code 历史对话区随便用鼠标选中一断文本, 会提示 "已复制" , 此时windows 11 的复制/粘贴功能就恢复了, 可以在外面的记事本或者浏览器下复制/粘贴文体验证

报错信息 / 日志 / Error output / logs


lordquest avatar Jul 19 '26 17:07 lordquest

@lordquest 修复了一下 #197 你确认一下

itmisx avatar Jul 20 '26 08:07 itmisx

@lordquest 修复了一下 #197 你确认一下

在wind10系统上试了一个, 这个bug应该是修好了

lordquest avatar Jul 20 '26 09:07 lordquest