MaixVision 删除 PC 文件夹无确认、不进回收站、无撤销,导致大量数据永久丢失
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
调研方向
Start by locating MaixVision’s file panel deletion handler and tracing how it distinguishes PC paths from device paths; the report identifies recursive rmdir as the behavior to investigate. Review the project’s deletion tests or add coverage for confirmation, trash handling, project-root limits, and batch deletion. Done means PC deletions are recoverable and scoped to the project, with clear confirmation and undo behavior.
由索引模型根据 Issue 内容生成。
描述
环境
- Windows 11 Home China (10.0.26200)
- MaixVision 1.2.3(D:\maixVision)
- C: 为 BitLocker 加密的 NVMe SSD
问题
MaixVision 文件面板删除电脑本地文件夹时直接 rmdir 递归永久删除:
- 没有确认对话框
- 不进 Windows 回收站
- 没有撤销
- UI 未区分“设备文件系统”和“电脑文件系统”
证据
%APPDATA%\maixvision\logs\main.log:
[2026-11-04 00:37:13.666] [error] (main) [delete file]: Error: EBUSY: resource busy or locked, rmdir 'C:\Users<user>\Desktop\SmartCar'
Windows USN 日志同一时刻有 1,600+ 条 FILE_DELETE,回收站无对应条目。
影响
桌面真实资料被永久删除;Windows 11 + SSD TRIM + BitLocker 导致无法恢复。
期望
- 删除前二次确认;
- 删除电脑文件走系统回收站(Electron shell.trashItem / fs.trashItem);
- 支持撤销;
- UI 明确区分 PC 文件系统与设备文件系统;
- 限制只能删除当前项目根目录内的文件;
- 批量删除显示待删清单和数量。
- 主要语言
- Python
- 星标
- 872
- 派生
- 129
- 平均合并
- 2 小时 5 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sipeed/MaixPy 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 45/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
pylint-dev/pylint#11791 ·
维护者通常 1 天内回复
-
Rasterio granule reads never retry, so one 503 (Service Unavailable) fails the whole request可能已有人在做 @chuckwondo 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
developmentseed/titiler-cmr#305 ·
维护者通常 1 天内回复
-
community enhancement
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复