CodeEditApp / CodeEditApp/CodeEditSourceEditor

🐞 Suggestion window fails to draw

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

Mô tả

### Description

Everytime after using the editor with the suggestion feature for a short period of time (5-15 appereances of the panel), the panel window just doesnt appear anymore, but pressing "TAB" or "ENTER" still inserts suggestions at the cursor.

In the XCode console I get:

`Warning: -[NSWindow makeKeyWindow] called on windowNumber=151f8 which returned NO from -[NSWindow canBecomeKeyWindow].`

This happens for the latest version still, **with** the new "Suggestion Window Fixes" PR merged.

### To Reproduce

1. Use the example with the mock completions for a longer period of time
2. Let the panel appear and disappear 10-20x

### Expected Behavior

The suggestions window should always render, and IF something fails to render, the viewmodel should refrain from inserting completions.

### Version Information

CodeEditSourceEditor: latest main branch
macOS: 15.5 (24F74)
Xcode: 16.4 (16F6)

### Additional Context

_No response_

### Screenshots

_No response_

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

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.