Files
ElyOffice/tasks/reviews/T-03-r1.md
T

4 lines
969 B
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
crates/ely-lok/src/view/tests/large.rs:189 — T-03 回归测试遗漏几何数据到达前的首次绘制。测试先调用 set_geometry,再准备宽视口,因此允许依赖几何就绪的实现通过。具体复现:在隔离副本中将 render.rs:255 的 self.doc.is_sheet() 改成 self.sheet.is_some(),现有 a_sheet_brings_far_cut_and_frozen_cells_into_view 仍通过;对同一 short.fods 在 set_geometry 前绘制 6000×200 视口,首块原点从应有的 (10,20) 变成 (2123.5667,20),横向偏移 2113.5667 像素。ElyTable 的几何由 book.rs 的 reread 异步读取,这个首帧窗口对应实际加载路径。恢复原实现后,同一首帧探针通过。修复方向:在 set_geometry 前加入宽视口首帧断言,核对首块的实际绘制位置和命中坐标;几何到达后再次核对位置稳定。证据:/tmp/ely-t03-mutant-late.log、/tmp/ely-t03-firstframe-mutant.log、/tmp/ely-t03-firstframe-baseline.log。