makecindy / makecindy/cindy

bug(desktop):点击助手 Markdown 链接后侧边栏打开但网页不加载

Open
#3,390 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: CyATom
**客户端版本**: 0.1.60

---

## 现象

点击 Cindy 助手回复中的 Markdown 链接后,Cindy 窗口会切换到右侧栏浏览器区域,但目标网页不会加载。

## 复现步骤

1. 将“设置 → 个性化 → 链接打开方式”设置为“内置侧边栏浏览器”。
2. 在对话中让 Cindy 回复一个 Markdown 网页链接。
3. 点击助手回复中的该链接。
4. 观察右侧栏浏览器的页面状态。

## 期望行为

点击助手回复中的 Markdown 链接后,应打开或聚焦当前会话的右侧栏浏览器,并将目标 URL 加载到浏览器标签页,正常显示网页内容。

## 实际行为

Cindy 窗口会切换到右侧栏,右侧栏浏览器会被打开或聚焦并定位到浏览器区域顶部,但目标 URL 不会加载,网页内容没有变化。

## 复现频率

目前可以稳定复现。

## 已尝试

以下方式可以正常加载同一个网页:

1. 右键链接,选择“使用默认浏览器打开”;
2. 复制链接 URL 后,手动粘贴到 Cindy 右侧栏浏览器地址栏。

因此,目标 URL 和网页本身可以正常访问,问题疑似出现在“助手 Markdown 链接点击 → 侧边栏浏览器导航”这一处理链路中。

## 补充说明

这不是链接打开方式没有生效:侧边栏会被打开或聚焦,但目标 URL 没有被正确加载。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the setting configured for the built-in sidebar browser, then trace the Markdown link click handling into the sidebar browser navigation entry point. Verify whether the target URL is passed when the sidebar opens or focuses; done means clicking the link loads the target page in the current session's browser tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.