Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

🐞 Suggestion window fails to draw

オープン
#351 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
swift
領域
desktop-dev

調査の方向性

まず、例のモック補完を使って問題を再現し、候補パネルを繰り返し表示・非表示できるようにします。報告された canBecomeKeyWindow 警告に関連する候補ウィンドウと viewmodel の処理を調査します。繰り返し使用した後も候補ウィンドウがレンダリングされ続け、ビューのレンダリングに失敗した場合は補完が挿入されなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

bug
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
  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

主要言語
Swift
スター
720
フォーク
162
PR マージ指標
30日以内にマージされた PR はありません

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeEditApp/CodeEditSourceEditor のほかの issue

CodeEditApp/CodeEditSourceEditor の issue をすべて見る

似ている issue

Swift の issue をもっと見る

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

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