[2006] 基于 Windows 平台修复 C++ 测试#3793
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- smart_font_test: CJK 字体按平台区分 (SimSun / Noto CJK SC) - tests/Base: 新增统一的 cleanup_qt_top_level_widgets() 清理顶层窗口 - qt_pdf/chat/tab 测试接入 cleanup, 避免窗口泄漏导致套件卡死与 0xC000013A - template_utils_test: 改删 LiiiSTEM/library 子目录 + 重试, 修复 Windows 文件锁时序 - qt_pdf_reader_widget: drag 判定改用 viewport-local 坐标, 修复 link click 误判 - table_performance_test: 删除无效的 QVERIFY(time>=0) 性能测试与死代码 - CLAUDE.md: 新增 Qt 窗口测试规范 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
展开第 4 节: 背景(browse 工具的 click/drag 区分规则)、Bug 根因 (测试构造的事件 globalPosition 默认 (0,0) 与 press 真实坐标差距巨大 导致误判 drag)、修复(viewport-local 坐标)、生产鲁棒性收益(多屏/ 窗口拖动/输入设备)、影响范围。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
No description provided.