aws / aws/amazon-q-developer-cli

bug: Autocomplete Feature Not Working in iTerm2 (Quake Mode)

Đang mở
#528 2 bình luận 3 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
2k
Fork
439
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS 15.3 (24D60)

### Expected behaviour

The autocomplete feature should work as intended, displaying the autocomplete context menu with suggestions based on the current input.

### Actual behaviour

The autocomplete feature stops working, and the autocomplete context menu is not displayed. This issue seems to be related to how window focus is managed in Quake mode.

### Steps to reproduce

- Open iTerm2
- Configure a profile with the settings shown in the attached screenshots
- Ensure Quake mode is enabled
- Try to use the autocomplete feature of Fig/Q
- Quit iTerm2
- Open iTerm2 by pressing ⌘I
- Type `cd ` (no directories are displayed)

iterm2-settings-1

iterm2-settings-2

iterm2-settings-3

### Environment

```yaml
[q-details]
version = "1.6.0"
hash = "6d13844d6546a5c29e7e121450af1130eb189e7f"
date = "2025-01-09T00:47:39.704258Z (24d ago)"
variant = "full"

[system-info]
os = "macOS 15.3.0 (24D60)"
chip = "Apple M1 Pro"
total-cores = 10
memory = "32.00 GB"

[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "unknown"

[env-vars]
PATH = "/Users/USER/.krew/bin:/Users/USER/bin/node/bin:/opt/homebrew/opt/coreutils/libexec/gnubin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/USER/bin:/usr/local/opt/python/libexec/bin:/usr/local/Cellar/vim:/usr/local/opt/inetutils/libexec/gnubin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Privileges.app/Contents/MacOS:/Applications/Wireshark.app/Contents/MacOS:/Applications/VMware Fusion.app/Contents/Public:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin:/opt/homebrew/opt/fzf/bin:/Users/USER/go/bin"
QTERM_SESSION_ID = "f27b453255804550afeecb088f46a26f"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.6.0"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Reproduce the failure in iTerm2 Quake mode on macOS with the reported q 1.6.0 environment, using the documented q doctor and q restart checks. Trace the autocomplete behavior around window focus management; the work is done when typing `cd ` reliably displays directory suggestions after reopening iTerm2 with ⌘I.

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

Đánh giá

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

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.