Linux Desktop: Rapid workspace switching triggers Kimi attention requests in GNOME
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- desktop
调研方向
Start by locating the desktop window focus and attention handling code, then trace what happens when the window briefly gains or loses focus during workspace switching on GNOME/Wayland. Reproduce with rapid and slow workspace switches using the reported Kimi Code Desktop 1.4.0 environment; done means rapid switching no longer requests attention or pulls GNOME back to Kimi's workspace.
由索引模型根据 Issue 内容生成。
描述
What version of Kimi Code is running?
1.4.0
Which open platform/subscription were you using?
kimi.ai
Which model were you using?
k 3.1 pro
What platform is your computer?
Linux 7.0.0-43-generic x86_64 unknown
What issue are you seeing?
On GNOME/Wayland, rapidly switching workspaces with Meta+Page Up / Meta+Page Down causes Kimi Code Desktop to send unwanted window-attention requests. This produces notifications and makes GNOME automatically switch back to the workspace containing Kimi.
The issue does not occur when switching workspaces slowly.
Environment
- Kimi Code Desktop: 1.4.0 (AppImage)
- OS: Ubuntu 26.04
- GNOME Shell: 50.1
- Session: Wayland
What steps can reproduce the bug?
- Launch Kimi Code Desktop in one workspace and some other apps on other workspaces.
- Rapidly switch between workspaces using
Meta+Page UporMeta+Page Down. - Observe that GNOME jumps back to Kimi's workspace, sometimes with attention notifications.
- Repeat the same workspace switches slowly and observe that the issue does not occur.
What is the expected behavior?
Kimi should not request attention or change the selected workspace when its window briefly gains or loses focus during rapid workspace switching.
Additional information
Actual Behavior: Rapid workspace switching triggers attention requests and pulls the user back to Kimi's workspace. Slow workspace switching works normally.
Troubleshooting
- Disabled notifications in Kimi's settings: no change.
- Disabled Kimi notifications in GNOME Settings: notifications stopped, but workspace switching continued.
- Set
org.gnome.desktop.wm.preferences focus-new-windowstostrict: no change.
Contribution
- I am willing to submit a PR for this bug fix myself (please wait for maintainer approval in this issue first)
- 主要语言
- TypeScript
- 星标
- 8.3k
- 派生
- 1.4k
- 平均合并
- 12 小时 6 分钟
- 30 天内合并 PR
- 596
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MoonshotAI/kimi-code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
MoonshotAI/kimi-code#5539 ·
维护者通常 1 天内回复
-
[Bug] Kimi RC workspace folder picker does not display symbolic link directories可能已有人在做 @markankamaransheogarat-sys 于 2 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 62/100
MoonshotAI/kimi-code#5296 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
MoonshotAI/kimi-code#5256 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
MoonshotAI/kimi-code#5062 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
MoonshotAI/kimi-code#5057 ·
维护者通常 1 天内回复
查看 MoonshotAI/kimi-code 的全部 Issue
相似的 Issue
-
Add Alice&Bot未关闭
难度 1/5 1 小时以内 新手友好度 72/100
slavakurilyak/awesome-ai-agents#1048 ·
-
bot:ai-assisted component:faucet github_actions security status:untriaged
难度 2/5 1-3 小时 新手友好度 86/100
midnightntwrk/midnight-faucet-api#215 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 82/100
NanmiCoder/cc-haha#2034 · 1 条评论 ·
维护者通常 1 天内回复
-
mobile prio:low
难度 2/5 1-3 小时 新手友好度 70/100
digitalfabrik/entitlementcard#3324 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复