Skip to content

fix: 修复 /s 命令中路径/工具选择无效的 bug#7

Merged
Gm-aaa merged 1 commit into
masterfrom
claude/add-claude-documentation-K9Iwq
Mar 7, 2026
Merged

fix: 修复 /s 命令中路径/工具选择无效的 bug#7
Gm-aaa merged 1 commit into
masterfrom
claude/add-claude-documentation-K9Iwq

Conversation

@Gm-aaa

@Gm-aaa Gm-aaa commented Mar 7, 2026

Copy link
Copy Markdown
Owner

torrent_callback 对 sb_path_select / sb_tool_select 等回调的处理原本在 PAGE 查找之后,而 /s 搜索结果只存在 search.py 的 PAGE 中,导致 PAGE.get() 返回 None、提前 return,使点击路径/工具按钮无任何响应。

将 sb_path_select、sb_cd_、sb_confirm_path、sb_tool_select、sb_tool_、 sb_cancel_* 和 tb_add_ 等回调的处理移至 PAGE 检查之前,这些操作依赖
DOWNLOAD_INFO 而非搜索结果页,/s 和 /sb 均可正常使用。

torrent_callback 对 sb_path_select / sb_tool_select 等回调的处理原本在
PAGE 查找之后,而 /s 搜索结果只存在 search.py 的 PAGE 中,导致 PAGE.get()
返回 None、提前 return,使点击路径/工具按钮无任何响应。

将 sb_path_select、sb_cd_、sb_confirm_path、sb_tool_select、sb_tool_、
sb_cancel_* 和 tb_add_ 等回调的处理移至 PAGE 检查之前,这些操作依赖
DOWNLOAD_INFO 而非搜索结果页,/s 和 /sb 均可正常使用。
@Gm-aaa
Gm-aaa merged commit 5649b7e into master Mar 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants