[Bug] Typing into Raycast immediately after invoking it can leave an orphaned Pinyin candidate window and an unresponsive search field

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

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
52/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
swift
Lĩnh vực
desktop

Hướng nghiên cứu

Start by reading the Enhanced Mode floating-app detection and App Rules behavior described in the issue, then reproduce the steps with Raycast and Pinyin – Simplified. Compare the symptoms with #99 and PR #125, noting that the reported failure is in Raycast rather than the browser path. Done means the candidate window is dismissed or input switches before typing, and the search field remains responsive.

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

Mô tả

Summary

On my machine, an App Rule forces ABC for Raycast, and Enhanced Mode is on. If I invoke Raycast while Pinyin – Simplified is active and start typing immediately, the Pinyin candidate window sometimes appears before Input Source Pro switches to ABC. After the switch, the candidate window stays on screen and the Raycast search field stops responding. This does not happen on every attempt.

Environment
  • macOS 27.0 (26A428), Apple Silicon
  • Input Source Pro 2.12.0 (707)
  • Raycast 2.4.1.0
  • Input source: macOS built-in Pinyin – Simplified (com.apple.inputmethod.SCIM.ITABC)
Relevant preferences
App Rule:                   com.raycast.macos -> com.apple.keylayout.ABC
Enhanced Mode:              on (Settings -> System); Accessibility permission granted
System-wide default source: unset
Keyboard restore strategy:  Use Default Keyboard Instead
Steps to reproduce
  1. Enable Enhanced Mode (Settings -> System) and grant Accessibility permission.
  2. In App Rules, set Raycast's input source to ABC.
  3. Switch the current input source to Pinyin – Simplified.
  4. Invoke Raycast (bound to ⌘Space on my machine) and immediately type a letter (e.g. n), without waiting for the launcher to settle.
  5. On some attempts, the Pinyin candidate window appears first, then Input Source Pro switches to ABC.
Expected

Either the input source switches before Raycast accepts input, or the active Pinyin composition is cancelled cleanly, so the search field receives subsequent keystrokes normally.

Actual

After this sequence, the candidate window stays on screen and the Raycast search field is stuck:

  • Enter does nothing.
  • Delete / Backspace does nothing to the search field.
  • The only recovery I found is to toggle the input source manually; the candidate window then disappears and the field responds again.
Image
Related
  • #99 describes the same visible symptoms (orphaned candidate window, Enter/Delete unresponsive) in the Chrome address bar. It is closed (2026-08-08); PR #125 / commit 09851ef makes the address bar rule fire on focus and only changes the browser path. This report concerns a different path, where the problem is still present in 2.12.0.
  • #67 describes 0.5–1 s input lag when typing immediately after invoking Raycast. That is a different symptom, included here for context.
  • #92 describes a Vivaldi/Chromium freeze lasting 15–30 s on macOS 26 due to an IMKInputSession deadlock. That is also a different symptom, included here for context.
Additional observations
  • Reproduction is intermittent; I have not measured a reliable rate.
  • Input Source Pro handles Raycast through Enhanced Mode's floating-app detection. With Enhanced Mode off, Raycast is not managed. This explains the setup step; I am not claiming it is the root cause.
Ngôn ngữ chính
Swift
Star
3.6k
Fork
144
Merge trung bình
4 giờ 16 phút
Pull request đã merge (30 ngày)
3

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 runjuu/InputSourcePro

Tất cả issue của runjuu/InputSourcePro

Issue tương tự

Thêm issue về Swift

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.