窗口图标显示为通用“wayland”占位图标(橙色 W)— CC Switch
Quick fix
在 KDE Wayland 上将安装的 desktop 文件命名为 cc-switch.desktop,使其与窗口 app id 对齐。
Symptom
Section titled “Symptom”KWin 提供的窗口图标位置显示通用 “wayland” 占位图标(Breeze 主题里的 `/usr/share/icons/breeze-dark/apps/48/wayland.svg`,橙底白 W)。在 KDE Plasma 的 Wayland 会话中,KWin 会按窗口 app id 查找同名的 `<app_id>.desktop` 文件。该报告中的窗口 app id 为 `cc-switch`,因此 KWin 查找 `cc-switch.desktop`;但 deb 和 rpm 安装包实际安装的是 `CC Switch.desktop`,名称不匹配后便回退为 `wayland` 占位图标。
任务栏图标仍可能正常,因为 Plasma 任务管理器还会通过 desktop 文件中的 `StartupWMClass=cc-switch` 匹配窗口。这不能修复 KWin 在窗口概览、Alt-Tab 和窗口高亮等位置的图标查找。
将 deb 或 rpm 安装包中的 desktop 文件名改为 `cc-switch.desktop`,与窗口 app id `cc-switch` 完全一致。保留 `Name=CC Switch` 作为面向用户显示的应用名称。
重新安装修改后的包后,在 KDE Plasma 的 Wayland 会话中检查窗口概览、Alt-Tab 和任务栏窗口高亮处是否显示 CC Switch 图标。
Affected Versions
Section titled “Affected Versions”Toolcc-switch
Version3.20.4(受影响)
PlatformsLinux
Source Issues
Section titled “Source Issues”本页汇总自 1 个真实 issue
(暂无 FAQ)
<thinking> 标签作为正文输出 Claude Code将 provider 的 apiFormat 从 openai_chat 改为 anthropic(若上游支持),可绕过内联 <thinking> 泄露。messages.content.type 参数非法 Claude Code多数相关 issue 仍未解决;升级到包含 #7656 修复的版本,使中文图片拒绝错误触发图片降级重试。Select Model 菜单仍然显示切换前模型列表 - Codex关闭现有 Codex 会话后运行 `codex app-server daemon restart`;升级 CC Switch 至 v4.0.7 以上可获得旧目录检测与重启提示。
这是一个非官方社区 wiki,与 cc-switch 作者及项目本身无隶属关系。内容整理自项目公开的 GitHub issues。本站不分发任何软件。