Repository navigation
test(workbench): 项目树定位屏外行后首帧就能显示(#1820) - #2352
Draft
lithe-support[bot] wants to merge 6 commits into
Draft
lithe-support[bot] wants to merge 6 commits into
lithe-support[bot] wants to merge 6 commits into
Conversation
Contributor
Author
|
Lithe Review(最新提交 5856b4b) 已从仅项目树扩展到插件市场列表首帧回归,增加 120 条索引的 ScrollTo(0) 单帧测试;对其它入口的静态检查发现:项目树/结构树均调用 RequestFrame、日志列表主动安排下一帧;搜索与 Marketplace 重置从 ListState 下次声明执行;GitConsole 使用 Text 的滚动接口而非同一 List。这不是已经完成所有场景的原生验收。Linux workbench/settingswindow 全量测试受基线 Viva |
… and everywhere results (#1820)
Contributor
Author
|
Lithe Review|#1820 现行入口回归与 CI 汇总(head
本轮代码与 Linux 回归覆盖已完成;在基线 CI 修复和原生测试之前保持 Draft,不合并、不提前关闭 Issue。 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #1820(测试补齐阶段;不关闭 Issue,其他滚动入口及 Viva 上游合入仍需跟踪)。
目标
#1820 记录 Viva 的
ListState.ScrollTo曾在滚动请求所在帧使用旧 offset,项目树等视图可能短暂空白。Viva fork 已修复根因,当前缺口是宿主调用点是否在一次用户操作的本帧正确呈现。改动
TestProjectTreeLocatePaintsAnOffscreenFileAfterOneClick。用临时 fixture 创建 96 个文件,打开最后一项后点击项目树的“定位当前文件”;立即检查树的选中路径和最新无头画面的目标行 Hit。没有新增 sleep、无条件重绘、重试或绕过原 ScrollTo 的代码。测试与限制
原问题的具体坏帧与已有 fork 修复逻辑已根据 #1820 复核,新增用例明确要求点击后即有可见 Hit。当前执行环境仅有 Go 1.23,仓库要求 Go 1.27 + 固定 Core,尚不能完整运行 workbench 无头用例;因此 PR 以 Draft 等待 GitHub Actions 的实际 Go 编译和 UI 测试,不声称已动态通过。 UI 视觉回归在真实 macOS/Windows 窗口尚未执行。
这是 #1820 的一个调用点覆盖,不代替 Issue 所列 Outline、Git Console、Log Window、Marketplace 等调用点后续核查。不自动合并。