Linux Desktop: Rapid workspace switching triggers Kimi attention requests in GNOME

Ouverte
#5,151 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript
Domaine
desktop

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

bug
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?
  1. Launch Kimi Code Desktop in one workspace and some other apps on other workspaces.
  2. Rapidly switch between workspaces using Meta+Page Up or Meta+Page Down.
  3. Observe that GNOME jumps back to Kimi's workspace, sometimes with attention notifications.
  4. 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-windows to strict: no change.
Contribution
  • I am willing to submit a PR for this bug fix myself (please wait for maintainer approval in this issue first)
Langage dominant
TypeScript
Étoiles
8.3k
Forks
1.4k
Merge moyen
12 h 6 min
PR mergées (30 j)
596

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de MoonshotAI/kimi-code

Toutes les issues de MoonshotAI/kimi-code

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.