🐞 Suggestion window fails to draw
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- swift
- 領域
- desktop-dev
調査の方向性
まず、例のモック補完を使って問題を再現し、候補パネルを繰り返し表示・非表示できるようにします。報告された canBecomeKeyWindow 警告に関連する候補ウィンドウと viewmodel の処理を調査します。繰り返し使用した後も候補ウィンドウがレンダリングされ続け、ビューのレンダリングに失敗した場合は補完が挿入されなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
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 <NSWindow: 0x401330240> 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
- Use the example with the mock completions for a longer period of time
- 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
- 主要言語
- Swift
- スター
- 720
- フォーク
- 162
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodeEditApp/CodeEditSourceEditor のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
CodeEditApp/CodeEditSourceEditor#377 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
CodeEditApp/CodeEditSourceEditor#376 · コメント 1 件 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
CodeEditApp/CodeEditSourceEditor#378 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
CodeEditApp/CodeEditSourceEditor の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
maxgoedjen/secretive#840 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
manaflow-ai/cmux#13763 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
openwallet-foundation/multipaz#2028 ·