Files
ElyOffice/tasks/reviews/M-01-r4.md
T

4 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
FAIL
apps/ely-mark/src/outside.rs:239(adopt_disk:302-309):同文本接管更新会话、Source 和保存策略时,保留了旧的 MarkView.saved 与 tab.modified;当前内容已全部写在磁盘上,标签仍参与未保存冲突判定,违反 PRD §14.4、FILE-02。真窗口独立复现三次:打开 b"alpha\n\nbeta\n",在开头键入 X,自动保存前外部写入 b"Xalpha\n\nbeta\n";等待 session: reloaded 并停手三秒,再由外部追加 b"\ngamma\n"。应用记录 changed outside; unsaved true、停止自动保存,AX 树显示 “t.md changed on disk; your unsaved text is kept” 和 Compare… 按钮;按 §14.4 此时应作为干净文件接收外部更新。证据:/tmp/ely-m01-r4-adopt-clean-1.log、/tmp/ely-m01-r4-adopt-clean-2.log、/tmp/ely-m01-r4-adopt-ax-native.log、/tmp/ely-m01-r4-adopt-ax.log。修复方向:同文本接管时同步视图的已保存基线与标签修改状态,保留页面及编辑历史;回归覆盖“外部写入当前编辑文本,随后再次外部修改”的状态转换。