Files
mnote/bugs
lix-2026 eccf399142 fix: limit resource preview watches to active tab
Root cause: every local resource preview tab kept its own /api/local-folder/events EventSource alive. Hidden PDF and Office tabs consumed browser same-origin connection slots, so later preview iframes/file reads stalled and rendered as blank pages.

Changes:
- keep passive resource file watching active-tab only
- close inactive resource-tab EventSources on tab activation and release
- update the bug record with the PDF fifth-open and XLSX fourth-open repro and verification

Verification:
- node --check rust/crates/mnote-web/browser/document-resource-tab-runtime.js
- cargo test -p mnote-web --manifest-path rust/Cargo.toml pdf_preview_page_does_not_render_visible_toolbar
- cargo test -p mnote-web --manifest-path rust/Cargo.toml document_shell_returns_page_aggregate_snapshot
- cargo build -p mnote-web --manifest-path rust/Cargo.toml
- browser smoke: opened 5 XLSX previews; #4 and #5 completed with tableCount=1
- browser smoke: opened 5 DHA PDFs; #5 rendered 8/8 canvases, iframeCount=0, browser errors=0
2026-06-04 21:00:42 +08:00
..
2026-05-13 22:43:16 +08:00

bugs 缺陷索引

更新时间:2026-05-12

状态口径以当前仓库真实代码与真实验证结果为准:

  • [done]:问题已修复,且已通过代码、smoke、浏览器或截图证据验证
  • [process]:问题已确认存在,仍在修复、验证或等待收口

分类方式

  • bugs/ 默认镜像 design/ 的主线分类方式。
  • 当前主线缺陷按对应大类放置,例如:
    • 01-tree-first-graph-kernel/
    • 02-convex-rust-long-term-architecture/
    • 03-rust-web/
    • 04-tree-domain/
    • 05-editor-mainline/
    • 06-mindmap/
    • 07-ai/
  • 每个大类继续按 process/done/ 分层。

归类原则

  • 缺陷归类以真正 owner 和长期主线为准,不以表面症状命名。
  • sidebartopbarbreadcrumb、文档页壳、Wolai 体验对齐、页面树与主编辑器整体体验问题,优先归到 05-editor-mainline/
  • projectionrow modelselection/focus modelkeyboardDnDtree commandpage_tree/file_tree/sidebar_tree 协议问题,优先归到 04-tree-domain/
  • transport、route、SSR page shell owner、compat/bridge 边界问题,按 owner 判断是否落到 03-rust-web/05-editor-mainline/

流转规则

  • 新确认的缺陷先进入对应大类的 process/
  • 缺陷在真实代码中修复并完成对应验证后,必须移动到对应大类的 done/
  • 不允许在 process/done/ 同时保留同一条缺陷。
  • 若后续发现旧缺陷记录归类错误,应直接迁移到正确大类,而不是在错误大类继续追加。