[GH-ISSUE #656] [bug] 预览超过 50K 的 markdown 文件出现应用卡顿,退出造成文件损毁 #483

Closed
opened 2026-03-02 03:40:09 +03:00 by kerem · 4 comments
Owner

Originally created by @Eroge-Newton on GitHub (Sep 19, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/656

详细描述这个 Bug

系统信息

系统:KDE Neon Plasma 6
内核:6.16.7
桌面:Wayland
版本:v.0.21.1

错误描述/复现

  1. 修改工作区到工作目录
  2. 预览超过 50K 的 markdown 文件
  3. Note-Gen 出现应用卡顿,而后卡死
  4. 尝试退出
  5. 造成文件损毁

日志

journal 未捕获到 Note-Gen 相应日志

NoteGen 版本

0.21.1

操作系统

Linux

报错日志

No response

Originally created by @Eroge-Newton on GitHub (Sep 19, 2025). Original GitHub issue: https://github.com/codexu/note-gen/issues/656 ### 详细描述这个 Bug # 系统信息 系统:KDE Neon Plasma 6 内核:6.16.7 桌面:Wayland 版本:v.0.21.1 # 错误描述/复现 1. 修改工作区到工作目录 2. 预览超过 50K 的 markdown 文件 3. Note-Gen 出现应用卡顿,而后卡死 4. 尝试退出 5. 造成文件损毁 # 日志 journal 未捕获到 Note-Gen 相应日志 ### NoteGen 版本 0.21.1 ### 操作系统 Linux ### 报错日志 _No response_
kerem closed this issue 2026-03-02 03:40:09 +03:00
Author
Owner

@Eroge-Newton commented on GitHub (Sep 19, 2025):

文件损毁:将工作区内的几个文件内容混合

<!-- gh-comment-id:3310923027 --> @Eroge-Newton commented on GitHub (Sep 19, 2025): 文件损毁:将工作区内的几个文件内容混合
Author
Owner

@codexu commented on GitHub (Sep 28, 2025):

文件内部是否存在大量图片?

<!-- gh-comment-id:3342212259 --> @codexu commented on GitHub (Sep 28, 2025): 文件内部是否存在大量图片?
Author
Owner

@Eroge-Newton commented on GitHub (Sep 28, 2025):

文件内部是否存在大量图片?

不,相关的文件不含有任何图片(包括图片链接和 base64 格式)。
唯一可能和渲染相关的仅少量 Markdwon 格式表格,但表格都不大

<!-- gh-comment-id:3342975052 --> @Eroge-Newton commented on GitHub (Sep 28, 2025): > 文件内部是否存在大量图片? 不,相关的文件不含有任何图片(包括图片链接和 base64 格式)。 唯一可能和渲染相关的仅少量 Markdwon 格式表格,但表格都不大
Author
Owner

@codexu commented on GitHub (Oct 15, 2025):

现在使用的编辑器优化空间有限,确实存在性能瓶颈,暂时也没有好的办法进行优化。

<!-- gh-comment-id:3404876818 --> @codexu commented on GitHub (Oct 15, 2025): 现在使用的编辑器优化空间有限,确实存在性能瓶颈,暂时也没有好的办法进行优化。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#483
No description provided.