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

Đang mở
#5,151 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)
Ngôn ngữ chính
TypeScript
Star
8.3k
Fork
1.4k
Merge trung bình
12 giờ 6 phút
Pull request đã merge (30 ngày)
596

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MoonshotAI/kimi-code

Tất cả issue của MoonshotAI/kimi-code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.