CodeEditApp / CodeEditApp/CodeEditSourceEditor

🐞 Suggestion window fails to draw

オープン
#351 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Swift
スター
719
フォーク
160
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。