Skip to content

[bug]调用uri不能隐藏浮窗 #170

@PANDAJSR

Description

@PANDAJSR

检查清单

  • 我已更新到最新版,确认这一 Bug 还没有修复。我也已在 GitHub Issues 中检索,确认这一 Bug 未被提交过。
  • 我已经仔细阅读过选项里的内容,并且知道这个选项不用勾选。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题(关于其他非程序本身的问题应当在 Discussion 板块提出)。

期望的行为

调用secrandom://tray/float,如果浮窗显示,要正常隐藏

实际结果

没有反应

重现步骤

1.浮窗处于显示状态
2.浏览器里边打开secrandom://tray/float

截图/录屏(可选,建议)

Image

诊断信息

2026-01-25 10:46:16.257 | DEBUG | app.core.single_instance:_handle_new_connection:105 - setup_local_server.handle_new_connection: 收到数据: activate
2026-01-25 10:46:16.258 | DEBUG | app.core.single_instance:_handle_new_connection:105 - setup_local_server.handle_new_connection: 收到数据: url:secrandom://tray/float
2026-01-25 10:46:16.258 | DEBUG | app.core.single_instance:_handle_url_command:168 - setup_local_server.handle_new_connection: 收到URL参数: secrandom://tray/float
2026-01-25 10:46:16.258 | DEBUG | app.tools.url_handler:handle_url:184 - URLHandler.handle_url: 处理URL: secrandom://tray/float
2026-01-25 10:46:16.258 | DEBUG | app.tools.url_handler:handle_url:203 - URLHandler.handle_url: 解析URL完整路径: tray/float
2026-01-25 10:46:16.258 | DEBUG | app.common.IPC_URL.url_command_handler:handle_url_command:109 - 处理URL命令: secrandom://tray/float
2026-01-25 10:46:16.258 | DEBUG | app.common.IPC_URL.url_command_handler:handle_url_command:111 - 收到URL命令: secrandom://tray/float
2026-01-25 10:46:16.258 | DEBUG | app.common.IPC_URL.url_command_handler:_parse_url:184 - 解析URL: secrandom://tray/float
2026-01-25 10:46:16.258 | DEBUG | app.common.IPC_URL.url_command_handler:_parse_url:220 - URL解析结果 - 命令: tray/float, 参数: {'args': [], 'full_url': 'secrandom://tray/float'}
2026-01-25 10:46:16.258 | DEBUG | app.common.IPC_URL.url_command_handler:handle_url_command:115 - 解析URL命令 - 命令: tray/float, 参数: {'args': [], 'full_url': 'secrandom://tray/float'}
2026-01-25 10:46:16.259 | WARNING | app.common.safety.secure_store:read_secrets:133 - 读取安全配置失败,返回空配置
2026-01-25 10:46:16.259 | DEBUG | app.common.safety.password:is_configured:42 - 密码已配置:False
2026-01-25 10:46:16.259 | DEBUG | app.common.IPC_URL.url_command_handler:_requires_verification:249 - 命令无需验证(未配置密码):tray/float
2026-01-25 10:46:16.259 | DEBUG | app.common.IPC_URL.url_command_handler:_execute_command:360 - 执行命令: tray/float, 参数: {'args': [], 'full_url': 'secrandom://tray/float'}
2026-01-25 10:46:16.259 | DEBUG | app.common.IPC_URL.url_command_handler:_execute_command:365 - 找到命令处理器 - 命令: tray/float
2026-01-25 10:46:16.259 | DEBUG | app.common.IPC_URL.url_command_handler:_handle_tray_float:673 - 切换浮窗显示状态
2026-01-25 10:46:16.259 | DEBUG | app.view.main.window:_handle_tray_action_requested:566 - 收到托盘操作请求: toggle_float_window
2026-01-25 10:46:16.259 | WARNING | app.view.main.window:_handle_tray_action_requested:578 - 未知的托盘操作: toggle_float_window
2026-01-25 10:46:16.260 | DEBUG | app.common.IPC_URL.url_command_handler:_execute_command:368 - 命令执行成功: tray/float, 结果: {'status': 'success', 'message': '浮窗显示状态已切换'}
2026-01-25 10:46:16.260 | DEBUG | app.common.IPC_URL.url_command_handler:handle_url_command:124 - URL命令执行成功: tray/float, 结果: {'status': 'success', 'message': '浮窗显示状态已切换'}
2026-01-25 10:46:16.260 | DEBUG | app.tools.url_handler:handle_url:224 - URLHandler.handle_url: 处理结果: {'status': 'success', 'message': '浮窗显示状态已切换'}
2026-01-25 10:46:16.260 | DEBUG | app.core.single_instance:_handle_url_command:172 - setup_local_server.handle_new_connection: url_handler.handle_url(url) 结果: {'status': 'success', 'message': '浮窗显示状态已切换'}

以上就是我在浏览器里边打开secrandom://tray/float之后的日志

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题。如果我的 issue 没有按照上述的要求填写,可能会被无条件关闭。

Metadata

Metadata

Assignees

Labels

Bug程序没有正常工作未处理此标签表示此issue未处理状态

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions