Linux Desktop: Rapid workspace switching triggers Kimi attention requests in GNOME
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- desktop
Research direction
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.
Written by the indexing model from the issue text.
Description
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)
- Dominant language
- TypeScript
- Stars
- 8.3k
- Forks
- 1.4k
- Avg merge
- 12h 6m
- Merged PRs (30d)
- 596
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MoonshotAI/kimi-code
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
MoonshotAI/kimi-code#5539 ·
Maintainers usually reply within 1 day
-
[Bug] Kimi RC workspace folder picker does not display symbolic link directoriesPossibly taken @markankamaransheogarat-sys claimed this 2 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
MoonshotAI/kimi-code#5296 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MoonshotAI/kimi-code#5256 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MoonshotAI/kimi-code#5062 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
MoonshotAI/kimi-code#5057 ·
Maintainers usually reply within 1 day
All issues in MoonshotAI/kimi-code
Similar issues
-
Add Alice&BotOpen
Difficulty 1/5 Under an hour Newbie friendliness 72/100
slavakurilyak/awesome-ai-agents#1048 ·
-
bot:ai-assisted component:faucet github_actions security status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
midnightntwrk/midnight-faucet-api#215 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NanmiCoder/cc-haha#2034 · 1 comment ·
Maintainers usually reply within 1 day
-
mobile prio:low
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
digitalfabrik/entitlementcard#3324 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day